This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class Wireframe : MonoBehaviour | |
| { | |
| Mesh myMesh; | |
| Mesh newMesh, newMeshBackground; | |
| Vector3[] myVertices; | |
| int[] myTriangles; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys, os | |
| import shutil | |
| import math | |
| import itertools | |
| from copy import deepcopy | |
| # 0 1 2 3 4 5 6 | |
| LIST_elmt = [" ("," (start ",") (end ",") "," (layer ",") ","))"] | |
| #LIST_elmt = [" (gr_line (start 131.571908 182.314571) (end 112.874456 120.68499) (angle 90) (layer Dwgs.User) (width 0.1))"] | |
| #LIST_elmt = [" (segment (start 118.7 106.7) (end 119.4 106.7) (width 0.25) (layer B.Cu) (net 0))"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.IO.Ports; | |
| using System.Threading; | |
| public class SerialHandler : MonoBehaviour | |
| { | |
| public delegate void SerialDataReceivedEventHandler(string message); | |
| public event SerialDataReceivedEventHandler OnDataReceived; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Iconizer shell script by Steve Richey (srichey@floatlearning.com) | |
| # | |
| # This is a simple tool to generate all necessary app icon sizes and the JSON file for an *EXISTING* Xcode project from one file. | |
| # To use: specify the path to your vector graphic (PDF format) and the path to your Xcode folder containing Images.xcassets | |
| # Example: sh iconizer.sh MyVectorGraphic.pdf MyXcodeProject | |
| # | |
| # Requires ImageMagick: http://www.imagemagick.org/ |
NewerOlder