Custom G-code

Import, edit, analyze, and debug real G-code inside 3dSynth. Monaco-based editor with syntax highlighting, autocomplete, and bidirectional sync to the 3D viewport.

Try in app

What it is

  • Code editor — Monaco with syntax highlighting, autocomplete, hover docs
  • Bidirectional sync — Select lines in editor ↔ highlight in 3D; click toolpaths in 3D → jump to code
  • Analysis — Outline tree (startup, layers, regions, shutdown), metrics (time, filament, flow)
  • Visualization — 8 color modes: speed, flow, temperature, fan, layer, and more
  • Tools — Change speed/flow/temperature on selections, reorder sections, snapshot and diff

What you can do

  • Post-process slicer output — Adjust speeds, add pauses, insert custom commands
  • Inspect any G-code — Visualize toolpaths from any slicer with color-coded overlays
  • Debug line by line — Step through commands and inspect full machine state
  • Compare edits — Snapshot your work and diff against previous versions

48 tutorials

From Beginner (What is G-code, Coordinate System, Movement Commands) through Intermediate (Pressure Advance, Non-planar Thinking) to Master (Machine State, DSL Design) and Expert (Generative Design, Custom Slicer Core). Full curriculum in the app.

Ready to edit?

Lossless round-trip. Import and re-export—formatting, comments, and line endings preserved.