Cura/plugins/SimulationView
Ghostkeeper e9d3ba9b74
Simplify limits on [minimum] layer/path number
Just a few calls to min() or max() do the trick, rather than if statements.
I consider this more semantic, because we just intend to clamp values here, and min() and max() are commonly used to do that.
It should also be slightly faster because it's less Python and more internal in CPython, but considering that this happens at best like 60 times per second the performance impact of this will be practically nil.
2021-03-06 14:15:48 +01:00
..
resources Make UI changes in the Simulation View for adapting the color gradient 2017-11-26 21:21:18 +01:00
__init__.py No longer create two instances of the setting view. 2018-11-05 11:48:19 +01:00
layers.shader Format spacing 2020-05-07 14:10:45 +02:00
layers3d.shader Add colour scheme for line width 2021-02-19 10:10:16 +01:00
layers3d_shadow.shader Layerview can now deal with visibility extruder nrs. 4+ 2020-05-06 18:03:32 +02:00
layers_shadow.shader Layerview can now deal with visibility extruder nrs. 4+ 2020-05-06 18:03:32 +02:00
LayerSlider.qml Cleanup: remove warnings for non-existing margins 2019-11-12 14:51:48 +01:00
NozzleNode.py Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
PathSlider.qml Update simulation slider handle position after width change 2019-10-28 09:59:30 +01:00
plugin.json Up the SDK version to 7.4.0 2020-10-22 11:29:25 +02:00
SimulationPass.py Add colour scheme for line width 2021-02-19 10:10:16 +01:00
SimulationSliderLabel.qml Refactor: simplify SimulationSliderLabel font metrics 2019-11-12 14:56:56 +01:00
SimulationView.py Simplify limits on [minimum] layer/path number 2021-03-06 14:15:48 +01:00
simulationview_composite.shader GLES shader fixes 2018-03-29 21:07:51 +02:00
SimulationViewMainComponent.qml Merge branch 'master' into CURA-6854_align_layer_label_top_bottom 2019-11-01 10:51:21 +01:00
SimulationViewMenuComponent.qml Add colour scheme for line width 2021-02-19 10:10:16 +01:00
SimulationViewProxy.py Add colour scheme for line width 2021-02-19 10:10:16 +01:00