Jaime van Kessel
b219f57b22
Merge branch 'dev' of https://github.com/BasF0/Cura
2021-01-27 10:56:35 +01:00
Ghostkeeper
f28b90a1a4
Make Line Type the default selection for layer view colour scheme
...
Implements CURA-7983.
Fixes #9154 .
2021-01-22 11:04:59 +01:00
bas
757d7eee50
layers3d.shader now detects and draws 'starts' as boxes
...
Also adds a "show starts" option to the SimulationViewMenuComponent and corresponding logic
SimulationPass.py adds a prev_line_types attribute to the shader, which the shader uses to compare with its line_type to detect starts.
2020-10-28 09:49:26 +01:00
Nino van Hooff
c6e6c76962
Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments
...
# Conflicts:
# cura/API/Account.py
# plugins/SimulationView/SimulationView.py
2020-05-15 13:38:37 +02:00
Nino van Hooff
58e43c0a07
Convert doxygen to rst for SentryLogger, SimulationView, SliceInfo,
...
SolidView
2020-05-15 13:34:58 +02:00
Remco Burema
23cdf871c1
Add comments: Why a matrix4x4 and not a sampler1d?
...
part of CURA-7426
2020-05-07 18:55:55 +02:00
Remco Burema
99e99e4650
Layerview can now deal with visibility extruder nrs. 4+
...
part of CURA-7426
2020-05-06 18:03:32 +02:00
Nino van Hooff
d762ad4acc
Merge pull request #7156 from Ultimaker/CURA-7231_no_layers_to_show_msg
...
Cura 7231 no layers to show msg
2020-02-25 09:42:23 +01:00
Jaime van Kessel
239a8ea3db
Revert speedup
2020-02-24 13:07:59 +01:00
Tim Kuipers
c1d87fa474
Pop-up checkbox to never show [No layers to show] ever again, because the user ain't no noob
...
CURA-7231
2020-02-21 15:07:57 +01:00
Tim Kuipers
0a10a1220f
Don't show 'no layer data' msg when Slice Automatically is enabled
...
CURA-7231
2020-02-21 15:07:26 +01:00
Ghostkeeper
5a7ec98f1e
Slightly improve wording
...
'Layer data' is a bit technical.
2020-02-04 14:14:23 +01:00
Ghostkeeper
2c28f70016
Add warning if you haven't sliced before going to layer view
...
Done as a 5 minute fix.
Fixes #7044 .
2020-02-03 11:22:22 +01:00
Jaime van Kessel
3ffbdf2888
Ensure that after a reslice the nozzle location of re-slice is still correct
2020-01-03 11:28:29 +01:00
Jaime van Kessel
0d7421140f
Recalculate the start / end elements when the layer is changed instead of on render
...
About with larger models, about 30-40% of the time of the render was spent on this.
2020-01-02 13:28:14 +01:00
Remco Burema
1915100118
Fix: Layersliders work again.
2019-12-31 16:48:50 +01:00
Remco Burema
cb361e9543
Force sim-view to update after view-type change.
2019-12-31 16:14:02 +01:00
Lipu Fei
534b432e7e
Fix another is None check for typing
2019-11-11 09:08:13 +01:00
Lipu Fei
7495d7900f
Fix is None check for typing
2019-11-11 09:03:21 +01:00
Lipu Fei
adaea90d50
Fix typing
2019-11-11 08:48:04 +01:00
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