kcl-std → functions → mirror2d

mirror2dFunction in std::transform

Mirror a sketch.

Mirror occurs around a local sketch axis rather than a global axis.

Arguments

NameTypeDescriptionRequired
sketches[Sketch; 1+]The sketch or sketches to be reflected.Yes
axisAxis2d or EdgeThe axis to reflect around.Yes

Returns

Sketch - A sketch is a collection of paths.

Examples

Found a typo?