Created
February 12, 2014 21:48
-
-
Save GilesBathgate/8965203 to your computer and use it in GitHub Desktop.
Simple numbers
This file contains 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
module one() { | |
polyline([[0.25,1.2],[0.5,1.6],[0.5,0]]); | |
} | |
module two(){ | |
//need to reverse order | |
polyline([[1.0,0],[0,0],[0,0.6],[0.25,0.8],[0.75,0.8],[1.0,1.0],[1.0,1.4],[0.75,1.6],[0.25,1.6],[0,1.4]]); | |
} | |
module three() { | |
polyline([[0,1.4],[0.25,1.6],[0.75,1.6],[1.0,1.4],[1.0,1.0],[0.75,0.8],[1.0,0.6],[1.0,0.2],[0.75,0],[0.25,0],[0,0.2]]); | |
polyline([[0.25,0.8],[0.75,0.8]]); | |
} | |
module four() { | |
polyline([[0.75,0],[0.75,1.6],[0,0.6],[1,0.6]]); | |
} | |
module five() { | |
polyline([[1.0,1.6],[0,1.6],[0,0.8],[0.75,0.8],[1.0,0.6],[1.0,0.2],[0.75,0],[0.25,0],[0,0.2]]); | |
} | |
module six() { | |
polyline([[1.0,1.4],[0.75,1.6],[0.25,1.6],[0,1.4],[0,0.2],[0.25,0],[0.75,0],[1.0,0.2],[1.0,0.6],[0.75,0.8],[0,0.8]]); | |
} | |
module seven() { | |
polyline([[0,1.6],[0.75,1.6],[1,1.4],[0,0]]); | |
} | |
module eight() { | |
polyline([[0.25,0.8],[0,1],[0,1.4],[0.25,1.6],[0.75,1.6],[1,1.4],[1,1],[0.75,0.8],[0.25,0.8],[0,0.6],[0,0.2],[0.25,0],[0.75,0],[1,0.2],[1,0.6],[0.75,0.8]]); | |
} | |
module nine() { | |
polyline([[1,1],[0.75,0.8],[0.25,0.8],[0,1],[0,1.4],[0.25,1.6],[0.75,1.6],[1,1.4],[1,0]]); | |
} | |
translate([-12,0,0]) one(); | |
translate([-10.5,0,0]) two(); | |
translate([-9,0,0]) three(); | |
translate([-7.5,0])four(); | |
translate([-6,0,0])five(); | |
translate([-4.5,0,0])six(); | |
translate([-3,0,0])seven(); | |
translate([-1.5,0,0])eight(); | |
nine(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment