Sketch and Extrude#

Create 3D solids from 2D constrained sketches. This is the parametric modeling workflow: draw a 2D profile, add geometric constraints, solve, then extrude into a 3D solid.

Quick Start: Rectangle Extrude#

The fastest way to create a parametric solid:

  1. Switch to the Sketch tab (click dock button or press S)
  2. Set W and H for your rectangle dimensions
  3. Click Rect — creates a fully constrained rectangle
  4. Set extrude height and click Extrude

A new 3D box appears in the scene, created from the constrained 2D sketch.

Full Sketch Workflow#

1. Begin Sketch#

  • Select a sketch plane: XY, XZ, or YZ
  • Click Begin Sketch to enter sketch mode

2. Add Points#

  • Enter x and y coordinates
  • Click +Pt to add each point
  • Points appear in the dropdowns for edges and constraints

3. Add Edges#

  • Select two points from the P0 and P1 dropdowns
  • Click +Edge to connect them
  • Edges appear in the constraint edge dropdowns

4. Add Constraints#

Select a constraint type from the dropdown. The UI shows/hides relevant fields based on the type:

ConstraintWhat it doesRequired fields
FixedPin a point to exact (x, y)Point, x value, y value
HorizontalForce an edge to be horizontalEdge
VerticalForce an edge to be verticalEdge
DistanceSet distance between two pointsTwo points, value
H-DistanceSet horizontal distance between pointsTwo points, value
V-DistanceSet vertical distance between pointsTwo points, value
CoincidentMake two points overlapTwo points
ParallelMake two edges parallelTwo edges
PerpendicularMake two edges perpendicularTwo edges
Equal LengthMake two edges the same lengthTwo edges
MidpointPlace a point at the midpoint of an edgeEdge, point

5. Solve (Preview)#

Click Solve to run the constraint solver and preview the solved point positions. The status bar shows the solved coordinates.

6. Extrude#

  • Set the extrude height (distance along the plane normal)
  • Click Extrude to create the 3D solid
  • The sketch is consumed and a new solid appears in the scene
  • Requires at least 3 edges forming a closed loop

7. Cancel#

Click Cancel Sketch or press Escape to discard the active sketch without creating a solid.

Keyboard Shortcuts#

KeyAction
SSwitch to Sketch tab
EscapeCancel active sketch

Tips#

  • Closed loop required: Edges must form a closed polygon (each point connected to exactly 2 edges) for extrude to work.
  • Over-constraining: Adding too many constraints may cause the solver to produce unexpected results. Start with fixed + horizontal/vertical + distances.
  • Quick Rect: The rectangle helper auto-creates 4 points, 4 edges, and 7 constraints (fixed origin, H/V edges, distances). It’s the easiest way to start.
  • Multiple sketches: Each extrude creates an independent solid. You can add primitives and sketch-extruded solids in the same scene, then combine them with boolean operations.

Automerge Collaboration#

Sketch extrude operations are stored in the Automerge op log as sketch_extrude operations. When a collaborator extrudes a sketch, the full sketch JSON is replayed on your side to produce the same solid. This means sketches are fully collaborative — the constraint solving and extrusion happen independently on each peer.