Library
Module
Module type
Parameter
Class
Class type
Configuration module with types and helpers for specifying path roundovers.
Full roundover specification for a path, either given as a mixed list of pairs of coordinates and corner
specifications that apply to them, or a single spec to be applied to all corners of the included path.
bez ?curv spec
Create a continuous curvature corner
specification. curv
sets the smoothness of bezier curvature (default = 0.5
).
mix l
Wrap a list of points paired with (optional) corner specifications as a t
. Note that it is the users responsibility to leave the specs for the first and last points as None
if they intend to treat the path as open.
flat ?closed ~corner path
Create a roundover specification that will apply corner
to each of the points in path
(other than the first and last points if closed
is false
, default = true
).
chamfers ~kind spec_pts
Create an all chamfer t
specification, with variable amplitude of the given kind
paired with each point of the path.
circles ~kind spec_pts
Create an all circular t
specification, with variable amplitude of the given kind
paired with each point of the path.
bezier ?curv ~kind spec_pts
Create an all continuour curvature t
specification, with variable amplitude of the given kind
paired with each point of the path. Curvature smoothness of all roundovers is set by curv
(default = 0.5
). If variable smoothness is desired, bez
and mix
may be used in conjunction to achieve it.