23814 Commits

Author SHA1 Message Date
novamxd
8b206751f8 Revamped ChangeAtZ
Added an enabled flag, allowing users to enable/disable ChangeAtZ layers at will without removing them
Improved performance of GCodeCommand, deferred parsing of arguments to when it is first requested as opposed to all the time
Removed type hints because the supported python version in Cura is too low
2020-04-13 22:22:21 -05:00
Evg33
d0c364983a fix startup code 2020-04-13 20:53:55 +03:00
fieldOfView
dbc4c69142 Show correct number of settings for support and anti overhang meshes 2020-04-13 09:51:54 +02:00
fieldOfView
3e64ed155d Fix tests for updated ObjectsModel
Three roles were added to the ObjectsModel: "extruder_number", "per_object_settings_count" and "mesh_type"
2020-04-13 09:18:41 +02:00
Cláudio 'Patola' Sampaio
df82beaff1 Updated pt_BR translations for Cura 4.6. 2020-04-13 05:08:53 +02:00
fieldOfView
a3dea81d7d Fix typing 2020-04-12 16:11:52 +02:00
fieldOfView
0ed4931056 Add additional information to tooltips in object selector 2020-04-12 15:46:13 +02:00
fieldOfView
4f0c24fecb Reorder code for readability 2020-04-12 09:24:41 +02:00
fieldOfView
a9ecec0d5c Hide per object settings info when there is nothing to show 2020-04-12 09:20:46 +02:00
fieldOfView
ea805d9a02 Hide extruder swatch for groups 2020-04-11 20:55:35 +02:00
fieldOfView
e13a0bca4a Add extruder swatches to object selector 2020-04-11 20:48:06 +02:00
fieldOfView
2eeabec317 Show support extruder for support meshes 2020-04-11 20:39:21 +02:00
kazooless
1c315baee4 Add Ender-3 Pro without clip boundaries for magnetic bed 2020-04-10 12:19:19 -07:00
fieldOfView
bba07d01fb Show mesh type and number of per model settings in ObjectSelector 2020-04-10 19:13:36 +02:00
Ghostkeeper
168c55ce70
Optimise all OBJ meshes
The resolution of the coordinates in these meshes is now reduced to 1 micron. Any unnecessary trailing zeros are removed. Any unnecessary data is removed (like object name). Any comments are removed. All normals are removed and no longer used by the faces.
This should save 10MB on the download and installation size or so.
2020-04-10 18:01:25 +02:00
Jaime van Kessel
d0901c91f7
Update some documentation to the new style 2020-04-10 14:05:17 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
Jaime van Kessel
6a6ad6e815
Remove unneeded semicolons 2020-04-10 13:34:57 +02:00
skriDude
ad99887693
Changed selected "default_value" to "value" 2020-04-10 12:13:10 +02:00
Ghostkeeper
96003c1335
Fix unassigned variable 'theme'
Contributes to issue CURA-7357.
2020-04-10 11:53:54 +02:00
Ghostkeeper
2f4a702606
Merge branch '4.6' 2020-04-10 11:25:17 +02:00
Ghostkeeper
9c55ae5ac5
Allow print job actions from 5.2.12
This feature was backported to 5.2 so that UM3 can actually do this as well.
2020-04-10 10:39:18 +02:00
Gabriele Rossetti
0fa828615e
Merge pull request #3 from Ghostkeeper/kaleidoscopeit-master
Implement version upgrade for Deltacomb printers
2020-04-10 09:37:16 +02:00
Ghostkeeper
2e12cc1dc2
Fix missing typing and use American instead of pro'er Bri'ish
American is Ultimaker's code style too.
2020-04-10 01:12:13 +02:00
Ghostkeeper
76f662fbfa
Fix preferred quality type
The quality type 'fast' doesn't exist for Deltacomb. I'm going to be choosing a quality type that is available for this printer which has the name 'Fast', which is quality type 'd'.
2020-04-10 00:34:03 +02:00
Ghostkeeper
c51647026c
Also make IDs unique
Took me a while to see why Cura was confusing the extruder stacks. It worked fine during the actual upgrade itself. Then later after the start-up sequence it suddenly re-wrote them wrongly.

