Nino van Hooff
7302e8ba7f
Update missed sdk versions from 7.1 to 7.2.0 for Cura 4.6
...
CURA-7383
2020-04-21 11:46:12 +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
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
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
Ghostkeeper
2410d05100
Upgrade extruder stacks
...
Stupid stuff. All of these containers need to be copied. It's not possible to work this out for all materials properly, since we can't read into these materials what their GUIDs and material types are.
2020-04-09 01:04:53 +02:00
Ghostkeeper
a5b4b15ae4
Add theoretical upgrade for definition changes
...
It's a LOT more work than I thought, because the new printer has 4 extruders instead of 2. That means that files have to be copied for the other two extruders. A big hassle.
2020-04-08 01:58:03 +02:00
Ghostkeeper
2aeca3ef8c
Add version upgrade for 4.6 to 4.7 to halve the maximum deviation
...
Contributes to issue CURA-7282.
2020-04-01 15:05:18 +02:00
Ghostkeeper
81df313f3a
Fix documentation for upgrade functions
...
There are no settings to rename. That documentation was outdated.
2020-04-01 14:58:30 +02:00
Ghostkeeper
40fc064e98
Don't remove Nozzle Length
...
Turns out this one was used: As default for the wire printing height.
Contributes to issue CURA-7328.
2020-03-30 12:10:01 +02:00
Ghostkeeper
b5dfcdd482
Remove Nozzle Length and Filament Park Distance from the settings list
...
Implements CURA-7328.
2020-03-30 12:00:59 +02:00
Ghostkeeper
bdb3c4bcad
Add version upgrade plug-in to remove settings
...
Contributes to issue CURA-7328.
2020-03-30 11:48:38 +02:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
...
We've added new things to our API. This allows plug-in developers to use them.
Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Ghostkeeper
3513266549
Guard against unexpected file structures
...
We shouldn't break on that.
Contributes to issue CURA-7024.
2020-02-04 15:52:12 +01:00
Ghostkeeper
a1f3444271
Don't delete containers from plugins directory
...
Some plug-ins provide extra profiles and we don't want to check them or delete them regardless of what their content is.
Contributes to issue CURA-7024.
2020-02-04 15:46:06 +01:00
Ghostkeeper
4307942544
Also remove instance containers referred to by extruder stacks
...
Contributes to issue CURA-7024.
2020-02-04 15:33:06 +01:00
Ghostkeeper
b549d20ec5
Document which stack layer is which container type
...
Contributes to issue CURA-7024.
2020-02-04 15:17:31 +01:00
Ghostkeeper
ccc295e2bc
Use sets for folder names from the start
...
We use a set here because we want to remove the current version from it later on. However if we change the variable to contain a set instead of a list, MyPy will start complaining that we change the type.
Contributes to issue CURA-7024.
2020-02-04 14:20:08 +01:00
Ghostkeeper
f38dc82ac8
Remove hidden stacks and their dependencies
...
This searches for stacks that are hidden and removes them, and also removes any extruder stacks that depended on those hidden global stacks and any user and quality changes profiles referred to by those removed stacks.
Contributes to issue CURA-7024.
2020-02-04 14:12:57 +01:00
Ghostkeeper
bb73831889
Cura directory may be empty
...
Contributes to issue CURA-7024.
2020-02-04 14:11:41 +01:00
Ghostkeeper
94e97aff37
Add a function that only gets called when upgrading from version 4.4
...
Contributes to issue CURA-7024.
2020-02-04 13:02:07 +01:00
Ghostkeeper
a3c5435a1d
Remove support_tree_wall_thickness
...
This setting will not be automatically translated to support_wall_thickness if it's overwritten, because that would require knowing the line width and we don't know that here. So it's hard to do.
Contributes to issue CURA-7077.
2019-12-23 16:22:17 +01:00
Ghostkeeper
50f64ca696
Merge support_tree_wall_count into support_wall_count
...
So now the two settings are used as one.
Contributes to issue CURA-7077.
2019-12-23 16:22:17 +01:00
Ghostkeeper
dbda415bba
Make merged settings extensible
...
This way it's:
- documented at the top of the file to make it easier to find all the changes, and
- easier to extend the list of merged settings.
Contributes to issue CURA-7077.
2019-12-23 16:22:16 +01:00
Ghostkeeper
824dd59e76
Code style: Spaces around binary operators
2019-12-23 16:22:16 +01:00
Ghostkeeper
71a10a262a
Move documentation nearer to code it applies to
...
Contributes to issue CURA-6522.
2019-12-23 16:22:16 +01:00
Nino van Hooff
8aae5f7563
Fix: extra ConfigParsaer arg added to wrong call
...
CURA-6522
2019-12-10 16:33:47 +01:00
Jaime van Kessel
f66b1e6fde
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-6522_revert_edge_distance_hack
2019-12-10 13:06:37 +01:00
Nino van Hooff
b30b641034
Merge remote-tracking branch 'origin/CURA-6522_one_at_a_time_overlapping_build_area' into CURA-6522_one_at_a_time_overlapping_build_area
2019-12-04 14:28:48 +01:00
Nino van Hooff
e2db4e873d
Add paramteter to Config Parser constructor to prevent comments in
...
Gcode to be remnoved by upgrade, as in CURA-6994
CURA-6522
2019-12-04 14:28:30 +01:00
Dimitriovski
74d919a5d2
Prevent deleting comments from Start/End G-codes by changing the comment_prefixes in ConfigParser
...
CURA/6994
2019-12-03 14:40:54 +01:00
Jaime van Kessel
50d72692d8
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-6522_one_at_a_time_overlapping_build_area
2019-11-20 16:48:00 +01:00
Dimitriovski
94a5b5ef90
CURA-6522_one_at_a_time_overlapping_build_area
...
Changed the setting_version to 11
2019-11-19 15:27:17 +01:00
Jaime van Kessel
00078fd659
Remove a bunch of unused imports
2019-11-08 13:38:42 +01:00
Jaime van Kessel
ad85e29c0a
Fix stupid identation issue
2019-11-04 13:11:46 +01:00
Jaime van Kessel
aa5b788b59
Fix issue with profiles getting added to non creality printers in upgrade
2019-11-04 11:30:48 +01:00
Ghostkeeper
eaedca1917
Convert unit of adaptive layers threshold and change name
...
This usage is hopefully more intuitive than the previous one.
2019-11-01 11:54:17 +01:00
Nino van Hooff
88b3a2506d
Version Upgrade 44 to 45
...
Includes test for changes made in CURA-6522
CURA-6522
2019-11-01 09:58:47 +01:00
ninovanhooff
9beea85482
Merge pull request #6566 from Ultimaker/CURA-6858_increase_sdk_ver_7_0
...
Change SDK version to 7.0.0
2019-10-23 11:54:49 +02:00
Lipu Fei
66005f28f3
Fix typo in removing Alternate Skin Rotations
2019-10-22 15:00:51 +02:00
Ghostkeeper
cb9b385a85
Remove Alternate Skin Rotations setting
...
It's been replaced completely by the Top/Bottom Line Directions setting.
2019-10-22 13:46:42 +02:00
Nino van Hooff
c62ff262ed
Change SDK version to 7.0.0
...
CURA-6858
2019-10-21 14:51:34 +02:00
Lipu Fei
94e89ad4ac
Fix merge conflicts with master
2019-09-24 14:26:43 +02:00