22 · Machine
Machine zeroing & double-sided work
Where X0 Y0 is, the stock and alignment pins, and how both sides stay registered.

Machine setup → Origin → "X0 Y0 at" decides where the machine origin is on the board; every program shares it, one origin per side. The view marks it with a ringed crosshair and red X / green Y arrows (always framed by Fit).
- Corners / Centre — of the board as the machine sees each side: the board edge comes from the outline (its cut moved in by the cutter's radius), so changing the cutout bit never moves the programs against copper already milled. Without an outline the extent of all programs is used; with a stock (below) the corners are the stock's. After flipping you touch off at the same corner of the fixture.
- Custom point — a point in design (Gerber/EasyEDA) coordinates, so tool sizes never move it. X0 Y0 stays at that same machine point for both sides: flip the board in place and the back programs are mirrored to land on it. Type Origin X / Y, or set it in the view (below).
- Moving it in the view — drag the origin marker to where X0 Y0 should be, or click Set Origin in View (Machine setup) / the scope button and click the spot. Both snap to the project's corners and centre (which set that corner mode) and to drill holes (a custom point). With Snap to Grid on (View Options, or View → Snap to Grid, ⌘'), any other drop lands on the grid shown in the view, so the origin moves in whole grid steps; zoom in for a finer grid.
- Design origin — no zeroing; coordinates exactly as exported. The back-side programs are still mirrored about the board's centre line, so they cover the same X/Y range as the front ones.
Zero X/Y once at the origin and Z on the board surface. The front-side programs (copper, drills, outline, top mask) run from it, and so do the back-side programs after you flip the board in place about its centre line — they are mirrored to land exactly where the front ones were, so nothing is re-zeroed. Choose the flip direction with Mirror around Y axis and verify with Flip Back View. Probing and height maps are done live from the Machine panel (below); the programs themselves stay plain G-code.
Stock and alignment pins

Machine setup → Stock → Place the board on a stock works like Makera Studio's stock: the board sits on a blank of known length, width and thickness, centred on it or moved by Board offset X / Y. The preview draws the stock in 2D and as a see-through slab in the 3D view. With the stock on, the project's frame is the stock: X0 Y0's corners are the stock's — clamp the blank against Anchor 1 of the Carvera (or your fixture's corner) and zero on its corner — and the back side is mirrored about the stock's centre line.
- Alignment pins — None, 2 (on the flip line) or 4 (at the corners), with Pin diameter, Pin margin (from the stock's edge) and Pin offset X / Y, which move the pins and the flip line with them. The pins become the Alignment pins custom layer (see Custom layers), cut first in stage 1F through the blank into the wasteboard.
- Flipping — push pins into the holes, turn the blank over them the way Board flips says (left–right or top–bottom), and run the back side: nothing is re-zeroed. The stage instructions in the Carvera files say the same.
- Drawn-only projects (no Gerbers) keep their own frame.