Commit graph

23379 commits

Author SHA1 Message Date
Nino van Hooff
d60b26db15 None-check for material diameter.
Fixes a crash for materials which don't have that metadata-entry,
such as an empty material (UM2)

CURA-6873
2019-10-10 09:27:23 +02:00
Lipu Fei
44cb810c85 If None crash
CURA-6869
2019-10-09 22:28:58 +02:00
Jaime van Kessel
cc9ec6ee49
Merge branch 'master' of github.com:Ultimaker/Cura 2019-10-09 17:12:42 +02:00
Jaime van Kessel
ed6539812e
Ensure that all material profiles get metadata updates
CURA-6868
2019-10-09 17:12:06 +02:00
Nino van Hooff
87bbf32597 Rename is_simulation_playing
CURA-6853
2019-10-09 16:53:19 +02:00
Nino van Hooff
4148f56d2b Remove external dependency from SimulationViewMainComponent
Previously, panelTop had to be defined externally whenever
SimulationViewMainComponent was used. I renamed it and set a default
so the binding by a parent is optional.

CURA-6853
2019-10-09 16:51:28 +02:00
Ghostkeeper
c5b957d0b1
Remove debug code
Contributes to issue CURA-6793.
2019-10-09 16:45:43 +02:00
Ghostkeeper
5199e3e6db
Add background job to pre-load other added printers
Not just the active one.

Contributes to issue CURA-6793.
2019-10-09 16:44:00 +02:00
Remco Burema
902b9f278e Add tooltips for view orientation buttons. 2019-10-09 15:32:39 +02:00
Lipu Fei
e5b90ee306 Fix is_experimental flag update
CURA-6869
2019-10-09 12:52:49 +02:00
Ghostkeeper
4ffda015db
Implement lazy loading for machine nodes
Should be completely transparent. It'll fail the unit tests though because it now pretends that all printers have machine nodes.

Contributes to issue CURA-6793.
2019-10-09 10:53:58 +02:00
FiCacador
9158857477
Reverse Y axis
When an AMF file was imported, the Y axis was reversed, creating a mirrored object. This reverses the Y axis so the object is correctly imported.
2019-10-09 01:56:48 +01:00
Jaime van Kessel
cadc145008
Prevent infinite recursion in material page if it could not be found 2019-10-08 16:49:54 +02:00
Ghostkeeper
0238f65e6a
Remove double call of _onGlobalContainerChanged and activeExtruderChanged on switching
When switching printers, it would first emit the global container changed signal which connects to _onGlobalContainerChanged, then update stuff in the extruder manager, then manually call _onGlobalContainerChanged again to update some other stuff with the new data from the extruder manager. This was prohibitively expensive, so this prevents that.
Another double or triple emit of the activeExtruderChanged was removed in the extruder manager when creating the extruders for a printer: It would first set the extruder number to 0, possibly emitting the signal, then emit the signal just to be sure since the extruder itself changed (rather than just the number), and then change the extruder number to the preferred extruder, possibly again emitting a signal. Now it just sets the extruder number to the preferred extruder and always emits the signal once (either through setting the extruder number or manually afterwards).

Contributes to issue CURA-6793.
2019-10-08 16:32:20 +02:00
Jaime van Kessel
987ccd28ba
Merge branch 'feature_intent' of github.com:Ultimaker/Cura 2019-10-08 16:23:03 +02:00
Jaime van Kessel
11f9992ebb
Merge pull request #6473 from Ultimaker/CURA-6632_intent_in_stats
CURA-6632 Add intent into stats
2019-10-08 16:19:19 +02:00
Ghostkeeper
dd8ee2e3d8
Switch early fail around to reduce indentation
Makes this more readable.

Contributes to issue CURA-6793.
2019-10-08 15:22:12 +02:00
Ghostkeeper
b137e6a36d
Don't add extruders twice upon start-up
The extruders are added when changing printers anyway, and we call this change signal upon start-up. So one of them is going to do unnecessary work.

Contributes to issue CURA-6793.
2019-10-08 15:21:19 +02:00
Lipu Fei
fb368a4788 Remove MachineManager.activeVariantNames
CURA-6865
2019-10-08 15:16:27 +02:00
Lipu Fei
570dfdab4b Fix project saving summary
CURA-6865
2019-10-08 15:15:13 +02:00
Lipu Fei
28466f7345 Elide long quality name
CURA-6862
2019-10-08 14:33:16 +02:00
Ghostkeeper
23904e1dca
Don't cache machine manager and application
This makes testing harder. Also fixed the typing of the application this way.

Contributes to issue CURA-6793.
2019-10-08 14:16:19 +02:00
Jaime van Kessel
23469948f6
Fix translation mistake in a message 2019-10-08 13:58:31 +02:00
Ghostkeeper
dcd782418f
Add UMS5 intent profiles
Ultimaker's marketing department is so far unable to explain why users of the Ultimaker S5 would want to print more accurately. So we wait with adding these until they have their story straight.

Contributes to issue CURA-6864.
2019-10-08 13:40:12 +02:00
Ghostkeeper
cf14fa6820
Merge branch 'feature_intent'
Here we go!

Contributes to issue CURA-6864.
2019-10-08 13:17:54 +02:00
Ghostkeeper
4edffa4a21
Temporarily remove S5 intent profiles
Ultimaker's marketing department is not able to explain why users would want to print more accurately, apparently, so we need to remove these.

Contributes to issue CURA-6864.
2019-10-08 13:16:38 +02:00
Ghostkeeper
c6d5f3ecf2
Remove temporary profiles to test with
They are no longer needed.

Contributes to issue CURA-6864.
2019-10-08 13:15:04 +02:00
Ghostkeeper
f8449796c9
Reset the camera origin when uninverting zoom direction
If zoom-to-cursor has been activated the camera origin will end up behind the camera. This resets it.

Fixes #6490.
2019-10-08 13:06:23 +02:00
BeamUp 3D
8da6fbd49d
Delete .gitignore 2019-10-08 14:00:20 +03:00
BeamUp 3D
e39c7edefa
Add BeamUp S quality files 2019-10-08 13:59:34 +03:00
Ghostkeeper
44a59a7f3b
Fix typing
Discovered during work on CURA-6793.
2019-10-08 12:44:10 +02:00
BeamUp 3D
0d0de6d729
Create BeamUp S quality folder 2019-10-08 12:42:55 +03:00
Remco Burema
6ed2b79166 Rename 'First Layer Speed' which is about small features. 2019-10-08 11:24:29 +02:00
BeamUp 3D
07e96042dc
Add BeamUp S platform 2019-10-08 12:20:21 +03:00
BeamUp 3D
7ed89c45c1
Add BeamUp S extruder 2019-10-08 12:18:52 +03:00
BeamUp 3D
3d755066a0
Add BeamUp S definition 2019-10-08 12:10:42 +03:00
Jaime van Kessel
17ce0f5eb1
Remove unused imports 2019-10-08 10:59:37 +02:00
Jaime van Kessel
58fec04650
Don't emit a globalcontainer changed signal when only the name changed
Apart form it being way to agressive (and thus, slowing things down), it
also caused a re-slice to be done when a printer was connected with another printer.
2019-10-08 10:53:58 +02:00
Ghostkeeper
c7ba02bdfb
Only show support interface angles settings if support is enabled 2019-10-08 10:38:20 +02:00
Jaime van Kessel
e6d19d9244
Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent 2019-10-08 10:37:40 +02:00
Jaime van Kessel
cfd577f235
Remove buildplate info from workspace save dialog 2019-10-08 10:37:19 +02:00
Lipu Fei
8940097265 Separate black and grey text for quality menu
CURA-6846
2019-10-07 21:35:31 +02:00
Lipu Fei
32747d2abe Merge remote-tracking branch 'origin/master' into feature_intent 2019-10-07 21:20:54 +02:00
Lipu Fei
01345650e7 Use more meaning ID
CURA-6834
2019-10-07 21:14:05 +02:00
Lipu Fei
551c9fe682 Update SliceInfo example
CURA-6632
2019-10-07 21:11:42 +02:00
Lipu Fei
74e7de1b54 Add intent into stats
CURA-6632
2019-10-07 21:11:40 +02:00
Ghostkeeper
d1f9245d26
Move Maximum Resolution and Maximum Deviation out of experimental
Yes, it does comply to our Definition of Not Experimental. And I asked.
2019-10-07 17:17:43 +02:00
Nino van Hooff
f090450bba Fix pixel-position of layer slider after the window was resized.
CURA-6853
2019-10-07 16:27:25 +02:00
Jaime van Kessel
cb526f0f31
Merge branch 'CURA-6706_intents_on_quality_mgr_page' of github.com:Ultimaker/Cura into feature_intent 2019-10-07 16:14:24 +02:00
Nino van Hooff
5bb23e4c6f Make the height of the layer slider dynamic
Prevents the action panel from overlapping the layer slider

CURA-6853
2019-10-07 15:40:42 +02:00