Commit graph

22028 commits

Author SHA1 Message Date
Jaime van Kessel
e18820b846 Fix tests for ContainerManager
CURA-6600
2019-08-12 15:37:19 +02:00
Jaime van Kessel
719e69692c Fix import issues
CURA-6600
2019-08-12 15:20:09 +02:00
Jaime van Kessel
fc3461d865 Fix the machine node test
CURA-6600
2019-08-12 15:11:59 +02:00
Ghostkeeper
98686dd088
Fix imports for CuraApplication
Also removed two unused imports.

Contributes to issue CURA-6600.
2019-08-12 15:06:04 +02:00
Jaime van Kessel
6cea609b56 Fix intentManager test
Since we changed how the QualityManager is constructed, the test should change as well

CURA-6600
2019-08-12 14:52:05 +02:00
Jaime van Kessel
99afa6b533 Fix import issue
CURA-6600
2019-08-12 14:47:28 +02:00
Ghostkeeper
74b6501235
Check for MachineNode instead of MaterialNode
I thought I already changed that, but not apparently.

Contributes to issue CURA-6600.
2019-08-12 14:39:43 +02:00
Jaime van Kessel
8c4f8e8979 Merge branch 'master' of github.com:Ultimaker/Cura 2019-08-12 14:29:38 +02:00
Jaime van Kessel
242c3a7470 Fix crash when arranging special meshtypes
CURA-6702
2019-08-12 14:29:15 +02:00
Jaime van Kessel
789eddbdee Add missing typing
CURA-6702
2019-08-12 14:23:53 +02:00
Ghostkeeper
8f075b644d
Add global quality nodes to machine node
This means that the parent of the quality node could be one of two types. A bit confusing.

Contributes to issue CURA-6600.
2019-08-12 14:18:51 +02:00
Ghostkeeper
fff26bb021
Fix imports and references to managers
Use getInstance() where applicable.

Contributes to issue CURA-6600.
2019-08-12 14:15:40 +02:00
Ghostkeeper
91e14a90b2
Update getQualityGroups to use the new ContainerTree structure
Look how greatly this is now simplified.
The fallbacks for which material nodes to check is not yet implemented. Will do that next.

Contributes to issue CURA-6600.
2019-08-12 14:02:19 +02:00
Lipu Fei
f86ca15676 Change support_infill_angle to support_infill_angles
CURA-5882
2019-08-12 13:57:29 +02:00
Jaime van Kessel
5bc7ddf3ee Merge branch 'master' of github.com:Ultimaker/Cura 2019-08-12 13:25:13 +02:00
Jaime van Kessel
290b8f4307 Add formulas to the definition file so they get notified of updates
This is a work around for a rather fundamental issue with the current setting system;
The relationships are only created based on the definitions. So if a definition doesn't
have a formula, but a profile does, it doesn't get updated in the interface.

CURA-6708
2019-08-12 13:23:42 +02:00
Lipu Fei
b65482e992 Fix typing 2019-08-12 12:22:57 +02:00
Jaime van Kessel
3b9ab9901e Merge branch 'master' of github.com:Ultimaker/Cura 2019-08-12 10:51:14 +02:00
Jaime van Kessel
ce2b1adc82 Prevent crash on sign in if the socket was already closed 2019-08-12 10:50:46 +02:00
Lipu Fei
5804110c15
Merge pull request #4598 from DesktopMetal/feature_support_line_directions
Feature: "Support Infill/Interface Line Directions"
2019-08-12 10:47:08 +02:00
Lipu Fei
3a10345c01
Fix version upgrade 2019-08-12 10:37:00 +02:00
ChrisTerBeke
57d6402611
Merge pull request #6192 from Ultimaker/CS-234_legacy_network_connect
Add legacy 'Connect over Network' button back
2019-08-12 09:11:46 +02:00
ChrisTerBeke
5ac6b7d1e8
Fix typing of received printers 2019-08-12 01:27:32 +02:00
ChrisTerBeke
e977cdd431
Add legacy 'Connect over Network' button back 2019-08-12 01:19:41 +02:00
Ghostkeeper
80e27b62d3
Don't cache singletons in constructor
It makes it harder to test these things.

Contributes to issue CURA-6600.
2019-08-09 15:53:08 +02:00
Ghostkeeper
709584cc5e
No longer listen to qualitiesChanged signal to update
It was only being called once upon initialisation. Turns out that this model updates itself properly only because the qualities don't change during runtime unless you change the active quality group (due to materials changing) or the printer itself.

