Skip to content

Creality Print CLI crashes when slicing 3MF generated by Creality Print #574

Description

@Help3D-Padova

Is there an existing issue for this problem?

  • I have searched the existing issues

CrealityPrint Version

7.10

Operating System (OS)

Windows

OS Version

11

Additional system information

No response

Printer

K2 PRO

How to reproduce

Creality Print CLI crashes when slicing 3MF generated by Creality Print

Summary

Creality Print CLI crashes with exit code 3221225477 / 0xC0000005 while slicing a .3mf project generated by Creality Print itself.

The crash happens before any G-code is produced. The last relevant log line is:

Slic3r::GUI::PartPlate::calc_exclude_triangles:Unable to create exclude triangles

This makes the CLI unusable for automated/headless quote calculation workflows.

Environment

  • OS: Windows
  • Creality Print install path:
C:\Program Files\Creality\Creality Print 7.0\CrealityPrint.exe
  • Installed version detected from Windows installed apps / registry:
7.1.0
  • CLI internal version shown in logs:
current cli version 01.09.03.50
  • Input file:
Bombazza_Piraz_Creality_Print.3mf
  • The .3mf file was generated directly by Creality Print.

Reproduction Command

"C:\Program Files\Creality\Creality Print 7.0\CrealityPrint.exe" `
  --debug 5 `
  --slice 0 `
  --no-check `
  --allow-newer-file `
  --outputdir "C:\temp\creality-cli-test" `
  --arrange 0 `
  --orient 1 `
  --ensure-on-bed `
  --allow-multicolor-oneplate `
  "C:\path\to\Bombazza_Piraz_Creality_Print.3mf"

Actual Result

The process exits with:

3221225477

No G-code is generated.

Relevant log tail:

[info]    total 1 models, 0 objects
[info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[info]    Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[error]   Slic3r::GUI::PartPlate::calc_exclude_triangles:Unable to create exclude triangles

Expected Result

The CLI should slice the .3mf project and generate G-code in the specified output directory, or return a controlled error message without crashing.

Additional Tests Performed

I tested multiple flag combinations to verify whether the crash was caused by arrange/orient/multicolor options.

All of these combinations still crashed with the same exit code and the same calc_exclude_triangles error:

--arrange 0 --orient 1 --allow-multicolor-oneplate
--arrange 1 --orient 1 --allow-multicolor-oneplate
--arrange 0 --orient 0 --allow-multicolor-oneplate
--arrange 0 --orient 1

Result for every case:

exit code: 3221225477
output files: none
last error: Slic3r::GUI::PartPlate::calc_exclude_triangles:Unable to create exclude triangles

Version Compatibility Note

Without --allow-newer-file, the CLI rejects the project with:

Version Check: File Version 7.1.0.1 not supported by current cli version 01.09.03.50

With --allow-newer-file, the version check is bypassed, but the CLI crashes later during plate/model handling.

Why This Matters

We are trying to integrate Creality Print CLI into an external automated workflow for:

  • detecting installed Creality Print
  • importing printer/material/process profiles
  • running CLI slicing
  • reading generated G-code/result data for print time and material estimation
  • supporting future mono/multicolor quote calculation

Profile discovery works correctly from the Creality Print installation folders, but slicing cannot currently be enabled because the CLI crashes before producing output.

Request

Could you please check whether:

  1. CrealityPrint.exe is expected to be usable as a headless CLI on Windows.
  2. There is a recommended CLI entry point other than CrealityPrint.exe.
  3. The calc_exclude_triangles crash is a known issue.
  4. A newer CLI binary is available or planned, matching Creality Print 7.1 project files.
  5. There are required flags or environment variables for slicing .3mf projects generated by Creality Print itself.

Thanks!

Actual results

none

Expected results

none

Project file & Debug log uploads

none

Checklist of files to include

  • Log file
  • Project file

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions