mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 02:34:12 +02:00
add center
This commit is contained in:
@@ -10,7 +10,7 @@ function arc_great_circle(p1, p2, center = [0, 0, 0]) =
|
||||
)
|
||||
steps == 0 ? [p1, p2] :
|
||||
let(a_step = a / steps)
|
||||
[for(i = [0:steps]) ptf_rotate(p1, a_step * i, normal_vt)];
|
||||
[for(i = [0:steps]) ptf_rotate(p1, a_step * i, normal_vt) + center];
|
||||
|
||||
/*
|
||||
use <experimental/arc_great_circle.scad>
|
||||
|
Reference in New Issue
Block a user