26315 Commits

Author SHA1 Message Date
Daniel Kurth
f2c1b6234d refactor: Small changes to Atom 3 machine def file
Atom 3 machine definitions file:
- removes "default_values" where "values" are present
2021-03-15 12:22:34 +01:00
Daniel Kurth
4eefca94f9 refactor: Several small changes Atom 3 def files
Atom 3 machine definitions file:
- Not correctly set maximum or minimum values are removed
- removed "default_values" where "values" are present
- "support_z_distance" is now dependent on the "layer_height"
- "support_top_distance" and "support_bottom_distance" are removed to as they should be equal to the "support_z_distance"
2021-03-15 12:11:44 +01:00
Jelle Spijker
b604bbd255
Store secrets as securely as possible
Use the keyring if allowed, available, otherwise use preference

CURA-7180 keyring storage
2021-03-15 11:48:42 +01:00
Daniel Kurth
f9a82ffdd8 fix: Atom 3 reference extruder to machine
The "machine" value in the atom3_extruder_0 file is set to the file name of the Atom 3 machine definition file.
2021-03-15 11:05:59 +01:00
Gabriele Rossetti
e9573e4d2c Fixed some bugs and name issues emerged during the build 2021-03-14 12:21:29 +01:00
Gabriele Rossetti
cc010bb390 New Deltacomb 3D Printer Series profiles 2021-03-14 11:56:21 +01:00
Gabriele Rossetti
015af88754
Merge pull request #4 from Ultimaker/master
Merge With recent Ultimaker Code
2021-03-14 11:47:56 +01:00
Kostas Karmas
547698cffc Change TableView row color and text color when the row is selected
CURA-8066
2021-03-12 17:30:17 +01:00
Jelle Spijker
47df060bee
Added fundaments of SecretStorage vault
This class will handle the storing and processing
of secrets. Such as tokens. It will try to use the system
keyring by default. Falling back to less secure methods,
if the user doesn't allow access to the keyring or if
the back-end is unsupported.

