From 734bf0fceb6a615586c5181020eb7394795b1434 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Fri, 10 Jul 2020 21:43:26 +0800 Subject: [PATCH] simplify --- examples/dragon.scad | 9 +++------ examples/turtle/hilbert_dragon.scad | 8 +++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/examples/dragon.scad b/examples/dragon.scad index cdcbc7ad..aea61e8e 100644 --- a/examples/dragon.scad +++ b/examples/dragon.scad @@ -130,19 +130,17 @@ module head(angy_angz) { translate([-5.5, 3.5, -2.5]) rotate([-15, 0, 75]) - sphere(0.5, $fn = 12); + sphere(0.5, $fn = 8); } module one_beard() { translate([-11, -12, -11]) rotate(180) - linear_extrude(10, scale = 0, twist = 90) + linear_extrude(10, scale = 0.2, twist = 90) translate([-10, -10, 0]) - circle(0.75, $fn = 6); + circle(1, $fn = 6); } - - rotate([0, angy_angz[0] + 15, angy_angz[1]]) translate([0, 0, -25 / 2]) scale(1.15) { @@ -186,7 +184,6 @@ module dragon() { angy_angz = __angy_angz(path_pts[0], path_pts[1]); - scale(1.1) along_with(path_pts, scale = 0.85, method = "EULER_ANGLE") one_segment(); diff --git a/examples/turtle/hilbert_dragon.scad b/examples/turtle/hilbert_dragon.scad index 9cf4987c..027e7b80 100644 --- a/examples/turtle/hilbert_dragon.scad +++ b/examples/turtle/hilbert_dragon.scad @@ -131,19 +131,17 @@ module hilbert_dragon() { translate([-5.5, 3.5, -2.5]) rotate([-15, 0, 75]) - sphere(0.5, $fn = 12); + sphere(0.5, $fn = 8); } module one_beard() { translate([-11, -12, -11]) rotate(180) - linear_extrude(10, scale = 0, twist = 90) + linear_extrude(10, scale = 0.2, twist = 90) translate([-10, -10, 0]) - circle(0.75, $fn = 6); + circle(1, $fn = 6); } - - rotate([0, angy_angz[0] + 15, angy_angz[1]]) translate([0, 0, -25 / 2]) scale(1.15) {