Skip to content

CLI slicing 3MF fails with "nozzle_volume_type not found" + assertions (P2S 0.4) #9636

Description

@tylerreece22

Bambu Studio Version

02.05.00.66 (built from source, arm64; same as release tag)

Where is the application from?

Built from source by yourself or others

OS version

macOS 26.1 (Build 25B78)

Additional system information

Architecture: arm64

Printer

Bambu Lab P2S

Printer Firmware Version

Unknown (CLI slicing only; printer not connected)

How to reproduce

  1. Use BambuStudio CLI 02.05.00.66 (built from source) on macOS arm64.
  2. Run:
    BambuStudio --allow-newer-file --slice 0 --export-3mf /tmp/out.3mf Millenium_Falcon_100%_infill.3mf
    (3MF was resaved from Bambu Studio 2.5.0.66; printer preset: Bambu Lab P2S 0.4 nozzle; process: 0.20mm Standard @bbl P2S; filament: Bambu PLA Basic @bbl P2S)
  3. Same result with:
    --uptodate
    --load-settings ".../machine/Bambu Lab P2S 0.4 nozzle.json;.../process/0.20mm Standard @bbl P2S.json" --load-filaments ".../filament/Bambu PLA Basic @bbl P2S.json"

Actual results

CLI logs:

  • 3207: nozzle_volume_type not found, when different_extruder or multiple extruder, new_printer_name Bambu Lab P2S 0.4 nozzle, extruder_count 1
    Then the CLI crashes with an assertion, e.g.
  • Assertion failed: (std::abs(d2new - clip_dist_scaled2) < 1e-5 * clip_dist_scaled2), function smooth_outward, file MutablePolygon.cpp, line 330.
  • Assertion failed: ((sign1.first == 0 && sign1.second == 0) == (sign2.first == 0 && sign2.second == 0)), function segments_intersect, file Geometry.hpp, line 149.
    No output 3MF is produced.

Expected results

CLI should slice the 3MF and export a sliced 3MF (or G-code) without crashing.

Project file & Debug log uploads

Attached:

  • Project file zip: Millenium_Falcon_100_infill.zip
  • Debug log zip: bambu-debug-log.zip

bambu-debug-log.zip

Checklist of files to include

  • Log file
  • Project file

Metadata

Metadata

Assignees

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