KufCad

Dimensional constraints: Linear, Aligned, Angular, Radius, Diameter

Ribbon: Parametric ▸ Dimensional ▸ Linear / Aligned / Horizontal / Vertical / Angular / Radius / Diameter / ConvertCommand: DCLINEAR, DCALIGNED, DCHORIZONTAL, DCVERTICAL, DCANGULAR, DCRADIUS, DCDIAMETER, DCCONVERTAlias: DCON

A dimensional constraint is a dimension that drives the geometry: you type a value, the geometry follows, and the value has a name (d1, ang1, rad1…) or one you choose.

Dimensional panel
Figure 10.13 — The Dimensional panel.

DCLINEAR / DCHORIZONTAL / DCVERTICAL

BeforeA line of length 80
→
AfterConstrained d1 = 60
Figure 10.14 — Click the two ends 1 2, place the dimension 3, then type 60: the line shrinks from 80 to 60 (symmetrically about its centre) and the label d1 = 60 appears.
  1. Click Linear or type DCLINEAR, Enter.
  2. Specify first constraint point or select a line: — click a point (or the whole line).
  3. Specify second constraint point or select a line:.
  4. Specify dimension line location: — click where to put it.
  5. Enter dimension text, expression or name=value [Reference] <80>: — type a value 60, an expression, or name=value such as w=100. Type R (Reference) to measure only, without driving.

DCALIGNED

Aligned constraint
Figure 10.15 — DCALIGNED with value 70: the sloped line is 70 long along its own direction.

DCANGULAR

Angular constraint
Figure 10.16 — DCANGULAR value 45: the angle between the two lines is ang1 = 45°.
  1. DCANGULAR: Select first line or arc [3Points]:, then Select second line:, click the arc position, type the value.

DCRADIUS, DCDIAMETER and DCCONVERT

BeforeA circle
→
AfterConverted to a constraint
Figure 10.17 — Turning an ordinary dimension into a constraint: make a DIMRADIUS, select it and run DCCONVERT (DCCONVERT: 1 dimension(s) converted to dimensional constraints.). The default name is rad1.
Diameter
Figure 10.18 — The same for diameter: DIMDIAMETER then DCCONVERT (name dia1).

Create the constraint directly with DCRADIUS (or DCDIAMETER):

  1. DCRADIUS: Select a circle or arc: — click the circle / arc.
  2. Specify dimension line location: — click where the dimension line goes.
  3. Enter dimension text, expression or name=value [Reference] <20>: — type a value (for example 25) or press Enter to keep the current measurement. The command line reports Radius constraint rad1 = 25 applied. and the circle follows.

Use DCCONVERT when you already have ordinary dimensions (Figures 10.17, 10.18).