Repository navigation
Conversation
Stock machine presets omit nozzle_volume_type, so --set rejected it, and Bambu Studio's CLI slices for a Standard nozzle unless the variant is named with --nozzle-volume-type. Route the key to the machine config and pass the flag, so a high-flow nozzle gets its own filament variant. Without the override the Studio invocation is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017WYsJjZDRreR4EcqEwpWtv
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
The single-value path works. One blocking bug: Can you switch the join to |
Problem and impact
A printer with a 0.4 mm High Flow nozzle (X1C
HE01) cannot be sliced for it. Stock machine presets omitnozzle_volume_type, soslice --set nozzle_volume_type="High Flow"exits 2 withunknown setting. Bambu Studio's CLI also slices for a Standard nozzle unless the variant is named with--nozzle-volume-type; a loaded config value alone is not enough. The job then uses the Standard filament variant: on an X1C gridfinity bin in Bambu PETG HF, the Standard slice predicted 2989 s against 2905 s for High Flow, with different G-code throughout.Change
--set nozzle_volume_type=...is routed to the machine config even when the preset omits the key (other unknown keys still fail).slicepasses the same value to Studio as--nozzle-volume-type.TestRunWithFakeStudio).Verification
make ci: lint 0 issues, vet, race tests and build pass. The pinnedgoimportsandgofumptreport no differences (run directly, because the Makefile's/bin/shpipeline printsread: arg counton this host).functional-petgwithBambu PETG HF,--color 000000:--set nozzle_volume_type="High Flow": savedproject_settings.confighasnozzle_volume_type: ["High Flow"], the filament uses the High Flow variant, and prediction is 2905 s / 20.38 g.Standard, 2989 s / 20.34 g.