84 Commits

Author SHA1 Message Date
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
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
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
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
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
Saumya Jain
72448eec5b commit to create package
CURA-10542
2024-02-28 10:22:35 +01:00
Saumya Jain
002af4eb81 saving extruder settings on model
exported_model_settings were supposed to be None instead of {} for 3mf saving

CURA-10542
2024-02-27 16:48:44 +01:00
Saumya Jain
55e5cd8982 adding dropto buildplate drop per model in 3mf
CURA-10542
2024-02-26 14:58:53 +01:00
Saumya Jain
e99d5eb906 fixing comment
CURA-11617

CURA-11624
2024-02-22 09:59:31 +01:00
c.lamboo
3c305bb289 Fix dialog_on_ucp_project_save preference
CURA-11403
2024-02-21 19:30:36 +01:00
Saumya Jain
982f82c1a1 Removing debug statement
CURA-11624
2024-02-21 15:22:20 +01:00
Saumya Jain
2681932fec Adding cura share icon to thumbnail
CURA-11624
2024-02-21 15:20:38 +01:00
c.lamboo
6bbdd54342 Remove unused _is_ucp
CURA-11403
2024-02-20 16:17:39 +01:00
Saumya Jain
ec871782c7 PAP adding save dialog before filesave window
CURA-11403
2024-02-20 10:47:27 +01:00
Saumya Jain
80d7536763
Merge branch 'main' into CURA-11561_mockup_pap 2024-02-16 11:47:32 +01:00
Saumya Jain
355f24e29f
Merge branch 'main' into Issue-4835-allow-to-set-print-sequence-manually 2024-02-09 09:52:06 +01:00
Erwan MATHIEU
636de30c35
Merge branch 'main' into CURA-11561_mockup_pap 2024-02-06 09:59:30 +01:00
Erwan MATHIEU
b931029f1c Now using ThreeMFWriter to save PCB files
CURA-11561
2024-02-02 10:03:48 +01:00
alexandr-vladimirov
2b05a370ca Allow to set print sequence manually 2024-01-04 06:30:23 +03:00
Dmitry Gribenchuk
8116df6c21
cleanup unused import and fix comment space 2023-12-13 20:10:28 +02:00
saumya.jain
cdb2a5789d Center alligning in case of 3mf write
Also reverting commit 7e38927a8cb76d3789fde21482aeff1e254cc636

CURA-11166
2023-11-06 16:33:32 +05:30
Jelle Spijker
43322ff249
Merge branch 'main' into CURA-10475_engineplugin 2023-09-05 07:05:57 +02:00
Erwan MATHIEU
6848974fcc Fix project write error not reported on Windows
CURA-10180
2023-09-01 10:14:17 +02:00
c.lamboo
0667230055 Merge branch 'main' into CURA-10475_engineplugin 2023-08-11 10:20:11 +02:00
c.lamboo
f8b3fb3d67 Move parse/write responsibility of copy/paste to 3MFWriter/3MFReader
CURA-7913
2023-08-07 13:41:01 +02:00
c.lamboo
c436dd36cf Add unit test
CURA-10719
2023-08-02 14:03:55 +02:00
Casper Lamboo
9b6abf80d7
Capitalize first word of comment comment
CURA-10719

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-07-31 17:10:06 +02:00
Casper Lamboo
e3d482514b
Use camelCase for python function definition
CURA-10719

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-07-31 17:09:27 +02:00
c.lamboo
0e77a05c74 Correctly differentiate between plugins and materials in missing packages dialog
CURA-10719
2023-07-27 10:15:27 +02:00
c.lamboo
a1f02154f1 Add used backend plugins to 3mf metadata
These are appended to project metadata. A warning can now be shown to the user when trying to load a project file while the correct plugins are not installed. These missing plugins can concequently be downloaded from the marketplace. To show the warning and install missing package dialog the same system we use to install missing materials is used.

CURA-10719
2023-07-27 09:02:28 +02:00
Remco Burema
c4422b87f9
Merge pull request #12599 from Ultimaker/CURA-9414
Don't show scary error message when saving custom file
2022-06-28 13:07:21 +02:00
Remco Burema
1872e54842 Message might be good for debugging.
Maybe at some point someone will ask wjy they don't get a message.

part of CURA-9414
2022-06-28 13:06:59 +02:00
c.lamboo
2c074fb7a3 Don't show scary error message when saving custom file
CURA-9414
2022-06-24 14:52:42 +02:00
j.delarago
9aaf59ae86 Suggested changes
CURA-9412
2022-06-24 14:29:50 +02:00
j.delarago
dd3abf7ff0 Add check for empty material instance containers before trying to fetch material metadata. This fixes failing to save a project on a printer with no materials (UM2 for example).
CURA-9412
2022-06-22 14:05:56 +02:00
Ghostkeeper
8970f46154
Better path to packages.json in the 3MF file
Let's put it in the Cura directory with the rest of such files, as to not muddy the 3MF file with all sorts of directories that are not known to other consumers.

Contributes to issue CURA-9413.
2022-06-20 11:04:14 +02:00
j.delarago
8c2ac9f21e Remove excessive logs, make path search recursive for materials.
CURA-8610
2022-06-15 15:47:17 +02:00
j.delarago
4e80d170d1 Add logs for debugging
CURA-8610
2022-06-15 14:09:05 +02:00
j.delarago
71a817697b Before this change packages were only being checked if they were bundled after loading the package_id. However only installed packages were being loaded so this would always be false.
The solution here is to check first if a material file is inside "secure_paths" (these are install directory resource paths). If it is, it must be a bundled material.

CURA-8610
2022-06-08 10:22:24 +02:00
j.delarago
00cbee6985 Add missing continue, this was throwing errors due to it trying to packagedata.get("isbundled") on a None value.
CURA-8610
2022-06-02 17:08:25 +02:00
Remco Burema
8579a6baf3
Merge pull request #12410 from Ultimaker/CURA-8610_save_package_metadata
[CURA-8610] Remove website link from package metadata
2022-06-01 10:17:21 +02:00
j.delarago
61332b0845 Remove website
CURA-8610
2022-06-01 10:14:24 +02:00
Remco Burema
aa83c68387 This error is not about materials, not uninstalling. 2022-05-31 17:20:51 +02:00
j.delarago
29b6450704 Add some more information for the unhappy route and a message to inform the user.
CURA-6990
2022-05-31 16:30:11 +02:00
j.delarago
ec60325a3f Move metadata exporting to 3mf
CURA-8610
2022-05-31 12:39:00 +02:00