• API
• FAQ
• Tools
• Archive
SHARE
TWEET

# Untitled

a guest Apr 20th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
2. //linear_extrude(height=1, center=true)
3.  //   import(file= "drawing3.dxf");
8.
9.
10. \$cross_width = 60;
11. \$cross_height = 400;
12. \$cross_depth = 40;
13.
14. //translate([-27.5, -5, 12]) chamferCube(100, 100, 100, 4);
15.
16. module joiner(size) {
17.     translate([-\$cross_width/2, \$cross_height/2 + 10, 0]) {
18.         rotate(45, [0, 0, 1]) {
19.             cuboid([\$cross_width/2, size, \$cross_depth], chamfer=5, center=true);
20.         }
21.     }
22.      translate([\$cross_width/2, \$cross_height/2 + 10, 0]) {
23.         rotate(-45, [0, 0, 1]) {
24.             cuboid([\$cross_width/2, size, \$cross_depth], chamfer=5, center=true);
25.         }
26.     }
27. }
28.
29. union () {
30.     cuboid([\$cross_width, \$cross_height, \$cross_depth], chamfer=5, center=true);
31.     translate([0, 0, 0]) {
32.         rotate(90, [0, 0, 1]) {
33.             cuboid([\$cross_width, \$cross_height, \$cross_depth], chamfer=5, center=true);
34.         }
35.     }
36.     \$joiner_size = 150;
37.     joiner(\$joiner_size);
38.     yflip() {
39.         joiner(\$joiner_size);
40.     }
41.     rotate(90, [0, 0, 1]) {
42.         joiner(\$joiner_size);
43.         yflip() {
44.             joiner(\$joiner_size);
45.         }
46.     }
47.
48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top