From 0fc52bd0236868f80d52aa85d9a1a704143006c6 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Thu, 26 Sep 2019 08:17:10 +0800 Subject: [PATCH] format --- src/line2d.scad | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/line2d.scad b/src/line2d.scad index 654d09c1..fe2bff94 100644 --- a/src/line2d.scad +++ b/src/line2d.scad @@ -21,8 +21,8 @@ module line2d(p1, p2, width, p1Style = "CAP_SQUARE", p2Style = "CAP_SQUARE") { module square_end(point) { translate(point) - rotate(atan_angle) - square(width, center = true); + rotate(atan_angle) + square(width, center = true); // hook for testing test_line2d_cap(point, "CAP_SQUARE"); @@ -30,8 +30,8 @@ module line2d(p1, p2, width, p1Style = "CAP_SQUARE", p2Style = "CAP_SQUARE") { module round_end(point) { translate(point) - rotate(atan_angle) - circle(half_width, $fn = frags); + rotate(atan_angle) + circle(half_width, $fn = frags); // hook for testing test_line2d_cap(point, "CAP_ROUND"); @@ -44,9 +44,9 @@ module line2d(p1, p2, width, p1Style = "CAP_SQUARE", p2Style = "CAP_SQUARE") { } translate(p1) - rotate(atan_angle) - translate([0, -width / 2]) - square([leng, width]); + rotate(atan_angle) + translate([0, -width / 2]) + square([leng, width]); if(p2Style == "CAP_SQUARE") { square_end(p2);