Repository navigation
Parametric Constraints
Constraints are rules that geometry keeps when you edit it. A geometric constraint fixes a relationship (these two lines stay parallel); a dimensional constraint fixes a value (this line is 50 long). Change one value and the shape follows, keeping all its rules.
The tools are on the Parametric tab.
| Constraint | Command | Keeps | |
|---|---|---|---|
| Coincident | GCCOINCIDENT |
Two points together, or a point on a curve. | |
| Collinear | GCCOLLINEAR |
Two lines on one infinite line. | |
| Concentric | GCCONCENTRIC |
Circles, arcs and ellipses on one centre. | |
| Fix | GCFIX |
A point or object in place. | |
| Parallel | GCPARALLEL |
Two lines parallel. | |
| Perpendicular | GCPERPENDICULAR |
Two lines at 90°. | |
| Horizontal | GCHORIZONTAL |
A line, or two points, horizontal. | |
| Vertical | GCVERTICAL |
A line, or two points, vertical. | |
| Tangent | GCTANGENT |
A curve tangent to another. | |
| Smooth | GCSMOOTH |
A spline joined smoothly to another curve. | |
| Symmetric | GCSYMMETRIC |
Two objects or points mirrored about a line. | |
| Equal | GCEQUAL |
Two lines of one length, or two arcs of one radius. | |
| Midpoint | MPCONSTRAINT |
A point at the middle of a line or arc. | |
| Center Point | CPCONSTRAINT |
A point at the centre of a circle or arc. | |
| Point on Curve | OCCONSTRAINT |
A point on a curve. | |
| Normal | NRCONSTRAINT |
A line normal to a curve. | |
| Equal Distance | EDCONSTRAINT |
Equal distances between pairs of points. |
AUTOCONSTRAIN adds the constraints that the selected geometry already meets: lines that are parallel get Parallel, ends that touch get Coincident, and so on. With CONSTRAINTINFER on, constraints are added as you draw.
Constraint bars next to the geometry show its constraints. Show all and
Hide all toggle every bar.
| Constraint | Command | Fixes | |
|---|---|---|---|
| Aligned | DCALIGNED |
The distance between two points. | |
| Horizontal | DCHORIZONTAL |
The horizontal distance. | |
| Vertical | DCVERTICAL |
The vertical distance. | |
| Angular | DCANGULAR |
The angle between two lines. | |
| Radius | DCRADIUS |
The radius of a circle or arc. | |
| Diameter | DCDIAMETER |
The diameter of a circle or arc. | |
| Convert | DCCONVERT |
Turns an existing dimension into a constraint. |
Double-click a dimensional constraint to change its value. A value can be a number, a name (width = 120) or an expression that uses other names (height = width / 2).
Dynamic or annotational. Dynamic constraints are for editing: they keep their size on screen and do not plot. Annotational constraints look and plot like dimensions. Switch with DCFORM or in Properties.
PARAMETERS lists every dimensional constraint and user parameter of the drawing with its expression and value. Edit the expressions here, add your own parameters, and rename them.
DELCONSTRAINT removes all constraints from the selected objects. Moving or stretching a constrained object respects its constraints. In the Block Editor, geometry is coloured as unconstrained, partially constrained, fully constrained or over-constrained, so you can see when a block has too many or too few rules.
CONSTRAINTSETTINGS opens the settings that choose which constraint types AUTOCONSTRAIN applies. How dimensional constraint names and values are shown is set with CONSTRAINTNAMEFORMAT, and whether constraints are inferred while you draw with CONSTRAINTINFER.
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference