36 Commits

Author SHA1 Message Date
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
Jaime van Kessel
24474b4434 Made too broad exception handling more specific 2019-09-02 09:52:36 +02:00
Jaime van Kessel
9b45b56e61 Fix simulation view not showing bars for g-code 2019-08-30 11:43:59 +02:00
Jaime van Kessel
e8cd5723c9 Speedup the layerview
We were doing a lot of re-calculations that served no purpose (and
even slowed down the rest of the application)
2019-08-27 13:26:55 +02:00
Jaime van Kessel
ea11187eaf Don't reset the data when the root updates
Resolves #6258
2019-08-27 13:18:11 +02:00
Jaime van Kessel
511eba28b6 Ensure that min/max feedrate & thickness gets defined in init 2019-08-27 13:06:33 +02:00
Jaime van Kessel
9c2f8a94d5 Greatly simplify the SimulationViewProxy 2019-08-27 13:03:23 +02:00
Jaime van Kessel
d8ddcba091 Fix typing ignore for breath frist iterator 2019-07-23 13:40:40 +02:00
Jaime van Kessel
9ceb9ce18b Fix typing issues
They were caused by upgrading to a higher mypy version, which found more mistakes
2019-07-23 12:58:46 +02:00
Ghostkeeper
c333899d18
Fix reference to renamed file 2018-12-31 11:09:26 +01:00
Ghostkeeper
f1c28498a6
Display 0 if there are no measurements for minimum values
Don't display max float then.
2018-12-19 11:00:00 +01:00
Jaime van Kessel
61442545cb Fix codestyle
CURA-5829
2018-10-31 13:56:55 +01:00
Jaime van Kessel
f773030218 Add main stage to previewStage so that SimulationView can use it
CURA-5829
2018-10-31 09:37:21 +01:00
Jaime van Kessel
0a3803d665 Add CuraView, which does something similar to CuraStage
So instead of relying on strange activeViewProxy, it's up to the CuraView to provide a set of components.
These can subsequently be used by the active stage again.

CURA-5829
2018-10-29 16:21:16 +01:00
Lipu Fei
d91d0fab10 Fix SimulationView: missing import 2018-10-03 17:27:21 +02:00
Jaime van Kessel
dabe747ec0 Merge branch 'CURA-5744-move-oauth-login' of github.com:Ultimaker/Cura 2018-10-03 13:25:09 +02:00
Lipu Fei
b97f4ea30c Merge remote-tracking branch 'origin/3.5' 2018-10-03 11:49:38 +02:00
Diego Prado Gesto
6db1342255 Fix the layer view when there is a print job with only one layer.
Contributes to CURA-5789.
2018-10-03 10:44:20 +02:00
Jaime van Kessel
3b70e5eb6b Fix typing
For some reason, my MyPy started acting up once I started using the PythonPath while calling it.
2018-09-27 20:01:55 +02:00
Jaime van Kessel
dbe0d6d82a Add typing 2018-09-21 11:33:06 +02:00
Diego Prado Gesto
43657010ba CURA-5164 The Preferences is not a singleton class anymore since in some point
several instances need to be created.

- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.

- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.

- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
Aleksei S
d859f71d6e Fix: The Print simulation view was broken because of constant refresheing scene
CURA-5142
2018-03-23 11:41:34 +01:00
Lipu Fei
da00bdf9c3 Fix SimulationView onSceneChanged signal binding
CURA-5130
2018-03-21 13:50:58 +01:00
Ian Paschal
22d3cd928f CURA-5090 Remove layer view data after clearing buildplate 2018-03-16 15:57:19 +01:00
Jack Ha
e3dd7a449d CURA-5090 speedups by using qtimers on updating mostly visual elements 2018-03-14 16:09:59 +01:00
Ian Paschal
0b62a312c3 CURA-4869 Infill meshes influence layer count in layer view
If a layer is empty, don't add it to the total layer count!
2018-02-14 16:56:07 +01:00
Jack Ha
1efc92ddbe CURA-4853 evaluate layer view compatibility mode in init, therefore not binding some signals and fixing the bug 2018-01-23 11:46:59 +01:00
Diego Prado Gesto
5c0e2d39a3 Avoid zero thickness to be shown in layer view. 2018-01-17 11:54:22 +01:00
Diego Prado Gesto
cc89ddf5f7 Revert "Avoid zero thickness to be shown in layer view."
I saw that with these changes, Cura crashes when loading a GCode.
This reverts commit 8dd21892d33277bec88895393f992b612b7af526.
2018-01-17 11:39:38 +01:00
Diego Prado Gesto
8dd21892d3 Avoid zero thickness to be shown in layer view.
Also fix some typos.
2018-01-17 11:34:25 +01:00
Diego Prado Gesto
e3e6f301f9 CURA-4778 Add up to 8 different colors when loading a GCode, since we
support up to 8 extruders in CFP
2018-01-09 10:42:03 +01:00
ChrisTerBeke
08322d0a5e Move all decorators in the scene subfolder 2018-01-03 15:09:19 +01:00
Lipu Fei
df1d3bf569 Add fix and doc for Mac OpenGL crash
CURA-4726
2017-12-21 15:43:35 +01:00
Aleksei S
6e171be0b9 After changing the settings refresh simulation max path number
CURA-4632
2017-11-28 13:08:25 +01:00
Diego Prado Gesto
2c6b2b869e CURA-4605 Fix render issues when there are empty layers.
Fix layer gap when raft is enabled.
2017-11-23 15:39:22 +01:00
Diego Prado Gesto
2df06bbbb9 CURA-4526 Add Simulation View plugin 2017-11-21 10:51:57 +01:00