Diego Prado Gesto
43657010ba
CURA-5164 The Preferences is not a singleton class anymore since in some point
...
several instances need to be created.
- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.
- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.
- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
Lipu Fei
62521e93db
Make sure that project writer runs on Qt thread
...
CURA-5229
- Move @call_on_qt_thread to a separate module
- Make sure that project writer runs on Qt thread because itself and the
calls it makes can create new QObjects such as InstanceContainers, and
this must happen on the Qt thread.
2018-04-16 15:32:12 +02:00
Lipu Fei
75d9297c7d
Optimize 3MF writer and XML material serialization
...
CURA-5049
2018-03-06 17:05:58 +01:00
Jack Ha
a460804bbe
CURA-4924 always use interpolation = None for configparser, preventive
2018-02-07 10:21:40 +01:00
Ghostkeeper
50ccf101d8
Don't write Octoprint keys to workspace projects
...
They should not be shared since they are private keys, so let's protect the user from accidentally sharing it via a project file.
2018-01-22 15:37:51 +01:00
Ghostkeeper
1029d4509c
Merge branch 'master' into feature_local_container_server
2017-12-08 16:03:05 +01:00
Lipu Fei
298a659c09
Save is_debug_mode as string
...
CURA-4683
2017-12-06 14:49:00 +01:00
Lipu Fei
569e040955
Add more complete version info in project files
...
CURA-4683
2017-12-06 14:46:41 +01:00
Ghostkeeper
7ac3c1446b
Make ignored metadata keys a set
...
It needs to be a set now for Uranium.
Contributes to issue CURA-4243.
2017-10-27 16:25:52 +02:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
Ghostkeeper
2fbcfe65ea
Only write the information we need to workspaces
...
This way we can be sure that no sensitive information enters the workspaces even if some future developer or a plug-in puts it there.
Contributes to issue CURA-4371.
2017-09-26 09:56:49 +02:00
Lipu Fei
3a46a337ff
In SliceInfo, use the global stack if it is a single-extrusion machine
...
CURA-4167
Single extrusion machines don't have extruder stacks in the current
architecture.
2017-08-15 14:19:23 +02:00
Lipu Fei
024f2384e0
Fix mutable arg problem and rename arg
...
CURA-4049
2017-07-18 08:32:22 +02:00
Lipu Fei
68989f2871
Use optional arg in serialize() to exclude network auth keys
...
CURA-4049
2017-07-17 11:04:08 +02:00
Lipu Fei
191dfdcb33
Save Cura version to project files
...
CURA-3822
2017-05-17 09:23:43 +02:00
Jaime van Kessel
16447f7173
Authentication data is now stripped from project file before saving
...
CURA-1263
2016-12-05 12:46:53 +01:00
Jaime van Kessel
8a67f44cf0
We now also write with the preferedSuffix
...
CURA-1263
2016-11-22 13:38:06 +01:00
Jaime van Kessel
611572c324
Extruder stack is now saved (instead of the material being saved as the stack)
...
CURA-1263
2016-11-10 14:11:33 +01:00
Jaime van Kessel
d477630cce
Updated documentation
...
CURA-1263
2016-11-10 11:34:12 +01:00
Jaime van Kessel
3ab283bfed
Saving workspace now works when there are no meshes to save
...
CURA-1263
2016-11-10 11:29:47 +01:00
Jaime van Kessel
61d1199abf
The entire machine is now saved to 3mf file when saving workspace
...
CURA-1263
2016-11-10 11:27:25 +01:00
Jaime van Kessel
54040d4c99
Moved 3mf writer here from Uranium
...
CURA-1263
2016-11-10 10:39:20 +01:00