Thankful for our first 50 makers. Founding membership: $149 once, every app, for good.

Claim your place
GCarve

GCarve › User manual

Sizing a drawing with dimensions, variables and locks

How to make a drawing that resizes itself: put a dimension on a shape, tie it to a variable such as the board thickness, and lock the parts that must not move. Applies to GCarve 0.1.34 and later (desktop and online); 0.1.33 has all of it except the red banner, box-selecting nodes and the lock on the Properties panel.

The idea in one minute

  1. A dimension measures between two corners or two sides of your shapes.
  2. Give the dimension a length and it stops measuring and starts setting the size: the shape changes to match.
  3. Make that length a variable (for example thickness) and every dimension that uses it changes together when you change the variable once.
  4. Lock a corner or a side and it stays put: everything else moves around it.
width locked side this side moves

1. Put a dimension on a shape

  1. Pick the Dimension tool in the tool list on the left (key D).
  2. Move over your shape. A corner shows a blue dot and a straight side turns blue when a click will take it.
  3. Click the first corner or side, then the second.
  4. Move the pointer to where the dimension line should sit and click a third time.
  5. The length box opens. Type a length to set the size, or press Esc to keep the dimension as a measurement only.
You clickYou get
Two sidesThe distance straight across (square to the first side). Setting it moves the whole second side, so a rectangle stays a rectangle.
Two cornersThe straight distance between them. Setting it moves the second corner only.
A corner and a sideThe distance from the corner square across to the side.
The same side twiceThat side's own length, corner to corner.
Corners or sides of two different shapesThe gap between the shapes. Setting it moves the second shape as a whole.
A dimension must sit on a shape. A click on empty space is refused and the status line at the bottom says why. To measure between two loose points, use the Measure tool (M) instead.

Curved segments can't take a side dimension; click their end corners instead. Right-click a corner-to-corner dimension for Make Horizontal or Make Vertical to measure along one axis only.

2. Give it a length, or tie it to a variable

Double-click a dimension's number at any time to open its box again. The Length field accepts:

You typeWhat happens
4in, 120mm, 4The size is set to that. A bare number is in the project's unit.
thicknessThe size follows the variable thickness. Without a variable of your own by that name, thickness is the board's thickness from Job Setup.
width = 12Makes the variable width with the value 12 (or updates it) and ties this dimension to it.
2 * thickness + 1/8inAny sum of sizes and variables works.
(empty)The dimension only measures again.

The Variable list beside the field shows the variables the drawing already has; pick one to tie the dimension to it.

A dimension that sets a size is drawn in blue with a solid dot on the end that stays and a ring on the end that moves.

Change the variable, change the drawing

  1. Open Variables › Variables & Constraints…
  2. Change the value of the variable.
  3. Every dimension tied to it resizes its shape at once. Toolpaths on those shapes are worked out again.

Variable names start with a letter and may contain letters, digits, _ and -. Built in: thickness (also z and board-t), board-w, board-h.

3. Choose what stays still

For one dimension

In the dimension's box, Stays still offers First end (the one you clicked first) or Second end. The other end moves when the length changes.

Lock a corner or a side for good

  1. Right-click the corner or the straight side.
  2. Choose Lock This Corner in Place or Lock This Side in Place.

A small padlock appears on it (a locked side is also drawn thicker). From then on:

To free it, right-click the padlock and choose Unlock.

When something refuses to move. A red banner appears at the top of the drawing for a few seconds (click it to close it), and the same words stay in the status line at the bottom:

A worked example: a slot that fits your board

You want a slot exactly as wide as the board is thick, and it should update if you switch from 3/4 in to 18 mm plywood.

  1. Draw a rectangle for the slot (R), any size.
  2. Right-click its left side › Lock This Side in Place, so the slot keeps its position.
  3. Dimension tool (D): click the left side, click the right side, click above the slot.
  4. In the length box type thickness and press Enter. The slot is now as wide as the board is thick.
  5. Change the board thickness in Job Setup: the slot follows. For a looser fit use thickness + 0.01in.

Editing corners: picking several at once

With the Nodes tool (N):

Good to know

Not supported yet

GCarve · gcarve.app · guide written 2026-11-12

Try it on your own job: GCarve is free, runs in your browser with a free account, and has free desktop apps.

Open GCarve free