mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
use square directly
This commit is contained in:
@@ -10,9 +10,9 @@ module joint_T(shaft_r, shaft_h, t_leng, ring_thickness, spacing) {
|
|||||||
translate([0, 0, shaft_h - ring_height])
|
translate([0, 0, shaft_h - ring_height])
|
||||||
linear_extrude(ring_height) joint_ring();
|
linear_extrude(ring_height) joint_ring();
|
||||||
|
|
||||||
translate([0, 0, shaft_h / 2])
|
translate([t_leng / 2, 0, shaft_h / 2])
|
||||||
linear_extrude(shaft_h / 3, center = true)
|
linear_extrude(shaft_h / 3, center = true)
|
||||||
line2d([0, 0], [t_leng, 0], shaft_r * 2, p1Style = "CAP_BUTT", p2Style = "CAP_BUTT");
|
square([t_leng, shaft_r * 2], center = true);
|
||||||
|
|
||||||
linear_extrude(shaft_h) circle(shaft_r);
|
linear_extrude(shaft_h) circle(shaft_r);
|
||||||
}
|
}
|
Reference in New Issue
Block a user