Viewers: G-code & side profiles

The floating G-code viewer and the X/Y and U/V block-side views in cncfoam.com: reading the colour-coded commands, plane vs block-side modes, and confirming your profile.

cncfoam.com gives you several floating windows to inspect a cut. They are draggable, resizable, and toggled in Settings → Tool interface.

The G-code viewer

Shows the exact commands being generated, colour-coded by type:

  • GreenG0 rapid (non-cutting) moves.
  • BlueG1 cutting moves.
  • RedM8 hot-wire on.
  • DimM9 hot-wire off and comments.

The active line highlights as the animation plays, and a 📋 Copy button puts the whole program on your clipboard. It is the quickest way to sanity-check what the machine will receive.

X/Y and U/V block-side views

Two 2D windows show the wire trace on each tower:

  • X/Y — the left tower profile.
  • U/V — the right tower profile.

Each has a toggle between two modes:

  • Plane mode — the bare wire endpoint trace at the tower plane.
  • Block-side mode — the cut interpolated to the actual material face, framed to the block, so it matches what you see carved on the 3D block face.

On a morph the two views differ (as they should — each end cuts a different profile). They draw progressively as the cut plays, and a red dot marks the live wire position.

Block-side mode honours the origin offset and the Reverse-X setting so the 2D profile lines up with the 3D block face — use it to confirm orientation and that the cut sits inside the block.

Reset view

Reset view (Home/F) snaps the camera and every floating window back to its default position and size — handy after you have dragged things around.