1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 09:44:16 +02:00

to3d to avoid warning

This commit is contained in:
Justin Lin
2019-06-15 10:42:08 +08:00
parent e2771ca01c
commit c75bf8bfee

View File

@@ -100,7 +100,8 @@ module along_with(points, angles, twist = 0, scale = 1.0, method = "AXIS_ANGLE")
}
module axis_angle_align_with_pts_init(a, s) {
angleyz = __angy_angz(points[0], points[1]);
angleyz = __angy_angz(__to3d(points[0]), __to3d(points[1]));
rotate([0, -angleyz[0], angleyz[1]])
rotate([90, 0, -90])
rotate(a)