1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-26 16:04:46 +02:00
This commit is contained in:
Justin Lin
2019-09-26 08:53:47 +08:00
parent ea0fee1148
commit e4ac6dcb98
35 changed files with 500 additions and 456 deletions

View File

@@ -52,9 +52,12 @@ module triangle2square_box(type, tri_side_leng, height, spacing, ring_width, sha
}
else if(type == "COVER") {
box_extrude(height = ring_width * 2, shell_thickness = ring_width)
mirror([1, 0, 0])
offset(-ring_width - spacing) 2d_tri_square();
linear_extrude(ring_width) mirror([1, 0, 0]) 2d_tri_square();
mirror([1, 0, 0])
offset(-ring_width - spacing) 2d_tri_square();
linear_extrude(ring_width)
mirror([1, 0, 0])
2d_tri_square();
}
}

View File

@@ -56,8 +56,8 @@ difference() {
if(chain_hole == "YES") {
translate([spacing * 1.5, spacing, height / 2])
linear_extrude(chain_hole_width, center = true)
hollow_out(chain_hole_width)
circle(shaft_r + spacing + chain_hole_width);
hollow_out(chain_hole_width)
circle(shaft_r + spacing + chain_hole_width);
}
}