Nino van Hooff
4f55c8d832
Revert "Merge pull request #7384 from Ultimaker/CURA-7333_Fix_reloading_3mf_files_with_many_objects"
...
This reverts commit 3e46489b6ba3ae0baab347b26ceb036c1a47007d, reversing
changes made to f5669a5a277042266f9b92314948a5cfb75f58ea.
2020-04-03 15:31:08 +02:00
Kostas Karmas
8eb48672e1
Use the node id as identifier
...
Now that libSavitar allows us to read the object id from the 3mf file,
this id will be propagated as an id inside CuraSceneNodes and it will
be used as an identifier to find the object that has to be refreshed.
CURA-7333
2020-04-03 11:05:38 +02:00
fieldOfView
469c205384
Fix typo
2020-03-20 07:42:01 +01:00
fieldOfView
65346d9200
Store/retreive SceneNode in/from <object> attribute
2020-03-20 07:28:48 +01:00
fieldOfView
ecfe9c708e
Fix watching for changes in 3mf files
2020-03-05 20:13:14 +01:00
Ghostkeeper
f89f47f8d5
Get quality definition from ContainerTree rather than QualityManager
...
Contributes to issue CURA-6600.
2019-08-28 14:31:07 +02:00
Ghostkeeper
b3b59d5a5c
Add typing
2019-04-26 15:42:22 +02:00
Jaime van Kessel
4f30dffaf9
Ensure that when a corrupt 3mf file is loaded, the "failed to load" message will pop up
2018-09-11 12:58:00 +02:00
Ian Paschal
320d73c6e5
Retain 3MF mesh positions
...
Contributes to CURA-5465
Fixed bug by preventing read jobs for 3mf files from being auto-arranged.
Boyscout changes:
- Fixed typo in `ThreeMFReader.py` (`splitted` → `split`)
- Fixed code style in `CuraApplication.py` (`filename` → `file_name`)
2018-07-24 12:17:53 +02:00
Lipu Fei
9c40b1de92
Remove code that is likely for debugging
...
CURA-5545
2018-07-06 15:13:07 +02:00
Jaime van Kessel
b4f59a7822
Removed unneeded application reference in construction of meshreaders
2018-06-29 09:25:38 +02:00
Ghostkeeper
0cb6e506d2
Rewrite code style of _getScaleFromUnit
...
It should be much more readable now.
Discovered while investigating #3847 .
2018-06-28 16:39:53 +02:00
Lipu Fei
7f7a195627
Fix merge conflicts from 3.4
2018-06-05 09:02:52 +02:00
Lipu Fei
39b71add07
Reader classes are responsible for adding their mime types
...
CURA-5367
2018-06-05 08:35:24 +02:00
Jack Ha
c6ac344ed5
Merge branch '3.4'
2018-06-04 11:40:03 +02:00
Aleksei S
4922988e7d
Added .3mf extension to the MimeType
...
CURA-5367
2018-06-04 11:11:02 +02:00
Diego Prado Gesto
ddd7b056f3
CURA-5164 Make the mesh readers compliant with the new signature of the mesh reader. Also adapt the tests.
2018-05-23 17:17:41 +02:00
Aleksei S
9779c41071
Use MimeTypeDatabase to find loaded file extension and set proper project name
...
CURA-5323
2018-05-08 10:47:59 +02:00
fieldOfView
d123efd3eb
Fix loading parented objects from 3mf files
2018-03-19 18:25:40 +01:00
fieldOfView
fff0a2519a
Don't add a SettingOverrideDecorator twice
2018-03-19 17:28:09 +01:00
Lipu Fei
22573a685d
Fix quality definition comparison in quality importing
...
CURA-4946
2018-03-14 14:31:30 +01:00
Lipu Fei
07824c21e1
Move getMachineDefinitionIDForQualitySearch() into QualityManager.py
2018-02-28 11:48:20 +01:00
Lipu Fei
632e0469fb
Fix 3MF Reader
2018-02-27 16:01:11 +01:00
Lipu Fei
f304e7f2e7
Revert "Use userChanges instead of getTop()"
...
PerObjectContainerStacks are not CuraContainerStacks, so we cannot use "userChanges"
with it.
2018-02-27 16:01:11 +01:00
Lipu Fei
ccd4bb285b
Use userChanges instead of getTop()
2018-02-26 19:40:31 +01:00
Lipu Fei
3fffc2c621
WIP: Cleanup old QualityManager
2018-02-19 20:50:14 +01:00
Lipu Fei
495fc8bbd7
WIP: Refactor BuildPlateModel and split MultiBuildPlateModel
2018-02-17 22:24:05 +01:00
Ghostkeeper
f54767ae93
Remove unused _namespaces field
...
The code that used to use this is now in libSavitar.
Discovered while working on issue CURA-4872.
2018-01-31 08:45:52 +01:00
Jack Ha
71e4d42409
CURA-4795 set build plate of newly loaded 3mf files to active build plate
2018-01-16 10:47:30 +01:00
ChrisTerBeke
08322d0a5e
Move all decorators in the scene subfolder
2018-01-03 15:09:19 +01:00
Jack Ha
5152b2ae65
Solved merge conflicts. CURA-4525
2017-12-21 10:52:51 +01:00
Ghostkeeper
dad99f5292
Merge branch 'master' into feature_local_container_server
...
Contributes to issue CURA-4243.
2017-11-29 13:06:08 +01:00
Ghostkeeper
ebe766a7c8
Set definition by their ID
...
The new function for setting the definition just adds the ID to the metadata.
Contributes to issue CURA-4243.
2017-11-24 16:45:09 +01:00
Jack Ha
864f417723
CURA-4525 Fix load and save projects. Not storing build plates or object names yet.
2017-11-15 16:03:32 +01:00
Jack Ha
e21acd1a07
CURA-4525 first multi slice + multi layer data, added filter on build plate, added option arrange on load, visuals like convex hull are now correct
2017-11-09 17:03:20 +01:00
ChrisTerBeke
77cd10374c
Always set the active extruder stack when loading project file settings - CURA-4482
2017-10-31 16:00:22 +01:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
ChrisTerBeke
21ea99d9f2
CURA-4269 small code improvement for z-offset in project loading
2017-09-22 09:34:24 +02:00
ChrisTerBeke
e7e24caf97
CURA-4269 small code improvement for z-offset in project loading
2017-09-22 09:31:11 +02:00
alekseisasin
7c462f5703
After loading a model from a project Y position is ignored
...
CURA-4269
2017-09-21 17:36:12 +02:00
ChrisTerBeke
ddfb5f0b48
fix conflict after revert
2017-09-21 15:09:04 +02:00
Jaime van Kessel
c4f5c970e5
Removed uneeded logging
2017-09-19 16:39:51 +02:00
ChrisTerBeke
e18b24add2
CURA-4269 use z offset decorator to keep project file positions below bed
2017-09-18 17:24:00 +02:00
ChrisTerBeke
b386bda2c8
more fixes for reverting 11ebdf730389eca66bafc37be7c6a741c5641f46
2017-09-18 15:38:31 +02:00
ChrisTerBeke
3db04c918f
fixes for reverting 11ebdf730389eca66bafc37be7c6a741c5641f46
2017-09-18 15:37:17 +02:00
ChrisTerBeke
4ca5987ca8
CURA-4269 added a flag to determine wether auto drop should be executed or not
2017-09-18 10:50:52 +02:00
ChrisTerBeke
11ebdf7303
CURA-4269 disable auto-drop for first time loaded models from project files
2017-09-14 16:06:51 +02:00
Jack Ha
48c6c523ec
Only 3mf nodes with mesh data are getting the sliceable object decorator. CURA-3559
2017-03-20 14:43:46 +01:00
Jack Ha
b21a87b25b
Fix not slicing refreshing after deleting last object from loaded project file. CURA-3559
2017-03-20 13:41:47 +01:00
Jaime van Kessel
d93b137c95
No longer add nodes that don't have children or MeshData
...
CURA-3493
2017-03-10 15:48:29 +01:00