138 Commits

Author SHA1 Message Date
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
Ghostkeeper
d1fada78e6
Merge branch '3mf_speedup' 2017-03-06 17:03:42 +01:00
Jaime van Kessel
b6118a764e Updated documentation
CURA-3215
2017-02-06 14:13:20 +01:00
Jaime van Kessel
a3326a8313 3mf reader now uses libSavitar for loading
This greatly decreases (~factor 10) the time required to load 3mf files

CURA-3215
2017-02-02 15:54:44 +01:00
Simon Edwards
eb43806d7a Merge branch 'master' into python_type_hinting 2017-01-27 15:37:30 +01:00
Jaime van Kessel
d9541a08b8 3mf reader now uses fast normal calculation
CURA-3215
2017-01-26 17:27:41 +01:00
Simon Edwards
1b43e4981e Fixes for all of the plugins. Added a script to invoke mypy. (I'm stiiiick of .bat files. They are just broken.) 2017-01-17 16:57:37 +01:00
Simon Edwards
fb70eb6813 Merge branch 'master' into python_type_hinting 2017-01-17 08:42:55 +01:00
Youness Alaoui
9e85d6c894 Fix GCodeReader-feature related _readMeshfinished to match changes upstream.
The job.getResult() now returns a list of nodes now, so we need to loop
over those nodes instead of taking it as a single node value.
2016-12-23 15:53:17 -05:00
Victor Larchenko
620a3891da D6: Moved decorator to cura 2016-12-23 15:53:16 -05:00
Victor Larchenko
4aa59950ca D5: Added decorator 2016-12-23 15:53:16 -05:00
Victor Larchenko
8987aa2048 T466: Revert the previous commit since it messed up the file rights. 2016-12-23 15:53:15 -05:00
Victor Larchenko
64d7bb0c2a T466: Added ability to print loaded gcode 2016-12-23 15:53:14 -05:00
Simon Edwards
d4619da358 Merge branch 'master' into python_type_hinting 2016-12-13 14:39:35 +01:00
Simon Edwards
74e5798509 Lots of import fixes. Eliminated the import hacks such as those used inside UM/Settings/__init__.py.
CURA-2917
2016-12-12 16:05:35 +01:00
Jack Ha
701eba3a0e Made 3mf mesh centering more robust. 2016-12-08 12:45:38 +01:00
Jack Ha
7a35e4170b Moved translation functionality needed for 3mf into ThreeMFReader. Fix CURA-3089, impacts CURA-382 2016-12-05 11:28:06 +01:00
Jaime van Kessel
1f21957cb4 Fixed issue with per-object settings in 3mf reader
CURA-1263 and CURA-382
2016-11-10 11:46:13 +01:00
Jaime van Kessel
826c3edd50 Added per object setting retrieval for 3MF
CURA-1263
2016-11-07 13:14:45 +01:00
Jaime van Kessel
35a4fe60d0 Put the XML warning in the right spot 2016-11-04 17:12:20 +01:00
Jaime van Kessel
726b935b78 3mf reader now gives warning if it couldn't load cElementTree 2016-11-04 17:03:52 +01:00
Jaime van Kessel
fce75febef 3MF now handles loading of multiple nodes correctly
Contributes to CURA-1263
2016-11-03 13:31:51 +01:00
Jaime van Kessel
d8e4e11b86 3MF reader now handles object types
CURA-382
2016-11-02 17:27:22 +01:00
Jaime van Kessel
fc3d16e8c8 Removed the need of a _3mf root node
This significantly decreases the issues that we had with saving files, as we no
longer need to take special cases into account CURA-382
2016-11-01 11:16:43 +01:00
Jaime van Kessel
273b996cc1 3MF reader now correctly supports unit
CURA-382
2016-10-28 16:42:07 +02:00
Jaime van Kessel
c240f42b64 3MF files are now correctly loaded inside the build platform
CURA-382
2016-10-28 16:19:53 +02:00
Jaime van Kessel
70a33d9dc5 Fixed drop to buildplate issue with 3mf
CURA-382
2016-10-28 13:44:52 +02:00
Jaime van Kessel
0d9fd3b410 3mf reader now sets names of nodes
This makes debugging a whole lot easier. CURA-382
2016-10-28 13:18:29 +02:00
Jaime van Kessel
e1ebd3e225 3mf files are now placed in their own worldspace
CURA-382
2016-10-28 13:01:21 +02:00
Jaime van Kessel
8ac7558677 Apply transformation again
CURA-382
2016-10-07 14:31:48 +02:00
Jaime van Kessel
47870f43ef Groups with just a single item are now discarded
CURA-382
2016-10-07 13:51:53 +02:00
Jaime van Kessel
7c59f8f2f2 Multiple objects are now handled with right transformation 2016-10-07 12:51:51 +02:00
Jaime van Kessel
7d28f5cdf1 3mf reader now uses correct origin 2016-10-07 09:23:26 +02:00