1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-26 16:04:46 +02:00

fix rotation bug

This commit is contained in:
Justin Lin
2022-03-30 09:17:27 +08:00
parent af87c89ecc
commit 96c9cfc0c4
4 changed files with 20 additions and 12 deletions

View File

@@ -42,7 +42,6 @@ module hilbert_dragon() {
one_body_scale_data = one_body_scale(body_r, body_fn, scale_fn, scale_tilt_a);
along_with(dragon_body_path, scale = [0.425, 0.6, 0.425])
rotate([90, 0, 0])
scale(0.035)
one_segment(body_r, body_fn, one_body_scale_data);

View File

@@ -129,7 +129,7 @@ module infinity_dragon() {
one_body_scale_data = one_body_scale(body_r, body_fn, scale_fn, scale_tilt_a);
along_with(body_path, scale = [0.45, 0.7, 0.45])
rotate([90, 90, 0])
rotate([0, 0, -90])
one_segment(body_r, body_fn, one_body_scale_data);
ayz = __angy_angz(body_path[leng_body_path - 2], body_path[leng_body_path - 1]);