|
Menu location |
---|
Sketch → Sketcher constraints → Constrain symmetric |
Workbenches |
Sketcher |
Default shortcut |
S |
Introduced in version |
- |
See also |
None |
The Sketcher ConstrainSymmetric tool constrains two points to be symmetrical around a line or axis, or around a third point.
See also: Drawing aids.
Two points and a symmetry line:
Sketch.addConstraint(Sketcher.Constraint('Symmetric', Line1, PointOfLine1, Line2, PointOfLine2, SymmetryLine))
Two points and a symmetry point:
Sketch.addConstraint(Sketcher.Constraint('Symmetric', Line1, PointOfLine1, Line2, PointOfLine2, LineS, PointOfLineS))
A line and a symmetry point (In the GUI one can select a line and a point, but it uses internally the same form as above, with the two extremities of the same line):
Sketch.addConstraint(Sketcher.Constraint('Symmetric', Line, 1, Line, 2, LineS, PointOfLineS))
The Sketcher scripting page explains the values which can be used for Line1
, Line2
, LineS
, Line
, PointOfLine1
, PointOfLine2
and PointOfLineS
, and contains further examples on how to create constraints from Python scripts.