Created
May 31, 2016 20:03
-
-
Save chuckis/2d1fd3d3e5d65d8e9afbb23ffa35b414 to your computer and use it in GitHub Desktop.
pattern of lad-pad.
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 romb() { | |
scale ([1, 1, 1]) rotate ([20, 0, 0]) cube([5, 3, 1], center=true); | |
} | |
//diamond_rombs.scad | |
module diamond(){ | |
rotate ([0, 0, -45]) { | |
for(i= [0 : 3]){ | |
union(){ translate ([0, i - (i * 0.3), 0]) scale ([1, 1.2, 0.6]) romb();} | |
} | |
} | |
} | |
module row_d(){ | |
for (x=[0: 10]) {translate([x+(x * 0.7), 0, 0]) diamond(); | |
} | |
} | |
row_d(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment