Skip to content

Instantly share code, notes, and snippets.

@chuckis
Created June 1, 2016 15:30
Show Gist options
  • Save chuckis/f8d73c4318b0a5ab1fd715d60ff9442a to your computer and use it in GitHub Desktop.
Save chuckis/f8d73c4318b0a5ab1fd715d60ff9442a to your computer and use it in GitHub Desktop.
part of inner pad
module one-romb() {
scale ([1, 0.7, 1]) rotate ([45, 0, 0]) cube([30, 1, 1], center=true);
}
//lad-rombs.scad
module lad-rombs() {
for(i= [1 : 30]){
union(){translate ([0, i - (i * 0.3), 0]) one-romb();}
}
}
module tu-rombs(){
union(){
translate([10, 5 , 0]) rotate([0, 0, 70]) lad-rombs();
lad-rombs();
}
}
//tu-rombs(); on z-axis [-0.7 0.7]
difference(){
linear_extrude(height=2) {
hull () {
translate ([0, 5, 0]) circle (5.5, center=true);
square ([11, 10], center=true);
}
}
translate([10, -3, 2]) rotate ([0, 0, 55]) tu-rombs();
}
//on z-axis [0 0.9]
linear_extrude(height=0.9) {
hull () {
translate ([0, 4.88, 0]) circle ( 6.12, center=true);
square ([ 12.24, 11 ], center=true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment