Temporary review page. It goes away once the CAD work has been reviewed.

CAD preview

The showcase opens the CAD workspace on a sample drawing. It is built with the same commands as the tools, with one numbered section per feature below.

1 · Polylines and offset

Showcase section 1

  • Polyline (P or PL): click points; Enter, Space or double-click finishes; C or clicking the first point closes.
  • Offset (O): type a distance, pick the object, then click the side. Polylines now offset (mitred corners).

2 · Three-point arcs

Showcase section 2

  • Arc (A): start point, a point on the arc, end point. A live preview follows the cursor.

3 · Rotate, mirror, scale

Showcase section 3

  • Select objects first.
  • Rotate (RO): base point, then an angle point or a typed angle in degrees.
  • Mirror (MI): two points on the mirror line; the originals stay.
  • Scale (SC): base point, then a typed factor, or a reference point and a new point.

4 · Linetypes, lineweights, colours

Showcase section 4

  • Select objects and use Colour, Linetype and Lineweight in the Properties panel (ByLayer resets them).

5 · Hatches

Showcase section 5

  • Select a closed boundary, pick a pattern next to the Hatch button and click Hatch.

6 · Dimensions

Showcase section 6

  • Decimal, architectural at 1:4 (shows 1'-5") and a deviation tolerance.
  • Save DXF writes each dimension's style with it; reopening the file shows the same text.

Stretch, break, join, cleanup

Blank workspace

  • Stretch (S): two corners of a crossing window, then base and target points; only points inside the window move.
  • Break (BR): pick the object at the first point, then the second point (the same point again breaks without a gap).
  • Join (J): select touching lines and polylines, then Join. A selected polyline gets Close/Open and Reverse in Properties.
  • Cleanup menu: works on the selection, or the whole drawing when nothing is selected; the checks select what they find.

References (other drawings)

References panel, right side

  • Attach drawing… shows another native or DXF drawing inside this one, faded and not editable.
  • Set X, Y, rotation and scale, then Place; Turn off hides it; Detach removes it (all undoable).
  • Attach from PDM takes a PDM object id (after signing in through the PDM button); Pin keeps it on the version shown.

Publishing (PDF)

Layout bar and sheet view

  • Add a sheet (+ Sheet), then PDF on the sheet saves a vector PDF at true paper size.
  • Publish PDF in the layout bar publishes every sheet: one PDF, or one per sheet.
  • Plot styles: pick Monochrome or Grayscale next to the sheet tabs, or Load .ctb… to use an AutoCAD/DraftSight plot style file; both PDF buttons plot through it.
  • Publish to PDM (needs a PDM sign-in and the drawing open in the PDM drawer) files the PDFs beside the drawing, each with a draft revision for review and release.

Live collaboration

Live button (top toolbar)

  • Live, choose Other machines (this server) or Windows of this browser, then Start live session; copy the room code.
  • Open /cad on another machine that reaches this server (or another window for a browser room), Live, paste the code and Join: you get the same drawing.
  • Edits, undo and redo appear in both windows, with each person's named cursor. Edits to the same object at the same moment are refused, not merged; Resync takes the shared drawing.
  • Select something in one window: the other shows it outlined in your colour and cannot change it until you deselect.

Macros

Macros panel (right side)

  • Name a macro, Record, draw a few things, Stop.
  • Run places the same geometry again as new objects; macros survive a reload and export/import as JSON.

Plugins

Plugins panel (right side)

  • The bundled Bolt circle plugin: set centre, pitch radius, hole size and count, then Place. Undo removes it in one step.
  • Install plugin… and pick docs/cad/plugins/spur-gear/spur-gear.aelplugin: approve what it asks for, then Propose a gear. Third-party plugins run sandboxed and only propose; Apply makes the change.
  • Company catalogue (try it without a sign-in): open /cad?demo-catalog=admin, Add to catalogue… and approve the package; open /cad?demo-catalog=member in another tab and Install it from Approved plugins. Approving a newer version updates members automatically; Withdraw removes it for them.

AI drafting

AI drafting panel (right side)

  • Describe a change (e.g. a 100 x 60 plate with four 8 mm holes 10 mm from the corners) and Plan.
  • The proposed steps are listed and the geometry is drawn in orange; nothing changes until Apply. Each applied step undoes on its own.
  • Needs CAD_AI_ENABLED=true and ANTHROPIC_API_KEY in the server environment; without them the panel says so.

7 · Leaders

Showcase section 7

  • Leader (E): arrow point, then landing point; the toolbar Text is the note.

DXF import and export

  • Open a DXF in the workspace (Open). LEADERs now come in as editable leaders, not locked blocks.
  • Tables in DXF files (ACAD_TABLE) now open as editable tables: select one (on its sheet tab if it lives there) and edit a cell in the side panel. DXF 2007 saves them as real tables.
  • Dimension text matches the drawing for 840 of 841 checked production dimensions (architectural, limits, tolerances, DIMLFAC).
  • Multileaders in DXF files now open as editable multileaders (all 361 in the production drawings), text placed where AutoCAD stores it.
  • Save DXF writes DXF 2000: native DIMENSION, LEADER, HATCH, SPLINE, MTEXT. DXF 2007 adds UTF-8 text and native multileaders; DXF R12 is still available.

In the workspace: wheel to zoom, middle-drag or Alt-drag to pan, Esc cancels, Ctrl+Z undoes. The command line at the bottom takes AutoCAD aliases (PL, A, O, RO, MI, SC, EX) and coordinates (x,y, @dx,dy, @d<angle).