Skip to content

Add an early CAMpanion GUI layout shell - #183

Merged
mountainarcwelding merged 1 commit into
mainfrom
feature/gui-layout-shell
Nov 15, 2026
Merged

mountainarcwelding merged 1 commit into
mainfrom
feature/gui-layout-shell

Conversation

@mountainarcwelding

Copy link
Copy Markdown
Owner

Adds campanion-gui (also campanion gui) as an early layout preview. It does not talk to a machine.

What this includes

  • Dark, low-contrast shell with File, Edit, View, Machine and Help menus, a workspace selector, mode tabs, a process tree, a centre viewport, a properties column, a timeline, and a STOP button that stays visible on every tab.
  • Workspaces: Mill/Route, Turning, Thermal/Jet Cutting, Wire Cutting, Resin (SLA) and FDM. Custom is listed as planned and stays disabled. The first tab on cutting and mill workspaces is Process. Resin tabs are Orient, Supports, Slice, Export and Run. FDM tabs are Orient, Slice, Export and Run.
  • Opening a campanion-ir file draws the toolpath in the viewport using the existing campanion-view scene model. A sibling .ngc / .gcode file, or a G-code file opened on its own, is shown next to the toolpath on the Export tab.
  • Resin Orient, Supports, Slice and Export, and the Run tab for every process, are layout placeholders. Fields that would later hold power, speed or material values start empty. Override styling (orange, Reset, Save to library) is wired as a hook. The Run tab has connection, DRO, jog, Home, Set Origin, Frame, Start, Pause, progress and a console, all without serial I/O.
  • Lockout rules are encoded in GuiState and tested: while a preview run is active only Pause and Stop are live; jog, Frame, Home and Set Origin unlock after Stop or once the run has finished.

scripts/check.sh (fmt, clippy, tests, wasm, cargo-deny) was run locally and passed.

Refs: GUI layout preview.

Introduce campanion-gui (also campanion gui) as a layout preview: menus,
workspaces, mode tabs, viewports, and a Run tab with no machine I/O.
Open an IR file to show the toolpath with the existing preview model.
@mountainarcwelding
mountainarcwelding merged commit 0ad0236 into main Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant