Skip to content

CURA-12074 introduce bambu printers#20563

Merged
HellAholic merged 49 commits intomainfrom
CURA-12074_introduce-bambu-printers
May 2, 2025
Merged

CURA-12074 introduce bambu printers#20563
HellAholic merged 49 commits intomainfrom
CURA-12074_introduce-bambu-printers

Conversation

@wawanbreton
Copy link
Copy Markdown
Contributor

@wawanbreton wawanbreton commented Apr 29, 2025

Add Bambulab A1, A1 mini and X1 basically working profiles
Expand 3MF writer to handle .gcode.3mf format used by BambuLab printers, which contains extra data (including GCode)

CURA-12099
CURA-12346
CURA-12101
CURA-12074

Requires Ultimaker/Uranium#996
Requires Ultimaker/libSavitar#55
Requires Ultimaker/pySavitar#6

wawanbreton and others added 30 commits April 1, 2025 15:12
CURA-12074
When prime tower is enabled, use it as a flush so that we don't have to use the usual flushing sequence of the printer, which is much slower
CURA-12346
For some dark reason, importing the ExtruderStack class in the ThreeMFWriter somehow corrupts the loading of the extruders stacks. As it is imported only for typing, do the import only for type-checking.
CURA-12346
Grid infill prints very ugly at high speeds, this one is much cleaner and provides a proper surface for roofs
…file.

This would cause the 3MF projects from other vendors, which isn't a 'project' to us in the sense that it isn't a Cura project, to have their models 'arranged', unless the file was opened via 'recent files', in which case the open mode was set to always ask instead.

done as part of CURA-12099
wawanbreton and others added 15 commits April 28, 2025 10:16
CURA-12101
The printer parses the machine_start_gcode to allow selecting the filaments mapping at start time, without it the user has to set the filaments in fixed order. This is probably a security to ensure the proper filament is loaded at start.
CURA-12101
The disallowed area is the place where the print head goes to cut the filament, so it must really be avoided. On other models this place is outside the build area.
I also reduced the printable size, otherwise the head would sometimes bump into the borders and gets shifted.
…ers' into CURA-12099_export-and-import-to-bambu-3mf
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2025

Test Results

23 783 tests  +116   23 781 ✅ +116   48s ⏱️ +2s
     1 suites ±  0        2 💤 ±  0 
     1 files   ±  0        0 ❌ ±  0 

Results for commit ba5795e. ± Comparison against base commit a90b7fb.

♻️ This comment has been updated with latest results.

CURA-12101
There is a specific unit test that disallows custom settings in printer definitions, so this looks like the proper way of doing it. New settings are disabled by default so should be visible only for the printer that explicitly sets them enabled.
Comment thread resources/variants/bambu/bambulab_p1s_0.4.inst.cfg Outdated
Comment thread resources/variants/bambu/bambulab_p1s_0.4.inst.cfg Outdated
Comment thread resources/variants/bambu/bambulab_x1c_0.4.inst.cfg Outdated
Comment thread resources/variants/bambu/bambulab_p1p_0.4.inst.cfg Outdated
Comment thread resources/quality/bambu/bambulab_x1c_0.4_PLA_standard.inst.cfg Outdated
Comment thread resources/definitions/bambulab_x1.def.json Outdated
@HellAholic HellAholic merged commit 50a852a into main May 2, 2025
11 checks passed
@HellAholic HellAholic deleted the CURA-12074_introduce-bambu-printers branch May 2, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants