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:
@@ -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) {
|
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([0, -angleyz[0], angleyz[1]])
|
||||||
rotate([90, 0, -90])
|
rotate([90, 0, -90])
|
||||||
rotate(a)
|
rotate(a)
|
||||||
|
Reference in New Issue
Block a user