Commit graph

208 commits

Author SHA1 Message Date
Erwan MATHIEU
d2e625edb3 Export project settings into BambuLab 3MF
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.
2025-04-29 11:28:56 +02:00
Erwan MATHIEU
52be6f3d2d Merge remote-tracking branch 'origin/CURA-12099_export-and-import-to-bambu-3mf' into CURA-12101_introduce-x1 2025-04-29 10:22:57 +02:00
Remco Burema
46216e1282 Renamed confusing 'Default' variant class to 'Cura3mf'.
result of code review of CURA-12099
2025-04-29 09:25:19 +02:00
Remco Burema
371f280ab8 Add newlines to the end of new files.
done as part of CURA-12099
2025-04-24 15:13:24 +02:00
Remco Burema
254087cb45 Split-out bambu-specific elements to their own 3MF 'variant'.
part of CURA-12099
2025-04-24 15:10:19 +02:00
Remco Burema
de8bf1a5df Fix 3MF export imports.
done as part of CURA-12099
2025-04-23 11:06:31 +02:00
Erwan MATHIEU
a6e324b748 Fix extruder stack corruption
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.
2025-04-22 12:52:05 +02:00
Erwan MATHIEU
f69d80f6a0 Allow selecting material mapping on printer
CURA-12099
2025-04-16 15:08:58 +02:00
Erwan MATHIEU
09af18ec8f Export proper thumbnail and gcode into BambuLab 3mf format
CURA-12099
2025-04-16 09:09:22 +02:00
Erwan MATHIEU
fe5b4bac24 Add missing typing
CURA-12138
2024-09-30 11:40:01 +02:00
Erwan MATHIEU
f28482ebac Include log file when exporting project file for support
CURA-12138
2024-09-27 15:38:27 +02:00
nilsiism
be4d4d404f
Fix transformation
The transformation from UM to savitar in the 3MFWriter does not invert the transformation in the 3MFReader. This usually doesn't cause any problems as the center mesh extension is zero and the resulting matrix the identity. However if the extent is not zero the final transformation is incorrect.
2024-07-12 13:47:21 +02:00
Erwan MATHIEU
3fbc911123 Remove useless variable declaration
The node_matrix is defined in the following if whatever the condition, so there is no need to define it first.

CURA-11902
2024-05-15 09:09:29 +02:00
Erwan MATHIEU
b75f168c55 Fix wrong placement of objects children when saving to 3MF
We now ignore the auto-centering of meshes for children objects, because it messes up with their relative position with their parent. Only the top-level objects needs to be centered, the children will follow.

CURA-11902
2024-05-14 14:54:00 +02:00
Saumya Jain
532dc0825b Values now shown while saving UCP
For all the values even numericals were passed through the translations. so nothing came out for numbers. Now we filter it for enums and then translate it.

CURA-11801
2024-04-02 13:54:08 +02:00
c.lamboo
5301233322 Fix label in save ucp
CURA-11783
2024-03-29 14:13:06 +01:00
c.lamboo
0d01f7523e Also translate label
CURA-11783
2024-03-29 13:04:56 +01:00
c.lamboo
b2fea2c1b5 Point to correct catalog
CURA-11783
2024-03-29 12:52:31 +01:00
c.lamboo
b2c0767165 Add translations to enum values
CURA-11783
2024-03-29 11:52:09 +01:00
Saumya Jain
b34865e9c8 Changed setting value to enum value while saving ucp
CURA-11783
2024-03-28 11:54:54 +01:00
Saumya Jain
f4c15c47ce
Update plugins/3MFWriter/SettingsExportGroup.py
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2024-03-27 11:18:02 +01:00
Saumya Jain
646d4e5f85
Update plugins/3MFWriter/SettingsExportModel.py
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com>
2024-03-27 11:17:46 +01:00
Saumya Jain
6ddd96f914 Add visibility control for settings in 3MFWriter plugin
Introduced a new property 'show_in_menu' to control the visibility of individual settings in 3MFWriter plugin. Modified 'SettingExport' class constructor to store this visibility status. Also, updated the 'SettingsExportGroup' model to filter the settings based on visibility before presenting them in the GUI.

CURA-11723
2024-03-26 20:37:43 +01:00
Saumya Jain
d3b1294e8b Added UCP as prefix in name while saving a UCP
CURA-11762
2024-03-22 10:18:50 +01:00
Erwan MATHIEU
80a28021e9 Add blank line to split elements visually
CURA-11734
2024-03-15 13:09:54 +01:00
Saumya Jain
59d395a121 Added learn more button while saving and opening UCP
CURA-11734
2024-03-15 12:20:56 +01:00
Saumya Jain
73e4d78735 added limit mimetype for 3mf project and removed saving ucp as mesh writer
CURA-11715
2024-03-14 13:01:01 +01:00
Saumya Jain
b06805dd85 Mimetype introduction for ucp
CURA-11715
2024-03-12 16:30:19 +01:00
Saumya Jain
5824cf5414 Both Project and UCP has same text
CURA-11715
2024-03-12 16:02:20 +01:00
Saumya Jain
20cc036b61 Save as UCP text corrected
CURA-11715
2024-03-12 14:32:48 +01:00
Erwan MATHIEU
7c00d2f0b3 Merge remote-tracking branch 'origin/5.7' into 5.7 2024-03-11 13:25:51 +01:00
Erwan MATHIEU
ff4652e16a Add comments not to translate "Universal Cura Project" 2024-03-11 12:49:11 +01:00
Saumya Jain
a4d18601c7
Merge branch '5.7' into CURA-11650-thumnails-missing 2024-03-08 16:47:19 +01:00
Saumya Jain
38685793ab
Merge branch 'main' into CURA-11705-updating-strings-in-CURA 2024-03-08 14:46:04 +01:00
Saumya Jain
fe8f209484
Merge branch 'main' into CURA-11650-thumnails-missing 2024-03-08 13:46:16 +01:00
HellAholic
0149be1228
Merge pull request #18466 from Ultimaker/CURA-9838_brim_location
Cura 9838 brim location
2024-03-08 13:32:41 +01:00
Saumya Jain
174368d1eb description of UCP
CURA-11705
2024-03-08 12:08:32 +01:00
Saumya Jain
dc031c4674 spelling of acquire
CURA-11650
2024-03-07 16:35:19 +01:00
Saumya Jain
e905ac9d33 adding a lock for the create snapshot
CURA-11650
2024-03-07 16:13:19 +01:00
Saumya Jain
dbf722e034 added settings for modifier meshes and grouped meshed
CURA-11403
2024-03-06 13:38:33 +01:00
Saumya Jain
a63cf954d4 modify-settings-for-overlap’, 'support-blocker' and 'support-mesh' saved as their respective types along with their settings
CURA-11403
2024-03-06 10:28:09 +01:00
Saumya Jain
0e70b80446 removal of preference to not open the save dialog for ucp again
CURA-11403
2024-03-05 14:56:09 +01:00
Saumya Jain
3e23ce1c37 code review fixed for PAP
CURA-11403
2024-03-05 14:08:39 +01:00
Saumya Jain
db88a48982 modifier meshes supported in case of per model setting
CURA-11403
2024-03-01 13:02:18 +01:00
Saumya Jain
9633a8e9d4 adding warning to settings not in whitelist
CURA-11403
2024-03-01 11:53:05 +01:00
Saumya Jain
f678ff2de2 icon additon in open SVG
CURA-11403
2024-02-29 18:51:48 +01:00
Saumya Jain
f3c49e494e adding option of opening model as UCP or normal project file
CURA-11403
2024-02-29 15:45:13 +01:00
Erwan MATHIEU
d7dbd13034 Finalized changing brim_outside_only to briml_location
CURA-9838
2024-02-29 12:00:28 +01:00
Saumya Jain
8d2e72a109 adding logo for cura project
CURA-11403
2024-02-28 14:31:51 +01:00
Saumya Jain
bf73623711 commit to create package
CURA-11403
2024-02-28 10:38:28 +01:00