Using Geometric Constraints

A geometric constraint is a non-numerical relationship between the parts of a geometric figure.

Geometric constraints:

When a geometric constrained is applied to an entity:

In the image below the endpoints of the three lines and the arc are joined by coincident constraints. The midpoint of the circle and the arc are made concentric. Two lines are forced to be tangent to the arc. One line has a vertical constraint (= parallel to the Y-axis of the current coordinate system), one line has a horizontal constraint (= parallel to the X-axis of the current coordinate system)

 

To control the display of constraint bars

  1. Click the 2D Constraint bar tool button () on the 2D Constraints toolbar.
    The command bar reads: Select option to [Show/Hide/Reset] constraints:

    A prompt menu displays:


     

  2. Do one of the following:

  3. Choose Hide or Show in the context menu.

  4. Type H or S in the command bar, then press Enter.

The command bar reads: Select entities:

  1. Select entities, then press Enter.

 

NOTE

Constraint bars are always hidden when opening a drawing.

To control the position of a constraint bar

By default constraint glyph bars are created close to the midpoint of the entity and are kept at that relative position when the entity position changes. You can drag the constraint bar to a different location. This new relative position is then maintained until the Reset option of the CONSTRAINTBAR command restores the default position of the constraint bar.

 

To relocate a constraint bar:

  1. Place the cursor on the constraint bar.

  2. Press and hold the left mouse button to move the constraint bar.

  3. Release the left mouse button at the desired location.

To restore the default position of the constraint bars:

  1. Click the 2D Constraint bar tool button () on the 2D Constraints toolbar.
    The command bar reads: Select option to [Show/Hide/Reset] constraints:

    A prompt menu displays:

  2. Do one of the following:

  3. Choose Reset in the prompt menu.

  4. Type R in the command bar, then press Enter.

The command bar reads: Select entities:

  1. Select entities, then press Enter.

Working with the constraint bar

Using the  constraint bar you can:

Deleting constraints

To delete a single constraint: right click the constraint icon, then click the Delete button.

To delete all constraints from a selection set:

  1. Click the Delete 2D Constraints icon () on the 2D Constraints toolbar.
    The command bar reads: Select entities to delete all constraints:

  2. Select the entities you want to delete the constraints from.

  3. Right click to stop selecting entities and delete all constraints from the selection set.

Using fix constraints

A fix geometric constraint () forces a point or an entity to a fixed location.

NOTE

It is recommended to apply a fix constraint to important geometric features in your design. This prevents the geometry from moving unexpectedly when you edit the design.

 

Using coincident constraints

A coincident geometric constraint can be applied to two points or to a point and an entity. The endpoints of lines, polylines, splines, rays and arcs (circular and elliptical) and the center point of circles, ellipses and arcs (circular and elliptical) are accepted. These points can be made coincident (= to lie on the entity or on the extension of the entity) with a line, a polyline segment, a circle or an arc  (circular and elliptical).

 

Coincident constraints between the endpoint of a line and two circles

 

If the endpoints or center points of entities already coincide, the Autoconstraint option of the GcCoincident command automatically applies coincident constraints to such points.

To apply a coincident constraint between a point and an entity:

  1. Click the Coincident tool button () on the 2D Constraints toolbar.
    The command bar reads: Select first point or [Entity/Autoconstrain] <Entity>:

    A prompt menu displays:

  2. Do one of the following:

  3. Press Enter.

  4. Choose Entity in the prompt menu.

The command bar reads: Select an entity:

  1. Select the entity.
    The entity highlights.
    The command bar reads: Select point or [Multiple]:

  2. Snap to the endpoint of an entity or the center point of a circle or an arc.
    The selected point is forced to lie on the selected entity (or its extension).

NOTE

If you choose Multiple in step 3, you can select multiple points.

 

Usage of a coincident constraint between a point and an entity

By applying coincident constraints between the pentagon vertices and the circle, and equal constraints between one side and the four other sides, the circle radius defines the size of the pentagon.

 

 

Coincident constraints between the endpoints of the tangent lines and the circles prevent the tangent lines to extend beyond the tangent points.

 

 

Coincident constraints are used to:

- force the endpoints of the red line to lie on the bold lines;
- force the midpoint of the red line to lie on the dash-dot line.

The bold lines and the dash-dot line have a perpendicular constraint with the red line.

As a result the dash dot line will always lie in the middle of the two bold lines.

 

Using horizontal and vertical constraints

Horizontal and vertical geometric constraints force two points, a line or a polyline segment to be parallel to the X-axis (horizontal) or the Y-axis (vertical) of the current coordinate system. Therefore these constraints can be used to keep lines at a fixed angle, rather than only horizontal or vertical.

To constrain a line to a fixed angle

  1. Align the X-axis of the coordinate system to the desired angle.

  2. Type UCS in the command bar, then press Enter.

  3. Choose Z in the prompt menu or type Z, then press Enter.

  4. Type the angle, then press Enter.

  1. Click the Horizontal tool button () on the 2D Constraints toolbar.
    The command bar reads: Select an entity or [2Points] <2Points>:

  2. Click the line or polyline segment.
    The selected entity is constrained to be parallel to the X-axis of the current UCS.

  3. (option) Restore the WCS: Type UCS in the command bar, then press Enter twice.

NOTE

Use the Vertical tool in the above procedure to constrain entities to be parallel to the Y-axis of the current UCS.

 

 

 

 

 

 

 

 


© Menhirs NV. All rights reserved.