Why is there an ID field in here? Shouldn't it just take the file name as the ID? Stupid!
2020-04-10 00:28:27 +02:00
Ghostkeeper
45d3f8ca6a
Fix typo
With this it's starting to look like something. It's no longer giving any corruption errors now with any of my test cases. However e1 is still being set to the definition of e3 for some reason.
2020-04-09 22:12:30 +02:00
Ghostkeeper
c8b6d7ec00
Extruder 1 got duplicated, not extruder 0 2020-04-09 21:58:14 +02:00
Ghostkeeper
851aef68bc
Don't rename empty_quality_changes
This one doesn't get duplicated since it doesn't actually list the Deltacomb printer.
2020-04-09 21:54:22 +02:00
Ghostkeeper
519d28a142
Fix upgrading user containers, which list the printer definition rather than the extruder 2020-04-09 21:52:23 +02:00
Ghostkeeper
e38b79fe35
Filenames don't include an extension
That makes this a lot easier actually.
2020-04-09 21:36:28 +02:00
Ghostkeeper
4bdea50fd5
Use deepcopies rather than copies to copy parsers
Turns out that the parsers apparently refer to a lot of subobjects which are crucial here, and they don't implement the normal copy well. Deepcopy it is then.
2020-04-09 21:26:35 +02:00
Ghostkeeper
accf080fb6
Don't use default= kwarg for dictionary .get function
It doesn't accept key word arguments.
2020-04-09 21:22:06 +02:00
Nino van Hooff
95a8eb6ace Merge remote-tracking branch 'origin/4.6' into 4.6 2020-04-09 17:06:06 +02:00
Nino van Hooff
92d605f022 Update wording for authorization server error message
CURA-7346

(cherry picked from commit ea00ff3c4742d7c9f7f9574f72e24e3255641ef6)
2020-04-09 17:05:26 +02:00
Jaime van Kessel
cf6ad0736a Gracefully handle binding erorr for local OAUTH2 Server
CURA-7346

(cherry picked from commit 849e012756595e266be66d60c32beebbbe61beac)
2020-04-09 17:05:19 +02:00
Nino van Hooff
ea00ff3c47 Update wording for authorization server error message
CURA-7346
2020-04-09 16:59:43 +02:00
Jaime van Kessel
d1337c9e22
Prevent printer from being added twice if it's in cloud and local
CURA-7055
2020-04-09 16:39:47 +02:00
Ghostkeeper
1047cdd76c
Catch OSError when actually writing the UFP stream
This includes getting an error message when we don't have write access any more or when the file was deleted or connection lost while we were writing to it.

Fixes Sentry issue CURA-GX.
2020-04-09 14:55:14 +02:00
Ghostkeeper
54b6c2a54e
Merge branch '4.6' 2020-04-09 12:55:50 +02:00
Ghostkeeper
953630ad0b
Be robust against some objects not having an extruder assigned
This could happen for instance when a plug-in adds a model.

Fixes Sentry issue CURA-GR.
2020-04-09 12:55:07 +02:00
skriDude
53c7bfff1d
Update in print quality 2020-04-09 12:36:21 +02:00
Ghostkeeper
c79d7d89b3
Merge branch '4.6' 2020-04-09 11:29:27 +02:00
Ghostkeeper
d5166030d7
Don't detect retractions if E is almost equal, but rounding errors
Contributes to issue CURA-7351.
2020-04-09 11:27:40 +02:00
Ghostkeeper
9b997d421b
Keep current_e updated even if not finding retractions
Otherwise the new E is never going to be lower than the current E. I don't know how this ever worked then.

Contributes to issue CURA-7351.
2020-04-09 11:22:05 +02:00
Ghostkeeper
d9649dc3dd
Reduce indentation and complexity by using a pre-check
Contributes to issue CURA-7351.
2020-04-09 11:03:10 +02:00
fieldOfView
d1c79a3af2 Mark models that are outside the buildarea in the objectlist 2020-04-09 10:53:43 +02:00
Ghostkeeper
40cb3e37a9
Also actually update global stacks for Deltacomb
Really hope that this works.
2020-04-09 01:48:15 +02:00
Ghostkeeper
18ebdfafb7
Upgrade other per-extruder instance containers too
Global instance containers will also go through this function but won't get picked out by the if statement here.
2020-04-09 01:23:11 +02:00