PrintNowPrintNowDocs

Constraints

Define geometric relationships in Print CAD — coincident, distance, tangent, parallel, perpendicular, symmetric, angle, and more.

Constraints are the foundation of parametric design in Print CAD. Instead of drawing geometry at fixed positions, you define relationships between entities — two points are coincident, two lines are parallel, a distance equals a variable. When you change a variable or drag a point, the constraint solver recalculates all geometry to maintain every relationship simultaneously.

Print CAD supports over 40 constraint types. The most commonly used for packaging dieline design are listed below.

Applying Constraints

  1. Select one or more entities in the graphics window.
  2. Open the Constraint menu and choose the constraint type, or use the keyboard shortcut.
  3. The constraint appears as an annotation on the canvas. Click the annotation to edit its value.

Constraints are color-coded:

  • Satisfied constraints display in the default color
  • Unsolved or conflicting constraints are highlighted, indicating the solver cannot find a solution

To remove a constraint, select its annotation and press Delete.

Dimensional Constraints

ConstraintEntitiesDescription
DistanceTwo points, or point and lineSets the exact distance between entities. Accept a numeric value or a variable name. This is the primary constraint for parametric dimensions.
AngleTwo linesSets the angle between two line segments in degrees.
DiameterCircle or arcSets the diameter of a circle or arc.
Length RatioTwo linesConstrains one line's length to be a ratio of another's.
Length DifferenceTwo linesConstrains the difference between two line lengths to a specific value.

Geometric Constraints

ConstraintEntitiesDescription
CoincidentTwo pointsForces two points to occupy the same position. Essential for connecting line endpoints to form closed shapes.
HorizontalLine, or two pointsConstrains a line segment or point pair to be horizontal (parallel to the X axis).
VerticalLine, or two pointsConstrains a line segment or point pair to be vertical (parallel to the Y axis).
ParallelTwo linesForces two lines to be parallel regardless of their position.
PerpendicularTwo linesForces two lines to meet at a 90-degree angle. Critical for box dielines where panels meet at right angles.
Equal LengthTwo linesForces two line segments to have the same length. Use this to keep symmetric panels equal without assigning the same variable to both.
SymmetricTwo points and a lineForces two points to be mirror images across a line of symmetry. Useful for centering flaps and tabs.
TangentArc/circle and lineForces a curve and a line to meet tangentially (smooth transition, no corner).
MidpointPoint and lineConstrains a point to lie at the exact midpoint of a line segment.
On EntityPoint and line/arc/circleConstrains a point to lie on a curve or line.

Orientation Constraints

ConstraintEntitiesDescription
Lock Where DraggedOne or more pointsFixes selected points at their current position. PrintNow extension: supports locking multiple points simultaneously via the context menu.
Same OrientationTwo normalsForces two workplane normals to point in the same direction.

Using Variables in Constraints

Any dimensional constraint (Distance, Angle, Diameter) can reference a variable or expression instead of a fixed number. Click the constraint annotation and type the variable name or expression:

  • W — Use the variable W directly
  • W / 2 — Half the width
  • W + 0.5 — Width plus a half-inch allowance
  • min(W, L) — The smaller of width and length

This is what makes the design parametric — the geometry adapts automatically when variable values change.

The Constraint Solver

Print CAD's solver handles up to 2,048 simultaneous unknowns using Eigen-based linear algebra. When you add or modify constraints:

  • Green/satisfied — The solver found a solution satisfying all constraints
  • Red/unsolved — The system is over-constrained (too many constraints) or inconsistent (contradictory constraints)
  • Under-constrained — Geometry has degrees of freedom remaining; drag points to see what can still move

If the solver fails, remove the most recently added constraint and check for conflicts. The property browser lists all constraints with their status.

  • Variables — Create the named values referenced in dimensional constraints
  • Expression System — Use formulas and functions inside constraint values
  • Line Styles — Assign structural purpose (cut, crease, perf) to constrained geometry
  • Quick Start — Apply constraints step-by-step in your first dieline

On this page