Contributes to issue CURA-6600.
2019-08-09 15:14:52 +02:00
Remco Burema
d703e48007 Add random infill start setting to expert-visibility.
part of CURA-6463
2019-08-09 14:38:57 +02:00
Ghostkeeper
9ed4713cde
Don't cache singletons in fields
This makes it harder to test these things and harder to make it perform well with lazy initialisation.

Contributes to issue CURA-6600.
2019-08-09 14:34:45 +02:00
Remco Burema
3cefa39e6c Merge branch 'master' into random_infill_start_ 2019-08-09 14:27:48 +02:00
Remco Burema
44d65b2528 Don't set a formula that'll evaluate to 'on' for randomize infill start.
It's policy to default to the old behaviour as much as possible for new features. We can maybe default to true (for these values) if we ask the materials team later. Instead opted to warn the user if the infill isn't in the list of those patterns.

part of CURA-6463
2019-08-09 14:27:42 +02:00
Ghostkeeper
595b0113b3
Don't link materialsChanged signal to update in MachineManager
The materialsChanged signal only gets called when the favourites are changed, so these updates are all completely unnecessary since they just make sure that the names and such of the materials are up to date.

Contributes to issue CURA-6600.
2019-08-09 14:25:44 +02:00
Ghostkeeper
f65e672887
Don't get build plate variants from tree any more
It's not in that tree.

Contributes to issue CURA-6600.
2019-08-09 13:43:54 +02:00
Ghostkeeper
bd714f947a
Register container tree to be built once all metadata is in
So if we ever change the order of initialisation this stays working.

Contributes to issue CURA-6600.
2019-08-09 13:40:11 +02:00
ChrisTerBeke
c52974afb9 Fix possible property access on NoneType 2019-08-09 13:12:08 +02:00
Ian Paschal
9b270d5659
Merge pull request #6182 from Ultimaker/fix-network-discovery-refresh
Fixes for network plugin
2019-08-09 13:02:52 +02:00
ChrisTerBeke
e9305a20a6 cleanup not host message 2019-08-09 12:45:38 +02:00
ChrisTerBeke
90c69e079c Fix cluster host checking, show neat actionable message when not host 2019-08-09 12:38:25 +02:00
Ghostkeeper
c607247a13
Merge branch 'master' of ssh://github.com/Ultimaker/Cura 2019-08-09 11:29:21 +02:00
Ghostkeeper
ea7211f0f6
Fix spelling 2019-08-09 11:27:39 +02:00
ChrisTerBeke
669e64afdb Move cloud flow message to correct folder 2019-08-09 10:09:54 +02:00
Ghostkeeper
7e033fa22f
Merge branch 'mb-fix-layer-polygon-bounds-error' of https://github.com/smartavionics/Cura into smartavionics-mb-fix-layer-polygon-bounds-error 2019-08-09 09:55:15 +02:00
Remco Burema
bcaba58f40 Merge branch 'smartavionics-mb-small-features-slowdown' 2019-08-09 09:25:20 +02:00
ChrisTerBeke
11ef53905b Fix refresh button functionality for network printing 2019-08-09 09:24:32 +02:00
ChrisTerBeke
5bdef34121
Merge pull request #6177 from Ultimaker/CS-251_add_manage_printer_link
CS-251 Add manage printer link
2019-08-08 22:51:52 +02:00
ChrisTerBeke
a063c33d4c
Fix target URL for cloud links in monitor page 2019-08-08 22:47:07 +02:00
Ghostkeeper
81fce5d779
Merge branch 'master' of ssh://github.com/Ultimaker/Cura 2019-08-08 20:51:21 +02:00
Remco Burema
ff8a69712f Add new settings (slow for small hole/feature) to expert-visibility.
part of CURA-6464
2019-08-08 18:51:56 +02:00
Remco Burema
862cdf80a7 Constrain already warned users less.
part of CURA-6464
2019-08-08 17:37:43 +02:00
Ghostkeeper
d710a58233
Don't require VariantManager any more from CuraStackBuilder
We now use the new container tree structure there.

Contributes to issue CURA-6600.
2019-08-08 17:31:26 +02:00
Ghostkeeper
e106692165
Make ContainerTree singleton but construct in run() of application
We want to make sure that this tree is constructed during start-up after all containers have been registered, so we call getInstance() there once. If you need the tree before that, the tree will not yet have been filled and you won't get complete information, so you'd need to listen for updates.
The singleton is there so you don't need to go via CuraApplication.

Contributes to issue CURA-6600.
2019-08-08 17:30:24 +02:00