Repository navigation
Reference
Keyboard shortcuts, firmware profiles, G-code commands, and browser requirements.
Press ? in the app to show the shortcuts overlay at any time.

| Shortcut | Action |
|---|---|
Ctrl+O |
Open file |
Ctrl+E |
Export modified G-code |
Ctrl+F |
Search (code view) |
Ctrl+Z |
Undo |
Ctrl+Shift+Z / Ctrl+Y
|
Redo |
Space |
Toggle Code / Visual view |
W |
Toggle Warp view |
[ or ← ↓
|
Previous layer |
] or → ↑
|
Next layer |
1–9
|
Switch to tab |
F |
Reset / fit camera |
P |
Play / Pause simulation |
X |
Toggle cross-section |
? |
Show shortcuts overlay |
Enter |
Apply parameter edit (edit mode) |
Delete / Backspace
|
Delete selected move (edit mode) |
Escape |
Cancel selection (edit mode) |
Select your firmware from the dropdown at the top of the app.
| Feature | Bambu Lab | Klipper | Marlin | RepRapFirmware |
|---|---|---|---|---|
| Default Pause | M400 U1 |
PAUSE |
M0 |
M226 |
| Alt Pause | M600 |
M600, M0
|
M600, M25
|
M600, M0
|
| Filament Change |
M1020 (AMS) |
M600 |
M600 |
M600 |
| Restores Position | M600 |
PAUSE |
M600 |
M226, M600
|
| AMS Support | Yes (slots 0-3) | No | No | No |
-
Bambu Lab:
M400 U1is the recommended pause command.M1020 S<slot>triggers AMS filament changes (slot 0-3). H2C/H2D models add Vortex tool changer commands (M640.), safety detection scans (M972), and toolhead offset calibration (M1012., G383.*). -
Klipper:
PAUSErequires a[pause_resume]section inprinter.cfg. Custom macros can extend pause behavior. -
Marlin:
M0requiresEMERGENCY_PARSERor LCD for user resume.M600requiresADVANCED_PAUSE_FEATUREenabled in firmware. -
RepRapFirmware:
M226triggerspause.gmacro on the SD card.M600triggersfilament-change.g.

The Reference tab in the app (key 7) contains 42 G-code commands with descriptions, parameters, and firmware-specific notes. Click any command to insert it into the custom G-code field.

Use the search bar to filter commands by name, code, or description.
The app recognizes 90+ Bambu Lab proprietary G-code commands that are not part of standard Marlin/Klipper/RepRap. These are automatically decoded in the code view when a Bambu-sliced file is loaded.
Command families:
| Family | Commands | Purpose |
|---|---|---|
| AMS & Filament | M620.*, M621, M628, M629, M630, M632, M633 | AMS filament selection, flushing, nozzle changes |
| Conditional Logic | M622, M622.1, M623 | If/else blocks controlled by system flags |
| System & Display | M1002, M1003, M1006, M1007, M73 | UI state, sound, progress, power loss recovery |
| Camera & Lidar | M960, M970.*, M971, M9711, M972, M974, M976, M977 | Laser/LED, scanning, timelapse, safety detection |
| Calibration | M975, M981, M982.2, M983.*, M984, M9833, M993 | Vibration suppression, extrusion compensation, spaghetti detection |
| Tool Changer | M640., M641, M1009, M1012., M1026 | Vortex tool change, position calibration (H2C/H2D) |
| Extended Motion | G29., G28.14, G28.140, G380, G383., G387, G39.*, G392 | ABL variants, toolhead offset calibration, detection scans |
| Wipe & Positioning | G150.* | Nozzle wipe station movements (H2 series) |
| Exclude Object | M624, M625 | Per-object print cancellation |
See docs/bambu-gcode-reference.md for the full reference with parameters, examples, and confidence tags.
| Slicer | Detection Pattern |
|---|---|
| Cura | ;LAYER:N |
| Bambu Studio |
; CHANGE_LAYER, ; Z_HEIGHT
|
| PrusaSlicer / SuperSlicer |
;LAYER_CHANGE, ;Z:X.XX
|
| OrcaSlicer | Both Bambu and Prusa formats |
| Simplify3D | ; layer N, Z = X.XX |
| ideaMaker | ;LAYER:N |
Requires WebGL2. All processing is client-side — no data is uploaded.
| Browser | Minimum Version |
|---|---|
| Chrome | 56+ |
| Firefox | 51+ |
| Edge | 79+ |
| Safari | 15+ |
Your G-code may use non-standard layer markers. Check that your slicer is in the supported list. If using PrusaSlicer or OrcaSlicer, make sure binary G-code export is disabled.
Files over 200k lines may take several seconds. The parser processes asynchronously and shows progress.
Your browser may not support WebGL2. Check at get.webgl.org/webgl2. Ensure hardware acceleration is enabled in browser settings.
Reduce the analysis depth slider. Lower depth uses a coarser grid (4mm cells vs 1mm) and completes faster.
Make sure you have at least one modification in the modification list (bottom of right panel). Export generates a new file with all listed modifications applied.
Getting Started
User Guide
Reference