Created
October 23, 2019 00:14
-
-
Save patmandenver/e2264885b06e1553ae2a64a324ef7a3e to your computer and use it in GitHub Desktop.
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
$fn=40; | |
tacos(2); | |
height = 60; //(9) | |
width_full = 36; //(5.5) | |
width_top = 16.5; // (2.5) | |
width_bottom = 10; // (1.5) | |
thickness = 2; | |
length=40; | |
module taco_half() { | |
polygon(points=[ | |
[0,height], | |
[width_full - width_top,height], | |
[width_full - width_bottom, thickness], | |
[width_full, thickness], | |
[width_full, 0], | |
[width_full - width_bottom - thickness, 0], | |
[width_full - width_top - thickness, height - thickness], | |
[0, height - thickness], | |
[0,0] | |
]); | |
} | |
module taco(){ | |
taco_half(); | |
translate([2*width_full,0,0]){ | |
mirror(v= [1, 0, 0] ){ | |
taco_half(); | |
} | |
} | |
} | |
module tacos(num_tacos){ | |
linear_extrude(length){ | |
for (a =[1:num_tacos]){ | |
translate([(a-1)*((2*width_full) - (width_full - width_top)/2), | |
0,0]){ | |
taco(); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment