G-code Section
Purpose
The G-code section is for loading, editing, validating, previewing, and preparing existing G-code files.
Main Features
- open
.gcode,.nc,.tap,.cnc - view file summary
- edit G-code
- syntax highlighting
- line numbers
- search
- validate file
- preview toolpath
- show warnings
- send to job runner
- show current execution line
G-code Layout
Recommended panels:
text
Top Bar
File Summary
Editor
Preview
Validation Panel
Bottom Console/WarningsG-code Top Bar
Contains:
- Open File
- Save
- Save As
- Reload
- Validate
- Analyze
- Preview
- Start Job
- Clear
File Summary
Shows:
- file name
- line count
- size
- units
- estimated bounds
- estimated duration
- detected commands
- warnings
Editor
Features:
- line numbers
- syntax highlighting
- current running line highlight
- error line highlight
- command search
- command history
- manual command helper if allowed
Preview
Shows:
- 2D toolpath
- optional 3D preview
- rapid moves
- cutting moves
- plunge/retract moves
- origin marker
- machine bounds
- toolpath bounds
Validation
Checks:
- unsupported commands
- out-of-bounds movement
- missing units
- suspicious Z moves
- laser/spindle commands
- relative/absolute mode changes
- no motion commands
- unsafe feed rates