CURA-7180 keyring storage
2021-03-11 14:21:51 +01:00
Daniel Kurth
cb3205c382 fix: Removes custom setting in machine def file
Removes custom settings in the machine definition files. These were used to set custom values for the maximum print temperature, maximum retraction speed and distance based on the tool which is used (PTFE or full metal hot end). Thus all variants are also updated. This is done based on feedback of a pull request.
2021-03-10 21:10:53 +01:00
Daniel Kurth
87cc83bbc4 Merge branch 'master' of https://github.com/Ultimaker/Cura into atom3_printers 2021-03-10 21:08:04 +01:00
Ghostkeeper
87d3f6fd22
More consistent Initial Retracted Position setting
Contributes to issue CURA-8038.
2021-03-10 18:24:01 +01:00
Ghostkeeper
74ac7a4cea
Merge branch 'CURA-8148_extruders_switch_retraction_initialization' of https://github.com/sisu70/Cura into sisu70-CURA-8148_extruders_switch_retraction_initialization 2021-03-10 17:38:00 +01:00
Jelle Spijker
2e3d85b9d0
Merge pull request #9377 from Ultimaker/fix_layer_view_greyout_on_model_switch
Fix layer view being greyed out after reslicing gives same current layer
2021-03-10 07:49:24 +01:00
Tom Callaway
eb5baebd64
add Lulzbot TAZ Pro and Lulzbot Mini 2 profiles (#9335)
* add Lulzbot TAZ Pro and Lulzbot Mini 2 profiles

* Update resources/definitions/lulzbot_taz_pro_dual.def.json

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-09 09:27:46 +01:00
Ghostkeeper
fde9449358
Add test to ensure that no definitions define new settings
See the documentation of the test.
2021-03-08 16:53:48 +01:00
KeltE
cbafac6133
Cura Definition for Flasforge DreamerNX (#9303)
* Add files via upload

* Update resources/definitions/flashforge_base.def.json

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>

* Update resources/definitions/flashforge_base.def.json

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>

* Update resources/definitions/flashforge_dreamer_nx.def.json

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>

* Update resources/definitions/flashforge_dreamer_nx.def.json

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>

* Rename ff_dreamernx_extruder_0.def.json to flashforge_dreamernx_extruder_0.def.json

* Update flashforge_dreamer_nx.def.json

Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-08 16:51:45 +01:00
Jelle Spijker
720b356221
Merge remote-tracking branch 'origin/master' into CURA-7180_keyring_storage 2021-03-08 15:23:46 +01:00
Konstantinos Karmas
1459d2c462
Merge pull request #9371 from Ultimaker/CURA-8034_Prevent_saving_project_from_presliced_file
Set & use enabled property for saving projects when ufp/gcode is loaded
2021-03-08 14:46:46 +01:00
3dg-Lester
90076c5586
Update resources/definitions/two_trees_sapphireplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:42:09 +08:00
3dg-Lester
04e30b9fae
Update resources/definitions/two_trees_sapphireplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:41:54 +08:00
3dg-Lester
135484744b
Update resources/definitions/two_trees_sapphireplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:41:41 +08:00
3dg-Lester
0e5da37c31
Update resources/definitions/two_trees_sapphireplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:41:12 +08:00
3dg-Lester
1010b180e2
Update resources/definitions/two_trees_bluerplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:40:57 +08:00
3dg-Lester
3593a54754
Update resources/definitions/two_trees_bluerplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:40:46 +08:00
3dg-Lester
5ce25058af
Update resources/definitions/two_trees_bluerplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:40:34 +08:00
3dg-Lester
c8e61c790a
Update resources/definitions/two_trees_bluerplus.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:40:24 +08:00
3dg-Lester
98ec1132b1
Update resources/definitions/two_trees_bluer.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:40:13 +08:00
3dg-Lester
ef1beee166
Update resources/definitions/two_trees_sapphirepro.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:40 +08:00
3dg-Lester
4cddd4cd1b
Update resources/definitions/two_trees_sapphirepro.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:35 +08:00
3dg-Lester
5a6239a1a9
Update resources/definitions/two_trees_sapphirepro.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:27 +08:00
3dg-Lester
d7c3e1b0ef
Update resources/definitions/two_trees_sapphirepro.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:22 +08:00
3dg-Lester
994b38f1df
Update resources/definitions/two_trees_bluer.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:17 +08:00
3dg-Lester
ca581d7992
Update resources/definitions/two_trees_sapphirepro.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:09 +08:00
3dg-Lester
a216d51c45
Update resources/definitions/two_trees_base.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:39:03 +08:00
3dg-Lester
76296f15b5
Update resources/definitions/two_trees_base.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:38:57 +08:00
3dg-Lester
298d8dc5c7
Update resources/definitions/two_trees_bluer.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:38:49 +08:00
3dg-Lester
094a9077af
Update resources/definitions/two_trees_bluer.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:38:42 +08:00
3dg-Lester
1e5487134e
Update resources/definitions/two_trees_bluer.def.json
Co-authored-by: Konstantinos Karmas <konskarm@gmail.com>
2021-03-07 10:38:35 +08:00
Ghostkeeper
a379e01f1d
Fix layer view being greyed out after reslicing gives same current layer
This fixes a very old bug in Cura where sometimes after re-slicing it would display the layer as if you've been going horizontal through the path slider, even if you never touched the horizontal path slider.
This was caused by a tracking flag in the SimulationPass, _switching_layers. This bit of state in the SimulationPass was tracking whether the user is going through the vertical layer slider (True) or the horizontal path slider (False). If False, the nozzle mesh is drawn and lower layers get drawn in a shadowy shader. The state of this flag was being updated on every render by looking at whether the previous render has the same current layer number but a different path index. If so, it changed to False, meaning that it assumes you're going through the paths on a layer and things get shadowy.
However if you slice a different object such that the number of layers stay the same (or at least the current layer) but the number of paths on a layer change (e.g. by reducing Maximum Resolution, or by loading a different model that happens to be equally tall) then it would falsely think you were going through the horizontal path slider.

This change effectively resets this state flag when any layer data is changed in the scene. So if you re-slice, it always goes back to _switching_layers = True.

The side effect is that if you were going through the paths of a layer and you re-slice, you won't end up on the same path even if the number of paths on your current layer didn't change due to the reslice. But I think that is more towards what the user would accept a re-slice to do anyway.

I decided to take a look into this bug because I'm making a script to automatically refresh the screenshots of the Settings Guide plug-in. This script frequently hits cases like this, and it's easier to fix this bug than to work around it in my script.
2021-03-06 15:48:32 +01:00
Ghostkeeper
2cdb025adb
Document layer view navigation functions 2021-03-06 14:21:38 +01:00
Ghostkeeper
e9d3ba9b74
Simplify limits on [minimum] layer/path number
Just a few calls to min() or max() do the trick, rather than if statements.
I consider this more semantic, because we just intend to clamp values here, and min() and max() are commonly used to do that.
It should also be slightly faster because it's less Python and more internal in CPython, but considering that this happens at best like 60 times per second the performance impact of this will be practically nil.
2021-03-06 14:15:48 +01:00
Ghostkeeper
3ef01ecbd8
Limit minimum path number to path count, not layer count
This was probably copy-pasted wrongly years ago.
The Cura interface currently doesn't allow changing the minimum path anyway, so this doesn't have any effect on the actual behaviour of Cura. Still, can't hurt to fix this, for posterity.
2021-03-06 14:05:17 +01:00
Jaime van Kessel
cc1aadde12
Set & use enabled property for saving projects when ufp/gcode is loaded
CURA-8034
2021-03-05 14:09:39 +01:00
Fenne
1193c197c2
Merge pull request #9367 from Ultimaker/new_issue_templates
Fixed typo and clarified message
2021-03-04 17:30:06 +01:00
fvrmr
6ef3e37fbd Fixed typo and clarified message
Fixed typo in featurerequest.yaml
Clarified message in bugreport.yaml about uploading project file
2021-03-04 17:28:09 +01:00
Jaime van Kessel
2b63fb1081
Add spaces between names of issue templates 2021-03-04 16:52:59 +01:00
Fenne
fdb957ecf2
Merge pull request #9365 from Ultimaker/new_issue_templates
New issue templates
2021-03-04 16:51:04 +01:00
Jaime van Kessel
258313d192
Swap out depricated tag 2021-03-04 16:49:25 +01:00
Jaime van Kessel
2583493638
CHange name of template so that it's unique 2021-03-04 16:47:49 +01:00