CLI error "Relative extruder addressing requires G92 E0" occurs in multiple slicing circumstances while in-GUI succeeds. #213

Open
opened 2026-04-05 16:19:05 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @davidbernat on 3/22/2026

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.1

Operating System (OS)

macOS

OS Version

MacOS Tahoe 26.3

Additional system information

No response

Printer

Bambu Labs A1 Mini

How to reproduce

Bug Report:

CLI validation error "Relative extruder addressing requires G92 E0" occurs incorrectly for all inputs including GUI-created 3MF files

got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode.

Description

CLI mode validation errors with "Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add G92 E0 to layer_gcode" for all slicing operations, including:

  1. Slicing GUI-created 3MF files
  2. Slicing STL files with valid profiles
  3. Even with --no-check flag

Same operations succeed in GUI with the same settings profiles.

In other words, this is a problem only using CLI.

Steps to Reproduce

Scenario A - From GUI-created 3MF:

  1. Open OrcaSlicer GUI
  2. Load a model file
  3. SLICE successfully, then save as .3mf project
  4. Close GUI
  5. Run: orca-slicer --slice 0 saved_project.3mf
  6. Expected: Slicing completes successfully
  7. Actual: Error - "Relative extruder addressing requires resetting the extruder position..."

Scenario B - From STL:

  1. Download official OrcaSlicer profiles from GitHub OR use exact OrcaSlicers from the OrcaSlicer.app/ folders in MacOS
  2. Run: orca-slicer --slice 0 --load-settings "machine.json" --load-settings "process.json" --load-filaments "filament.json" model.stl
  3. Expected: Slicing completes successfully
  4. Actual: Error - "Relative extruder addressing requires resetting the extruder position..."

Error Output

[2026-03-22 13:50:52.310083] [0x0000000207b8b080] [trace]   Initializing StaticPrintConfigs
[2026-03-22 13:50:52.380634] [0x0000000207b8b080] [error]   calc_exclude_triangles:Unable to create exclude triangles
[2026-03-22 13:50:52.380768] [0x0000000207b8b080] [error]   calc_exclude_triangles:Unable to create exclude triangles
[2026-03-22 13:50:52.384067] [0x0000000207b8b080] [error]   got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode.
Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode.
run found error, exit

Additional Notes

  • --no-check flag does NOT bypass this error
  • Error occurs even with 3MF files created and saved from the GUI
  • We also found that using semicolon-separated paths for settings failed to local on-disk files, i.e. --load-settings "path1.json;path2.json" and instead needed to be passed with multiple instances of the --load-settings flags, i.e., --load-settings path1.json --load-settings path2.json. This is unrelated to the issue above.
  • #8782 - glfwInit error on Linux/Wayland (similar CLI OpenGL issues)
  • #11588 - CLI segfault on macOS with --load-assemble-list

Actual results

Bug Report:

CLI validation error "Relative extruder addressing requires G92 E0" occurs incorrectly for all inputs including GUI-created 3MF files

got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode.

Description

CLI mode validation errors with "Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add G92 E0 to layer_gcode" for all slicing operations, including:

  1. Slicing GUI-created 3MF files
  2. Slicing STL files with valid profiles
  3. Even with --no-check flag

Same operations succeed in GUI with the same settings profiles.

In other words, this is a problem only using CLI.

Expected results

Successful slice.

Project file & Debug log uploads

Error Output

[2026-03-22 13:50:52.310083] [0x0000000207b8b080] [trace]   Initializing StaticPrintConfigs
[2026-03-22 13:50:52.380634] [0x0000000207b8b080] [error]   calc_exclude_triangles:Unable to create exclude triangles
[2026-03-22 13:50:52.380768] [0x0000000207b8b080] [error]   calc_exclude_triangles:Unable to create exclude triangles
[2026-03-22 13:50:52.384067] [0x0000000207b8b080] [error]   got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode.
Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode.
run found error, exit

I wish to not share the STL file.

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

