Jaime van Kessel
b0ed47daf1
Don't copy transformations if it's not needed
...
CURA=7106
2020-06-23 16:24:34 +02:00
Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Nino van Hooff
176919eee0
Merge branch 'master' into doxygen_to_restructuredtext_comments
...
# Conflicts:
# plugins/CuraEngineBackend/CuraEngineBackend.py
# plugins/CuraEngineBackend/StartSliceJob.py
2020-05-08 15:31:23 +02:00
Ghostkeeper
51378cae56
Don't crash if the shader fails to compile
2020-05-01 17:49:29 +02:00
Jelle Spijker
6aedab78dc
Converted comments in dir Cura/cura to rst style
...
Converted doxygen style comments to reStructuredText style in the files found in Cura/cura directory using the script dox_2_rst.py (provided in the Uranium repo). Comments were manually checked and changed if needed.
2020-04-21 16:58:45 +02:00
Jaime van Kessel
020f66b245
Add option to overhang shader to make rendering model errors optional
...
CURA-7147
2020-04-20 15:11:28 +02:00
Jaime van Kessel
e74f049142
Fix bunch of issues found by pylint
2020-01-10 16:37:46 +01:00
Remco Burema
f4395cc647
Correct comment.
2019-09-12 14:04:30 +02:00
Nino van Hooff
0cd664975e
Remove face selection for a PreviewPass
...
Fixes issue where the selected face for the lay-flat feature showed
up in the model thumbail of print jobs.
CURA-6754
2019-09-12 13:42:19 +02:00
Jaime van Kessel
67dbb97958
Fix incorrect cast import
2019-07-30 11:45:27 +02:00
Jaime van Kessel
827ccd5a13
Fix mypy issues caused by scenenode iterator being correctly typed
2019-07-23 13:19:42 +02:00
Jaime van Kessel
07ff08f6bb
Ensure that objects outside build volume are not added to thumbnail
...
CURA-6545
2019-05-29 15:53:23 +02:00
Ghostkeeper
ab32d64c01
Add types for ShaderPrograms
...
Otherwise it'll think that this variable can only have None in it.
Contributes to issue CURA-5330.
2018-06-15 11:34:35 +02:00
Ghostkeeper
7d98167383
Ignore type errors arising from misinterpretation of DepthFirstIterator type
...
MyPy requests that this needs to have a __next__ function, but actually Python calls the __iter__ function first and then calls the __next__ function on the result of that. MyPy is wrong here.
Contributes to issue CURA-5330.
2018-06-15 11:30:49 +02:00
Diego Prado Gesto
d03b0e610b
CURA-5330 Fix typing in the PreviewPass
2018-06-13 11:56:53 +02:00
Diego Prado Gesto
f1b0c6238f
CURA-5330 Add return type to some constructors
2018-06-13 11:01:30 +02:00
Lipu Fei
196bd3a730
Add non-thumbnail-visible flag for creating previews
...
CURA-5373
Addition to the non-slicable meshes, the support meshes should also not
be included in the previews.
2018-05-23 16:32:38 +02:00
Aleksei S
36dbc70813
Remove unnecessary code for taking snapshot for UFP file
...
CURA-5373
2018-05-18 14:01:31 +02:00
Aleksei S
1f149b2821
Do not show not printed models on snapshot for UFP files
...
CURA-5373
2018-05-18 10:50:54 +02:00
Jack Ha
f9e7d119af
CURA-5019 thumbnail: do not scale the second color of support meshes or the checkboard pattern is not visible anymore
2018-03-29 14:10:50 +02:00
Jack Ha
c1bc078813
CURA-5019 support and infill type nodes are now correctly rendered in the thumbnail
2018-03-29 10:59:53 +02:00
Jack Ha
06ec77e012
Better readability in PreviewPass
2018-02-15 15:23:17 +01:00
Jack Ha
037298cf03
Tweaked the snapshot images to make it look prettier
2018-02-15 13:53:45 +01:00
Jack Ha
c42f186812
CURA-4425 first thumbnail in UFP file; updated CuraSceneModel and PreviewPass
2018-01-31 17:08:32 +01:00
Jaime van Kessel
f2e7fef747
Update PreviewPass so that only slicable objects are rendered
2017-11-09 13:51:47 +01:00
Jaime van Kessel
06045f036e
Added previewPass
2017-11-08 16:37:24 +01:00