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
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
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
Lipu Fei
b54b075cc9
Use isinstance() instead or issubclass()
...
CURA-4525
2018-01-12 16:42:34 +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
Diego Prado Gesto
4c8c4c78da
CURA-4772 Create a CuraSceneNode instead of a SceneNode when reading a
...
GCode. Avoid creating an empty CuraSceneNode if the node is already an
instance of it.
2018-01-09 09:16:21 +01:00
Diego Prado Gesto
47ba8b098c
Apply to layers shadow shader the same changes than in the default layer
...
shader, so that the shadow layers are correctly shown in simulation view
2018-01-05 11:51:12 +01:00
ChrisTerBeke
08322d0a5e
Move all decorators in the scene subfolder
2018-01-03 15:09:19 +01:00
Jack Ha
bfa33c721c
CURA-4525 solved merge conflicts
2018-01-03 13:52:55 +01:00
Ghostkeeper
1aebe32ba6
Fix winding order of left endpoint triangles
...
Otherwise the left side is invisible due to backface culling.
2018-01-02 16:16:52 +01:00
Lipu Fei
df1d3bf569
Add fix and doc for Mac OpenGL crash
...
CURA-4726
2017-12-21 15:43:35 +01:00
Jack Ha
5152b2ae65
Solved merge conflicts. CURA-4525
2017-12-21 10:52:51 +01:00
Ruben D
f69375691f
Reduce vertices per tube by 1
...
Since the tubes are symmetrical, instead of using an extra vertex to flip the winding order, I just mirror all horizontal coordinates so that the triangles flip inside out.
2017-12-13 18:58:05 +01:00
Ruben D
e36099a380
Draw backside of travel lines inverted
...
This adds a front-facing primitive towards the back side of every travel line, causing those lines to be visible from both sides regardless of backface culling. This doubles the number of vertices for travel moves, but due to backface culling it comes down to approximately the same performance as the original.
2017-12-13 01:44:05 +01:00
Ruben D
79d7de050e
Enable backface culling for layer view
...
This effectively doubles the rendering performance of layer view.
2017-12-13 01:42:24 +01:00
Ruben D
3666b35ff3
Fix winding order of 3D tubes
...
Adding a copy of the first vertex causes the winding order to reverse.
2017-12-13 01:41:36 +01:00
ChrisTerBeke
263230f9d2
Merge branch '3.1'
2017-11-28 15:45:57 +01:00
Aleksei S
6e171be0b9
After changing the settings refresh simulation max path number
...
CURA-4632
2017-11-28 13:08:25 +01:00
ChrisTerBeke
68cd9df65f
Merge branch '3.1'
2017-11-28 10:36:11 +01:00
Diego Prado Gesto
fa00a17c78
Make UI changes in the Simulation View for adapting the color gradient
...
in the Feedrate color scheme. Due to the travel speed is normally very
high compared with the other speeds in the model, the gradient is now
gradual instead of linear in order to show more changes in the low
values and less changes in the high values.
Adapt also the button styles and themes' colors.
Set the play/pause button to the left and reduce the size.
2017-11-26 21:21:18 +01:00
Diego Prado Gesto
d0c1569da6
Merge branch 'fieldOfView-feature_simulation_ux_tweaks'
2017-11-24 15:48:39 +01:00
Diego Prado Gesto
1ea9379913
CURA-4609 Fix qml rectangle background in feedrate color scheme.
2017-11-24 13:02:11 +01:00
Diego Prado Gesto
bf1ecba641
Add the layer thickness back to the color options in Simulation View
2017-11-24 10:54:20 +01:00
ChrisTerBeke
7d1db1b165
Merge branch '3.1'
2017-11-24 10:31:22 +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
b97ed4c211
CURA-4609 Minor improvements in Simulation View:
...
Increase simulation speed.
Hide Layer Thickness option in color scheme.
Hide nozzle when switching layers.
Set the handles in front of the view.
Name changed back to "Layer View"
2017-11-23 09:59:34 +01:00
fieldOfView
863b40b900
Merge branch 'master' into feature_simulation_ux_tweaks
...
# Conflicts:
# plugins/SimulationView/SimulationView.qml
2017-11-21 16:49:41 +01:00
Diego Prado Gesto
d415c5fcbb
CURA-4526 Add transparency to the nozzle so the user can see the lines
...
and layers through the nozzle.
2017-11-21 13:42:46 +01:00