Custom G-code (Expert)
The Custom G-code module lets you import, edit, analyze, and debug real G-code inside 3dSynth. Use it to tweak slicer output, hand-author toolpaths, or understand exactly what a file does before printing.
What It Is
- Code editor -- Monaco-based editor with syntax highlighting, autocomplete, and hover docs
- Bidirectional sync -- select lines in the editor and see them in the 3D viewport; click toolpaths in 3D to jump to code
- Analysis -- outline tree (startup, layers, regions, shutdown), metrics (time, filament, flow), and structural analysis
- 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 at specific layers
- 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 at each point
- Compare edits -- snapshot your work and diff against previous versions
When to Use It
- Post-process slicer G-code (adjust speeds, add custom commands)
- Hand-author or tweak toolpaths from G-code Sculptor or SynthBlocks
- Debug and inspect G-code from any source
- Learn G-code by stepping through commands with the debugger
Tutorials in This Section
Use the list to the left to open any of the 48 tutorials, grouped by level: Beginner (1-12), Intermediate (13-24), Master (25-36), and Expert (37-48).
Learn More
- Documentation -- Custom G-code Overview, Editor Features, Analysis, and Tools under the "Custom G-code" section in Docs