mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-26 16:04:46 +02:00
format
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user