*Originally created by @davidbernat on 3/22/2026* ### Is there an existing issue for this problem? - [x] I have searched the existing issues ### OrcaSlicer Version 2.3.1 ### Operating System (OS) macOS ### OS Version MacOS Tahoe 26.3 ### Additional system information _No response_ ### Printer Bambu Labs A1 Mini ### How to reproduce ## Bug Report: CLI validation error "Relative extruder addressing requires G92 E0" occurs incorrectly for all inputs including GUI-created 3MF files ``` got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode. ``` ### Description CLI mode validation errors with "Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add G92 E0 to layer_gcode" for all slicing operations, including: 1. Slicing GUI-created 3MF files 2. Slicing STL files with valid profiles 3. Even with --no-check flag Same operations succeed in GUI with the same settings profiles. In other words, this is a problem only using CLI. ### Steps to Reproduce **Scenario A - From GUI-created 3MF:** 1. Open OrcaSlicer GUI 2. Load a model file 3. SLICE successfully, then save as `.3mf` project 4. Close GUI 5. Run: `orca-slicer --slice 0 saved_project.3mf` 6. **Expected:** Slicing completes successfully 7. **Actual:** Error - "Relative extruder addressing requires resetting the extruder position..." **Scenario B - From STL:** 1. Download official OrcaSlicer profiles from GitHub OR use exact OrcaSlicers from the OrcaSlicer.app/ folders in MacOS 2. Run: `orca-slicer --slice 0 --load-settings "machine.json" --load-settings "process.json" --load-filaments "filament.json" model.stl` 3. **Expected:** Slicing completes successfully 4. **Actual:** Error - "Relative extruder addressing requires resetting the extruder position..." ### Error Output ``` [2026-03-22 13:50:52.310083] [0x0000000207b8b080] [trace] Initializing StaticPrintConfigs [2026-03-22 13:50:52.380634] [0x0000000207b8b080] [error] calc_exclude_triangles:Unable to create exclude triangles [2026-03-22 13:50:52.380768] [0x0000000207b8b080] [error] calc_exclude_triangles:Unable to create exclude triangles [2026-03-22 13:50:52.384067] [0x0000000207b8b080] [error] got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode. Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode. run found error, exit ``` ### Additional Notes - `--no-check` flag does NOT bypass this error - Error occurs even with 3MF files created and saved from the GUI - We also found that using semicolon-separated paths for settings failed to local on-disk files, i.e. `--load-settings "path1.json;path2.json"` and instead needed to be passed with multiple instances of the `--load-settings` flags, i.e., `--load-settings path1.json --load-settings path2.json`. This is unrelated to the issue above. ### Related Issues - [#8782](https://github.com/SoftFever/OrcaSlicer/issues/8782) - glfwInit error on Linux/Wayland (similar CLI OpenGL issues) - [#11588](https://github.com/SoftFever/OrcaSlicer/issues/11588) - CLI segfault on macOS with `--load-assemble-list` ### Actual results ## Bug Report: CLI validation error "Relative extruder addressing requires G92 E0" occurs incorrectly for all inputs including GUI-created 3MF files ``` got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode. ``` ### Description CLI mode validation errors with "Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add G92 E0 to layer_gcode" for all slicing operations, including: 1. Slicing GUI-created 3MF files 2. Slicing STL files with valid profiles 3. Even with --no-check flag Same operations succeed in GUI with the same settings profiles. In other words, this is a problem only using CLI. ### Expected results Successful slice. ### Project file & Debug log uploads ### Error Output ``` [2026-03-22 13:50:52.310083] [0x0000000207b8b080] [trace] Initializing StaticPrintConfigs [2026-03-22 13:50:52.380634] [0x0000000207b8b080] [error] calc_exclude_triangles:Unable to create exclude triangles [2026-03-22 13:50:52.380768] [0x0000000207b8b080] [error] calc_exclude_triangles:Unable to create exclude triangles [2026-03-22 13:50:52.384067] [0x0000000207b8b080] [error] got error when validate: Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode. Relative extruder addressing requires resetting the extruder position at each layer to prevent loss of floating point accuracy. Add "G92 E0" to layer_gcode. run found error, exit ``` I wish to not share the STL file. ### Checklist of files to include - [x] Log file - [x] Project file ### Anything else? _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#213