Makeathon ends in00:00:00:00
Docs Home
/
KCL Standard Library
/
Functions
/
Std Solver Symmetric

solver::symmetricFunction in std::solver

Constrain two points, lines, arcs, or circles to be symmetric across an axis line.

Supported homogeneous input pairs:

  • Point / Point
  • Line / Line
  • CircularArc / CircularArc
  • Circle / Circle

Symmetric Lines are at opposite angles (reflected across the axis). Symmetric CircularArcs have equal diameters and centers. Note that the Symmetric constraint does not affect the position (i.e. the start and end points) of Lines or Arcs. To make their positions symmetric too, add another Symmetric constraint on their start and endpoints.

Arguments

NameTypeDescriptionRequired
input[Segment; 2]Exactly two points, lines, arcs, or circles of the same kind.Yes
axisSegmentThe line to mirror across.Yes

Examples

Found a typo?