Ghostkeeper
41ebd593c5
Revert "Merge branch 'bremco-graphics_buffer_update'"
...
This reverts commit 5e60cc6208c16d966505e7a97d9bbbb0644d2716, reversing
changes made to c9feace0fbe02beb2089ec0af7be35127d7420f7.
2021-12-08 12:02:49 +01:00
Remco Burema
4f20dc4c5d
Add documentation.
2021-11-07 22:26:34 +01:00
Remco Burema
acde6ae489
Apply suggestions from code review
...
Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-10-31 21:21:24 +01:00
Remco Burema
a987b9972a
Merge branch 'master' into bremco-graphics_buffer_update
2021-09-16 22:27:52 +02:00
luz paz
d68f375e38
Fix various typos
...
Found via `codespell -q 3 -S *.po,*.pot -L childs,initialy,lod,ned,te,slicable,sur,tutoriels,wont`
2021-09-07 11:33:54 -04:00
Remco Burema
e119c46944
Fetch count from simple property instead of recalculation.
...
Polygons don't change when in layer-view. There's already an analogous elementCount property anyway, so a vertexCount property can't do much harm. Just keep in mind that when the polygons are altered, it should be either done via build, or the lineMeshXXXCount methods should be used instead.
2021-08-09 13:15:44 +02:00
Remco Burema
458fbd35f1
Merge branch 'master' into graphics_buffer_update
2021-07-25 22:30:39 +02:00
Remco Burema
96ca3b1417
Handle render-range in shader.
...
Instead of re-uploading the mesh each time the range changes, handle the range in the shaders with the new draw-range parameters. This does however, mean the range has to be in vertices, not in elements. This necessitates some changes to the simulation-view, and some added bits deeper in the base code. Mainly, since each time the type of a line changes, there is an extra vertex, there needs to be a type-change count available to get from 'paths' to range indices.
2021-07-25 22:26:59 +02:00
Jaime van Kessel
3432720f7c
Fix mypy issues caused by numpy upgrade
2021-04-07 11:47:52 +02:00
Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Jelle Spijker
679739d09d
Applied requested changes proposed by @ninovanhooff
...
Fixed a couple of missed double quotes, trailing and leading spaces, to long comment lines
2020-04-27 20:09:00 +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
2a28321588
Fix some more typing
...
For some reaso the server is giving me different reuslts...
2020-01-10 18:03:20 +01:00
Jaime van Kessel
e74f049142
Fix bunch of issues found by pylint
2020-01-10 16:37:46 +01:00
Jaime van Kessel
bb52ba6848
Codestyle fixes
2020-01-10 15:32:53 +01:00
Jaime van Kessel
81b33b8649
Add some missing typing
2020-01-10 14:58:53 +01:00
Jaime van Kessel
b8f76d7bfb
Use QtApplication instead of Application
...
In live code it doesn't cause problems, but the static checker found it
2019-11-08 14:13:19 +01:00
Mark Burton
0aae887166
Add entry for prime tower type to _isInfillOrSkinTypeMap.
2019-08-01 20:34:39 +01:00
Ghostkeeper
f334fa8578
Spelling of log entries and code style
2019-07-18 11:49:18 +02:00
Diego Prado Gesto
11e86512cb
Include the prime tower to the time calculations
...
Contributes to CURA-6509.
2019-05-06 14:33:24 +02:00
Jaime van Kessel
76cfb19dfb
Removed unused function & added more typing
2019-01-25 13:52:41 +01:00
Jaime van Kessel
ffce9bd172
Ensure that the primetower gets drawn in the right color again
...
CURA-5932
2019-01-04 14:59:26 +01:00
Ghostkeeper
aa03fabc57
Remove trailing whitespace
2018-08-24 15:24:00 +02:00
Diego Prado Gesto
aa9f9d5b88
Add line thickness and feedrate to the data sent from the backend
2017-11-10 16:59:06 +01:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
Ghostkeeper
f719be2484
Be robust against faulty data from the engine
...
We modify the line types that we get from the engine so that it's always within range.
This was a bug I found during development of CURA-3903.
2017-06-02 11:35:11 +02:00
Jack Ha
78de5412a2
Merge branch 'master' into layer_view3_cleanup
2017-02-15 10:57:24 +01:00
Jack Ha
47ab49795f
Added comments, changed small layout and id thing. CURA-3273
2017-02-08 11:48:00 +01:00
Jack Ha
50ba236e66
Removed unused option in LayerPolygon, added comments
2017-02-08 11:24:41 +01:00
Simon Edwards
4715afdad6
Fixed one new class variable. Updated the script to run mypy.
2017-02-01 14:53:22 +01:00
Jack Ha
3a2438937d
Removed crappy legend
2017-01-25 12:46:07 +01:00
Jack Ha
a52cb2fa63
Compatibility mode scale line type colors
2017-01-25 09:48:36 +01:00
Jack Ha
5fff1f6657
Cleanup
2017-01-25 09:27:22 +01:00
Jack Ha
6625938a2b
Cleanup __color_map in LayerPolygon
2017-01-25 09:24:40 +01:00
fieldOfView
f0333e2184
Fix typo
2017-01-24 23:18:46 +01:00
fieldOfView
5e121e4039
Use themeable colors for layerdata
2017-01-23 22:11:38 +01:00
Jack Ha
e57de296e7
Readded accidently removed stuff
2017-01-03 10:14:34 +01:00
Jack Ha
6271774528
Added all kinds of options to layer view
2016-12-30 15:32:06 +01:00
Jack Ha
fc4c60b0dc
Added layer view options
2016-12-30 14:31:53 +01:00
Jack Ha
1217281727
Busy with layer_view options
2016-12-29 16:49:00 +01:00
Jack Ha
0f2fb86cd9
Layer shader now uses own attribute for line dimensions instead of misusing uvs.
2016-12-28 15:20:14 +01:00
Jack Ha
8d2b3654a4
Layer thickness now as array
2016-12-28 13:15:42 +01:00
Jack Ha
9904dad07b
Added line thickness to layer view
2016-12-28 11:30:59 +01:00
Jack Ha
c12e6da3ac
Started setting layer height and line width in layer view
2016-12-22 14:41:50 +01:00
Jack Ha
2b37bde630
Now with infill
2016-12-22 10:46:19 +01:00
fieldOfView
9300489796
Shade layerview elements printed with non-active extruder(s)
...
CURA-2025
2016-09-21 21:21:20 +02:00
fieldOfView
dc01cdbc88
Fix displaying support interface in layerview
...
CURA-2049
2016-09-06 11:30:38 +02:00
Ghostkeeper
7c8e80b751
Properly hide moves and retractions in lower layers
...
Not the neatest solution. We might want to make a preference for this? I sorta like to see those travel moves, actually.
Contributes to issue CURA-2049.
2016-09-06 11:21:48 +02:00
fieldOfView
287cbcbb16
Properly fix LayerPolygon.__jump_map
...
CURA-2049
2016-09-05 18:15:02 +02:00
fieldOfView
60568a3070
Fix size of LayerPolygon.__jump_map
...
CURA-2049
2016-09-05 18:10:35 +02:00