For version 0.7.0.

Circles and circular arcs in 3^{d} are basically constructed by immersing a 2^{d} circle or arc, and then move it to the right location. This extension provides 3^{d} wrappers of the 2^{d} counterparts in ..Shapes..Geometry / circle.

generic_arc3D | |
---|---|

arc2D::§Function z0::§Coords3D zStart::§Coords3D zEnd::§Coords3D r::§Length → §Path | |

Dynamic references: | none |

The argument arc2D should be a function accepting the same arguments as, for instance, ..Shapes..Geometry..ccw_arc.
This function computes the transform that maps the plane spanned by z0, zStart, and zEnd, to a plane through the origin, normal to the z direction. Using this transform in combination with view, the task of constructing arcs is moved from 3
^{d} to 2^{d}, where the arc is constructed using arc2D, and then the result is immersed and mapped back the the right position in 3^{d}.The orientation of the intermediate 2
^{d} representation is chosen to ensure that rotation about z0 from the direction to zStart to zEnd becomes counter-clockwise in 2^{d}.The cuts of this function obtained by using ..Shapes..Geometry..ccw_arc or ..Shapes..Geometry..cw_arc are bound to separate variables.
| |

See also: | ccw_arc3D cw_arc3D |