CuraEngine icon indicating copy to clipboard operation
CuraEngine copied to clipboard

[CuraEngine.exe] command-line argument order dependency

Open marciot opened this issue 2 years ago • 0 comments

Application Version CuraEngine 4.12.1

Platform Windows x64

Qt N/A (command-line CuraEngine)

PyQt N/A (command-line CuraEngine)

Display Driver N/A (command-line CuraEngine)

Steps to Reproduce

  • Make sure Cura 4.12.1 is installed and CuraEngine is in the path (which it should be after install)
  • Unzip the "CuraEngineSliceError.zip" file.
  • Open command prompt, change into directory
  • Run slice.bat

CuraEngineSliceError.zip

Actual Results Slicing fails with the following error:

[ERROR] Trying to retrieve setting with no value given: 'support_enable'

Steps to resolve:

  • Edit slice.bat
  • Search for support_enable
  • Copy and paste "-s" "support_enable=true" before "-s" "acceleration_enabled=false"
  • Notice slice completes successfully

Expected results

Slice should work no matter the order of the command line arguments. Alternatively, the order needs to be documented, otherwise it is just a guessing game.

Additional Information

marciot avatar Nov 07 '22 20:11 marciot