31 Commits

Author SHA1 Message Date
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
fieldOfView
bd8db49a95 Add layer data type and color for Support Interface
CURA-2049
2016-09-05 16:29:15 +02:00
Johan K
3d413df215 Changed the point data type sent from the backend from int64 to float.
Added extruder information to LayerPolygon
2016-07-14 11:08:05 +02:00
Johan K
d31516bbb1 Code cleanup
Changed to "is None" insted of "== None" to test if numpy.array was initialized
Added extruder to PathSegment in Cura.proto
Changed index_pattern to class variable in Layer.py
2016-07-12 01:32:46 +02:00
Johan Kristensen
41503d7d5b Adapting code to merge of simple_convex_hull and code cleanup. 2016-06-28 23:50:00 +02:00
Johan K
f184baadf0 Formulate layerview logic using numpy to speed up. Also changed layer data packets from engine to make it possible. 2016-06-28 22:29:29 +02:00
Jaime van Kessel
63593ba16c Moved layerData & polygon to own file 2016-04-08 15:07:07 +02:00