mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 10:44:48 +02:00
refactor
This commit is contained in:
@@ -93,8 +93,7 @@ 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(pts[0], pts[1]);
|
angleyz = __angy_angz(pts[0], pts[1]);
|
||||||
rotate([0, -angleyz[0], angleyz[1]])
|
rotate([0, -angleyz[0], angleyz[1]])
|
||||||
rotate([0, 0, -90])
|
rotate([0, 0, a - 90])
|
||||||
rotate(a)
|
|
||||||
scale(s)
|
scale(s)
|
||||||
children(0);
|
children(0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user