|
Ubicación en el Menú |
---|
Sketch → Restricciones de croquis → Restricción de coincidencia |
Entornos de trabajo |
Sketcher |
Atajo de teclado por defecto |
C |
Introducido en versión |
- |
Ver también |
Restricción de bloqueo, Punto en objeto |
The Sketcher ConstrainCoincident tool creates a coincident constraint between points, or (introduced in version 0.21) a concentric constraint between circles, arcs and/or ellipses (by making their centers coincident).
introduced in version 1.0: This tool is replaced by the Sketcher ConstrainCoincidentUnified tool if the Unify Coincident and PointOnObject option is selected in the preferences.
See also: Drawing aids.
The constraint can be created from macros and from the Python console by using the following command:
Sketch.addConstraint(Sketcher.Constraint('Coincident',LineFixed,PointOfLineFixed,LineMoving,PointOfLineMoving))
where :
Sketch
is a sketch objectLineFixed
is the number of the line, that will not move by applying the constraintPointOfLineFixed
indicates which vertex of LineFixed
has to fulfill the constraintLineMoving
is the number of the line, that will move by applying the constraintPointOfLineMoving
indicates which vertex of LineMoving
has to fulfill the constraintAs the names LineFixed
and LineMoving
indicate, if both constrained vertices are free to move in any direction, the first one (first to be selected in the Gui) will remain fixed and the other one will move. In the presence of existing constraints, however, both edges may move.
The Sketcher scripting page explains the values which can be used for LineFixed
, PointOfLineFixed
, LineMoving
and PointOfLineMoving
, and contains further examples on how to create constraints from Python scripts.