Tim Kuipers
0e633a0dfa
allow immediate change of preference for showing xray errors in solid view
2020-02-27 16:41:20 +01:00
Tim Kuipers
643b27e160
add xray error warning message
2020-02-27 16:41:20 +01:00
Tim Kuipers
b4c3703dc4
Check xray overlay for badness in model every 1.0 second
2020-02-27 16:41:20 +01:00
Tim Kuipers
c16f677bf0
make a new xray error image
...
includes SVG source file
2020-02-27 16:41:20 +01:00
Tim Kuipers
28abf6ff8c
fix xray error image scaling
2020-02-27 16:41:20 +01:00
Tim Kuipers
0f184219e6
use tiled image for xray error instead of a uniform color
...
temporarily use the cura logo as placeholder image
didn't correctly determine window size yet
2020-02-27 16:41:20 +01:00
Tim Kuipers
82b2f23689
make xray solid color depending on what it occludes
2020-02-27 16:41:20 +01:00
Tim Kuipers
4a8385e3e8
make xray counting color hardcoded value
...
Somewhere between the xray.shader and the xray_composite.shader the colors are stored as unsigned int.
Since we want to count the integer number of faces behind a pixel in the red channel, we simply use a color with an r value of 1/255.
2020-02-27 16:41:20 +01:00
Tim Kuipers
fc4c66b62a
show xray errors in solid view
2020-02-27 16:41:13 +01:00
Jaime van Kessel
4ce086d5c3
Cut op beginRendering of solidView
2019-12-20 16:44:12 +01:00
Jaime van Kessel
0ff9d72c4c
Remove use of deprecated extruders property
2019-09-13 17:27:16 +02:00
Remco Burema
e5a690e605
Wrap up 'lay flat by face' feature for 4.3-BETA.
...
Icon thanks to Yi-An Lai.
part of CURA-6754
2019-09-10 12:37:59 +02:00
Remco Burema
d9b10e7180
Merge branch 'feature_bottom_face' of https://github.com/Ultimaker/Cura into feature_bottom_face
2019-09-03 16:04:38 +02:00
Remco Burema
70332978fd
Less cryptic max face-id.
...
part of CURA-6745
2019-09-03 15:48:31 +02:00
Lipu Fei
44db4216bc
Rename to getEndFaceSelectionId()
...
CURA-6745
2019-09-03 15:44:43 +02:00
Remco Burema
503a24f7a1
Make magic value into funtion (max face-id).
...
part of CURA-6745
2019-09-03 15:08:41 +02:00
Remco Burema
b97015a354
Added 'align selected face with buildplate' feature.
...
Alt-click to select a face. See the (identically named) 'feature_bottom_face' branch in Uranium for more indepth information.
2019-09-02 00:17:14 +02:00
Lipu Fei
905889214a
Fix typing
2019-04-23 10:31:13 +02:00
Lipu Fei
4423fc82b0
Fix typing
2019-04-23 09:39:46 +02:00
Jaime van Kessel
50ad4e4d4e
Speed up the rendering of the solid view by caching support_angle property
2019-04-19 14:55:28 +02:00
Jaime van Kessel
d53bac6eb8
Simplify the expensive call to the validation state
...
Since the support angle needs to be between 0 and 90, we don't have to rely on the (expensive)
validator. We can just check that ourselves.
2019-02-19 15:42:51 +01:00
Lipu Fei
620790ae3d
Reduce the creations of ExtrudersModels
...
CURA-6015
2018-12-13 14:12:23 +01: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
Ghostkeeper
7d806e7ae9
Fix rendering before the extruder number decoration is set
...
If a render is triggered before this decorator is set it would crash. The rest of the code is robust against this being None, but here it would give a TypeError.
2018-04-11 11:59:54 +02:00
Jack Ha
bd775cf32e
CURA-4400 fix support_extruder_nr values in overhang angle and SliceInfo
2018-03-19 10:56:40 +01:00
Jack Ha
095d9fbdf6
CURA-4400 Bugfix do not handle layer scene nodes in solidview
2018-03-06 17:01:30 +01:00
Jack Ha
657a52a5e7
CURA-4400 add checking for enabled extruder in setting _outside_buildarea, cleaned up a bit and factored some functions out BuildVolume
2018-03-01 11:54:31 +01:00
fieldOfView
8bd6afad1f
Render support meshes with a vertical stripe...
...
...so they are easier to tell apart from normal meshes, especially for single extrusion printers
2018-01-05 18:33:05 +01:00
Lipu Fei
107f6aff78
Fix SolidView to use isNonPrintingMesh decorator call
...
CURA-4705
2017-12-20 16:48:57 +01:00
ChrisTerBeke
0668f80792
Merge pull request #2758 from fieldOfView/feature_mesh_types
...
Improved mesh type UX (Per Model Settings)
2017-11-29 13:24:38 +01:00
Diego Prado Gesto
49537b64f7
CURA-4482 Fix error in SolidView when the support angle stack doesn't
...
exist. This error was sent twice through the CrashHandler and it is in Metabase.
2017-11-28 09:39:57 +01:00
ChrisTerBeke
657a91c525
Merge pull request #2685 from Ultimaker/container_stack_improvements
...
Container stack improvements
2017-11-20 17:42:26 +01:00
fieldOfView
c7f190bb26
Remove (ancient) commented out code
2017-11-18 11:30:17 +01:00
fieldOfView
1924946b59
Merge branch 'master' into feature_mesh_types
...
# Conflicts:
# plugins/SolidView/SolidView.py
2017-11-18 11:28:15 +01:00
fieldOfView
e00ac591bf
Use material color for cutting_mesh and infill_mesh
2017-11-10 12:24:32 +01:00
fieldOfView
69b707cbfe
Fix coloring support_mesh with the color of the support_extruder
2017-11-09 22:02:20 +01:00
fieldOfView
3251e5915b
Show the support material for support_mesh
2017-11-09 16:06:27 +01:00
fieldOfView
8f8bdc059a
Render non-printing objects as semi transparent objects in Solid View
2017-11-09 12:55:03 +01:00
ChrisTerBeke
52782b8d13
Always use the extruder stacks to determine model color in solid view - CURA-4482
2017-10-31 16:08:59 +01:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
Tim Kuipers
cfe1dd4fb6
fix: group selection box uses proper rendermode now (CURA-3846)
...
Renderer.RenderMode doesn't exist any more.
This should have been fixed way back when RenderBatch was introduced
2017-06-21 15:05:49 +02:00
Simon Edwards
eb43806d7a
Merge branch 'master' into python_type_hinting
2017-01-27 15:37:30 +01:00
fieldOfView
8d7bde02f3
Fix unslicable ("striped") model rendering and add overhang color theming
2017-01-26 11:09:09 +01:00
fieldOfView
b0ea72834f
Remove unused import
...
Remnant from another, less tidy, approach
2017-01-24 11:47:02 +01:00
fieldOfView
45c8083423
Use themeable colors in Solid, Xray & Layer view
2017-01-23 22:08:27 +01:00
Simon Edwards
fb70eb6813
Merge branch 'master' into python_type_hinting
2017-01-17 08:42:55 +01:00
Jaime van Kessel
0bdd06735e
Fixed another race condition that sometimes triggered when loading projects
...
CURA-1263
2016-12-14 11:52:02 +01:00
Simon Edwards
98a6568313
Merge branch 'master' into python_type_hinting
2016-11-22 11:15:04 +01:00
Simon Edwards
14afd9eab7
Heaps to changes to get the Cura code through the type checker (with minimal checking).
...
CURA-2917
2016-11-21 21:36:08 +01:00
Jaime van Kessel
89c78fa2da
Increased difference between display color for active/inactive extruder
...
CURA-2025
2016-09-22 11:41:52 +02:00