Commit graph

28 commits

Author SHA1 Message Date
c.lamboo
501b15753d Revert "Change prime_tower_enable to prime_tower_mode in all defs/profiles"
This reverts commit 5a291f9ba9.
2024-02-22 16:20:39 +01:00
Erwan MATHIEU
5a291f9ba9 Change prime_tower_enable to prime_tower_mode in all defs/profiles 2024-02-16 09:04:48 +01:00
Ghostkeeper
6022ed0f23
Update target version in DoD
There are no changes to these settings, luckily.
This target version is now only here for documentation (like source_version was). It is no longer actually used by the code.

Contributes to issue CURA-5929.
2018-11-12 12:06:00 +01:00
Diego Prado Gesto
8c5673dd3c Change target version of the dictionary of doom to be compliant with the
new instance container's version number.
2018-03-27 11:44:24 +02:00
Simon Edwards
720cca63bd Added skin_overlap <= infill_overlap mapping.
Contributes to CURA-844 Profile converter 2.1 ==> 2.2
2016-09-07 11:31:02 +02:00
Jaime van Kessel
e3d4a33954 Fixed legacy profile reader
Updated some settings that were changed from 2.1 to 2.2. Also fixed some
architecture changes that were not changed correctly (or at all)

CURA-1493 and CURA-1779
2016-08-19 10:38:18 +02:00
Ghostkeeper
54685e8898
Rename setting skirt_minimal_length to skirt_brim_minimal_length
Also updated the description and made it a bit more accurate. Because this concerns not only the skirt, but also the brim.

Contributes to issue CURA-1678.
2016-07-22 17:12:34 +02:00
Ghostkeeper
76f78295c4
Translation correction suggested by BagelOrb
BagelOrb indicated the translation wrongly at first. This is apparently correct.

Contributes to issue CURA-1549.
2016-05-12 10:28:18 +02:00
Ghostkeeper
c79d064107
Convert raft_airgap settings to float before computing
Can't subtract strings from each other, after all.

Contributes to issue CURA-1549.
2016-05-11 18:26:18 +02:00
Ghostkeeper
5a7486a32e
Add conversion of First Layer Airgap from legacy
First Layer Airgap's internal name is raft_airgap (yeah don't ask).

Contributes to issue CURA-1549.
2016-05-11 17:27:14 +02:00
Ghostkeeper
9bf12cf7b2
Remove double profile entry from D̩̙̹͈̜ͭ̌̃ͫ͊I̤̝̻͎̖̗͖͌̐̔C̪̐ͣ̅͛̆̇̅Ț̻̄͌̐ͪ̋ͨͫȈ̭̬̪͕̖̙̪̻̿ͥO̱͖̟͓̞͗ͧ͋ͮṆ̱̥͍̦͎̋ͭ̒͛A̻̯̳̩͈̱̤͎̽ͥͨ̋͐̀R̦̯̠ͩͮͮ̓̃ͭÝ̫̜̺̻̼̉̄̏͌ͭ̏͗̊ ̣̪̠̙̜͐ͥŐ͎̞̺̦̬̜͋̓F̩̣͖̤͇͍̍ͬ̽̉̏̿̾̓͒ͅ ̩̬̥̯ͮ̀ͮͮ͑̃̎ͅD͈̪ͧͣO̘̪̟̗̹͓̅̊ͅǑ͈M̟̦̭͙͈͕̖̊̅ͤ̓ͅ 2016-03-04 16:22:31 +01:00
Ghostkeeper
5374d253e9 Evaluate to old defaults if setting is missing
If the setting is missing from the legacy profile, let it evaluate to the default in the legacy Cura.

Contributes to issue CURA-37.
2016-01-26 13:27:42 +01:00
Ghostkeeper
fbd5471f5b Set machine_nozzle_size when importing legacy profile
Machine_nozzle_size was just a machine setting when this dictionary of doom was made.

Contributes to issue CURA-37.
2016-01-21 15:01:50 +01:00
Ghostkeeper
db2af1fa0d Fix line width
The Expression of Doom is put into the Dictionary of Doom!

Contributes to issue CURA-37.
2016-01-14 11:53:32 +01:00
Ghostkeeper
e82988f5e4 Correctly parse legacy speed settings with strange floats
If the legacy profile contains float values serialised to '0.0' or '0.00' instead of just '0', this now works correctly instead of evaluating the string comparison to false.

Contributes to issue CURA-37.
2016-01-13 17:04:28 +01:00
Ghostkeeper
7f1a746a45 Make infill_before_walls opposite
The perimeter_before_infill setting was opposite of infill_before_walls, so turn this boolean around.

Contributes to issue CURA-37.
2016-01-13 16:33:39 +01:00
Ghostkeeper
a4777ac2ed Correct wall thickness setting
The shell thickness also governs the top_bottom_thickness, which is not desired.

Contributes to issue CURA-37.
2016-01-13 16:32:38 +01:00
Ghostkeeper
8b72834c9b Remove skin_no_small_gaps_heuristic
Apparently this setting doesn't exist in the legacy Cura.

Contributes to issue CURA-37.
2016-01-13 16:24:20 +01:00
Ghostkeeper
3195684892 Parse speed settings as string
In the evaluation that's passed from the Dictionary of Doom, the settings are still strings so you can only parse the settings as string...

Contributes to issue CURA-37.
2016-01-13 15:55:09 +01:00
Ghostkeeper
ef3b5792b4 Fix retraction combing import
Retraction combing was an enum (a fact which was not documented). This enum must be parsed to a boolean. The 'no skin' option now evaluates to true since it is not implemented in the new Cura.

Contributes to issue CURA-37.
2016-01-13 15:52:38 +01:00
Ghostkeeper
731fd41ecd If specific speed setting is 0, use print_speed
Something that was not in the translation document: If a speed setting for a specific part is 0 (such as infill_speed) then the global print speed should be used.

Contributes to issue CURA-37.
2016-01-13 15:42:15 +01:00
Ghostkeeper
482f0461fc Add check for profile version
The profile reader now checks whether the profile version is the same as the target version in the Dictionary of Doom.

Contributes to issue CURA-37.
2015-12-18 10:50:54 +01:00
Ghostkeeper
68496349a9 Fix import of top and bottom thickness
The legacy settings had a boolean for these, but in the current version is should just be a float.

Contributes to issue CURA-37.
2015-12-18 10:19:28 +01:00
Ghostkeeper
84613d99c4 Fix import of platform_adhesion
This setting should never be set to None.

Contributes to issue CURA-37.
2015-12-18 10:10:08 +01:00
Ghostkeeper
d2513f9bbb Fix prime_tower_size import
It was using math.sqrt incorrectly and also was trying to divide strings by each other, while they were floats.

Contributes to issue CURA-37.
2015-12-18 10:03:34 +01:00
Ghostkeeper
bfa332e227 Fix ternary operator in import of support_enable
The ternary operator of Python is different.

Contributes to issue CURA-37.
2015-12-18 09:54:35 +01:00
Ghostkeeper
5358b700ca Fix ternary operator in import of support_enable
The ternary operator of Python is different.

Contributes to issue CURA-37.
2015-12-18 09:52:50 +01:00
Ghostkeeper
513941097f Initial LegacyProfileReader plugin implementation
This plugin reads a profile from legacy Cura versions. It hasn't been tested much except that there are no syntax errors. It is currently being blocked by issue 34.

Contributes to issue CURA-37.
2015-12-17 13:49:53 +01:00