From a6c3e1ee8a44b1f5ecd2c9a72d4c0b36f570845e Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 26 Sep 2019 07:26:07 +0800 Subject: [PATCH] use square directly --- src/part/joint_T.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/part/joint_T.scad b/src/part/joint_T.scad index 296dd75e..d291ee61 100644 --- a/src/part/joint_T.scad +++ b/src/part/joint_T.scad @@ -10,9 +10,9 @@ module joint_T(shaft_r, shaft_h, t_leng, ring_thickness, spacing) { translate([0, 0, shaft_h - ring_height]) linear_extrude(ring_height) joint_ring(); - translate([0, 0, shaft_h / 2]) - linear_extrude(shaft_h / 3, center = true) - line2d([0, 0], [t_leng, 0], shaft_r * 2, p1Style = "CAP_BUTT", p2Style = "CAP_BUTT"); + translate([t_leng / 2, 0, shaft_h / 2]) + linear_extrude(shaft_h / 3, center = true) + square([t_leng, shaft_r * 2], center = true); linear_extrude(shaft_h) circle(shaft_r); } \ No newline at end of file