|
|
| Menu location |
|---|
| Sketch → Constraints → Symmetric Constraint |
| Workbenches |
| Sketcher |
| Default shortcut |
| S |
| Introduced in version |
| - |
| See also |
| None |
Инстументът Sketcher ConstrainSymmetric ограничава две точки, да бъдат симетрични относно линия или ос, или относно трета точка.
Вижте още: Помощни средства за чертане.
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.