From 61faa5ae061b5bdb0737858c1b25c432afde939b Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 20 Jul 2021 13:32:34 +0800 Subject: [PATCH] fix CG error --- examples/spiral/dragon.scad | 2 +- examples/turtle/hilbert_dragon.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/spiral/dragon.scad b/examples/spiral/dragon.scad index 938675bb..01a1e57f 100644 --- a/examples/spiral/dragon.scad +++ b/examples/spiral/dragon.scad @@ -104,7 +104,7 @@ module head(angy_angz) { } module mouth() { - path1 = curve(0.4, [[0, -8, -1], [0, -11, 0], [0, -12, 5], [0, -9, 5], [0, -4, 6], [0, -0.5, 8], [0, 5, 6.5], [0, 8, 6], [0, 12, 0], [0, 16, 0]]); + path1 = curve(0.4, [[0, -8, -1], [0, -11, .25], [0, -12, 5], [0, -9, 5], [0, -4, 6], [0, -0.5, 8], [0, 5, 6.5], [0, 8, 6], [0, 12, 1], [0, 16, 0]]); path2 = [for(p = path1) ptf_rotate(p, [0, -12, 0]) * 0.9 + [-2, 0, 0]]; path3 = [for(i = [0:len(path1) - 1]) [-i / 6 - 1.5, i / 1.65 - 9, 0]]; path4 = [for(p = path3) [-p[0], p[1], p[2]]]; diff --git a/examples/turtle/hilbert_dragon.scad b/examples/turtle/hilbert_dragon.scad index 4fc29d0a..458b254e 100644 --- a/examples/turtle/hilbert_dragon.scad +++ b/examples/turtle/hilbert_dragon.scad @@ -105,7 +105,7 @@ module hilbert_dragon() { } module mouth() { - path1 = curve(0.4, [[0, -8, -1], [0, -11, 0], [0, -12, 5], [0, -9, 5], [0, -4, 6], [0, -0.5, 8], [0, 5, 6.5], [0, 8, 6], [0, 12, 0], [0, 16, 0]]); + path1 = curve(0.4, [[0, -8, -1], [0, -11, .25], [0, -12, 5], [0, -9, 5], [0, -4, 6], [0, -0.5, 8], [0, 5, 6.5], [0, 8, 6], [0, 12, 1], [0, 16, 0]]); path2 = [for(p = path1) ptf_rotate(p, [0, -12, 0]) * 0.9 + [-2, 0, 0]]; path3 = [for(i = [0:len(path1) - 1]) [-i / 6 - 1.5, i / 1.65 - 9, 0]]; path4 = [for(p = path3) [-p[0], p[1], p[2]]];