Jaime van Kessel
3fc399a644
Moved default values into components
...
CURA-5829
2018-10-31 09:46:41 +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
Diego Prado Gesto
a8531a335d
Fix the alignments for the sliders in the simulation view.
...
Contributes to CURA-5772.
2018-10-26 09:52:02 +02: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
Ghostkeeper
a8493ee35d
Give black materials at least some albedo
...
Otherwise you can't see the diffuse reflections and the entire thing just becomes a black silhouette.
2018-09-25 11:24:48 +02:00
Jaime van Kessel
dbe0d6d82a
Add typing
2018-09-21 11:33:06 +02:00
Diego Prado Gesto
ed9b0dd41b
Add a missing bracket back.
...
Contributes to CURA-5725.
2018-09-18 17:25:35 +02:00
Diego Prado Gesto
13cab3653e
Remove unworking code that I forgot to remove after explaining a
...
possible solution to myself.
Contributes to CURA-5725
2018-09-18 17:09:57 +02:00
Diego Prado Gesto
c31f584e5b
Fix my own mistake. The keys act throught the labels and the function in
...
the labels is called setValue that then points to the setValueManually.
Contributes to CURA-5725.
2018-09-18 17:04:24 +02:00
Diego Prado Gesto
0ef46feeae
Fix code style.
...
Contributes to CURA-5725.
2018-09-18 16:53:25 +02:00
Diego Prado Gesto
f965b66c87
Stop the simulation also when the range slider is used. Reuse some code.
...
Contributes to CURA-5725.
2018-09-18 16:30:15 +02:00
Aleksei S
1b1ca8a53b
Fix, simulation did not play after second layer
...
CURA-5725
2018-09-18 14:39:43 +02:00
Aleksei S
f33576cc81
Stop simulation after pressing Up or Down in simulation layer textfield
...
CURA-5725
2018-09-18 13:56:20 +02:00
Diego Prado Gesto
dfae4a9a86
Add a property that indicates when the layer slider or the path slider
...
has changed manually.
With this we can differentiate when the layer changed automatically
(during simulation) or manually (by user interaction). In case it was
changed manually, the simulation will stop.
Contributes to CURA-5725.
2018-09-17 14:02:04 +02:00
Remco Burema
5c73921943
[CURA-5725] Revert "Set simulation path to 0 after updating layer"
...
This reverts commit 3da6e3c4535db85a921bf5770903bd1a729946e1.
2018-09-14 14:35:10 +02:00
Aleksei S
3da6e3c453
Set simulation path to 0 after updating layer
...
CURA-5677
2018-09-12 16:56:54 +02:00
Remco Burema
109b3fc1d2
[CURA-5677] Removed some superfluous and/or dead lines.
2018-09-11 09:08:50 +02:00
Remco Burema
c8eeb737bb
Automatically stop simulation when the user manually changes the layer (as opposed to the sim. itself). [CURA-5677]
2018-09-07 15:45:31 +02:00
Mark
cfcf52d7c3
Center in parent and increase width. Fits good on Mac
2018-09-05 22:05:08 +02:00
Diego Prado Gesto
a8cb1e25b4
Merge branch 'master' into fix_layer_number_width
2018-08-31 10:56:23 +02:00
Aleksei S
fe9cada459
Increase plugin API version to 5
...
CURA-5627
2018-08-27 13:59:00 +02:00
Ghostkeeper
49e3c23d14
Brackets on new line
...
As per our code style.
2018-08-22 16:53:27 +02:00
Diego Prado Gesto
1a189ba4f5
Simplify normalization formula.
2018-08-03 09:13:19 +02:00
Diego Prado Gesto
c14539d63a
Fix the sliders that went out of range when using the arrow keys.
2018-08-02 13:12:01 +02:00
Ian Paschal
56437af4d2
CURA-5613 Don't focus on slider
...
This way arrow keys are able to rotate the viewport
2018-08-01 10:50:29 +02:00
Diego Prado Gesto
d1b6aa8c37
Set the focus in the upper handle in the layer view instead of in the
...
text field. That makes it easier to release the focus by clicking in the
main view and use the arrow keys to rotate the view.
2018-08-01 08:33:47 +02:00
Diego Prado Gesto
a7449ade87
When the number of layers is less than 10, the width of the TextField
...
that shows the layer number in the LayerView is too small, so this
commit adjusts the size.
2018-07-19 11:42:42 +02:00
Diego Prado Gesto
b9a94a1025
Adjust the slider label width a bit to look ok in macOS
2018-06-12 13:40:28 +02:00
Diego Prado Gesto
7cd0f57f22
Make the slider label width adjustable depending on the number of digits of
...
the total number of layers.
2018-06-12 13:32:54 +02:00
fieldOfView
19b8ca7c70
Remove vestigial references to "monitoringPrint"
2018-06-06 11:22:35 +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
Jörg Walter
fa81ebeece
GLES shader fixes
2018-03-29 21:07:51 +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
Lipu Fei
495fc8bbd7
WIP: Refactor BuildPlateModel and split MultiBuildPlateModel
2018-02-17 22:24:05 +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
Mark
b531c0550d
Change Math.floor to Math.round as a last try to fix garbled fonts
...
CURA-4941
2018-02-14 09:28:47 +01:00
Mark
461da709ff
Checked all divisions (again..) and multiplications on rounding errors
...
CURA-4941
2018-02-10 12:45:36 +01:00
Mark
b52bf6decf
resolve conflict
2018-02-09 13:01:56 +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
e2bc14cc58
Change layer thickness colormap to parula-like ( https://es.mathworks.com/help/matlab/ref/parula.html )
2018-01-22 13:41:37 +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
e6169a7c61
Fix some typos
2018-01-17 11:53:31 +01:00