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
Diego Prado Gesto
abe9ba3795
CURA-4526 Stop simulation when changing preferences.
...
Hide nozzle node when in compatibility mode.
2017-11-21 13:23:47 +01:00
Diego Prado Gesto
2df06bbbb9
CURA-4526 Add Simulation View plugin
2017-11-21 10:51:57 +01:00
fieldOfView
b4b39f0949
Tweak compatibility mode collapsed view panel
2017-11-20 20:32:45 +01:00
fieldOfView
532331bd44
Add a collapse button to the Simulation View panel
...
See https://github.com/Ultimaker/Cura/pull/2732
2017-11-20 20:24:38 +01:00
fieldOfView
a42d054505
Tweak simulation view panel margins
2017-11-20 17:49:00 +01:00
fieldOfView
1483683992
Move play button to path slider
2017-11-20 17:17:16 +01:00
Lipu Fei
775271faac
Fix module importing in SimulationView
...
CURA-4526
2017-11-20 15:57:20 +01:00
Ghostkeeper
604105752d
Fix import in plugin subdirectory
...
Contributes to issue CURA-4526.
2017-11-20 15:36:54 +01:00
Aleksei S
20c21d6e79
Added "Signal.disconect" after changing views
...
CURA-4526
2017-11-20 13:52:22 +01:00
Diego Prado Gesto
56db10d9cb
CURA-4526 Change simulation behavior when clicking on Play button
2017-11-20 11:24:25 +01:00
Diego Prado Gesto
98d48978a8
CURA-4526 Add the SimulationView plugin to Cura and deleting LayerView
...
plugin
2017-11-17 14:27:46 +01:00