57 Commits

Author SHA1 Message Date
Diego Prado Gesto
c3d9c1b3d8 CURA-4667 Fix simulation view render race. Change the place where the
layer data is reset.
2017-12-04 09:49:03 +01:00
Mark Burton
033a4615eb Call resetLayerData() before adding LayerDataDecorator to scene node rather than afterwards.
This ensures that the layer data is reset before the scene is rendered.
2017-12-01 17:47:08 +00:00
Diego Prado Gesto
2c6b2b869e CURA-4605 Fix render issues when there are empty layers.
Fix layer gap when raft is enabled.
2017-11-23 15:39:22 +01:00
Diego Prado Gesto
72954e758c CURA-4593 Workaround to fix the rendering glitches when the last layer has no data 2017-11-21 17:15:07 +01:00
Diego Prado Gesto
b6e997c88d CURA-4526 Delete LayerView plugin because it will be replaced with the
SimulationView.
This commit also adapts the code in order to accept the messages coming
from the engine, with information about feedrates and line thicknesses.
Add also some changes in the GCodeReader that reads feedrates and
line thickness from the gcode file.
2017-11-21 10:47:29 +01:00
Jack Ha
d8e1b5b9b4 CURA-4481 add setting Remove Empty First Layers 2017-10-24 11:25:12 +02:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Jaime van Kessel
583b776c6c Fixed error spam on progress sliced layer run
CURA-4349
2017-09-26 09:30:49 +02:00
alekseisasin
204019702d Added Title for messages
CURA-4203
2017-09-13 13:58:08 +02:00
Lipu Fei
3aabbab11f Correctly handle IndexError for defaultColors
CURA-4072

defaultColors is a list, so it's not KeyError but IndexError.
2017-07-21 16:03:11 +02:00
Jaime van Kessel
afe5f56862 If a default color is used, the layer view now correctly uses it. 2017-07-17 11:44:54 +02:00
Ghostkeeper
6cac15de7d
Use default parameter to obtain default colour
There is a built-in mechanism for this, so we don't need to do this ourselves.
2017-07-06 09:48:36 +02:00
Ghostkeeper
bb68f488db
Make material finding more robust
The .findContainer technique is obsolete since we now just have a field for this.

Hopefully contributes to issue #2053.
2017-07-06 09:41:28 +02:00
Ghostkeeper
ce6814d45d Add default for colour code of material
Otherwise you get an error that the colour code could not be found.

Fixes #1869.
2017-05-24 15:20:59 +02:00
Jaime van Kessel
e6f61f3bbc When trying to convert None to RGBA, log it and return a usable default
contributes to #1869
2017-05-24 11:38:38 +02:00
Ghostkeeper
81ea9556eb
Fix showing layer view if there is no material
The layer view would request the colour of the material. If there is no material, that would give an error.

Contributes to issue CURA-3497.
2017-05-04 17:56:57 +02:00
Jack Ha
1a01d1b193 Change permissions back to 644 2017-04-05 10:19:12 +02:00
Jack Ha
2d6df1ae4a Fix workspacedialog booboo typo. 2017-04-05 10:18:36 +02: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
Jack Ha
1d6ef4bc3c Default color if no material color is available. CURA-3273 2017-02-08 10:40:17 +01:00
Jack Ha
ed1fea2d3e Fix colors of compatibility mode. CURA-3273 2017-02-07 13:20:26 +01:00
Jack Ha
a52cb2fa63 Compatibility mode scale line type colors 2017-01-25 09:48:36 +01:00
Jack Ha
e57de296e7 Readded accidently removed stuff 2017-01-03 10:14:34 +01:00
Jack Ha
55dd08eff8 Somewhat better layout, added legend 2017-01-03 09:18:26 +01:00
Jack Ha
f0e0d65635 Finishing up compatibility mode 2017-01-02 14:56:31 +01:00
Jack Ha
6271774528 Added all kinds of options to layer view 2016-12-30 15:32:06 +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
c6d56b60f6 Working quite nicely 2016-12-22 09:44:00 +01:00
Jack Ha
0adb1a4c1c Finally got normals in 2016-12-21 14:37:02 +01:00
Jack Ha
3d9bccb7c7 big tryout 2016-12-20 16:32:34 +01:00
Jack Ha
61dcaf8811 wip 2016-12-20 11:45:05 +01:00
Arjen Hiemstra
baa24370f6 Force garbage collection during ProcessSlicedLayersJob
For some reason, Python likes to hold on to LayerData and friends.
Forcing a GC run here will clean them up properly.

Contributes to CURA-2406
2016-09-22 00:57:44 +02:00
Jaime van Kessel
03aa9cf8d3 Codestyle 2016-07-29 17:32:08 +02:00
Jaime van Kessel
4a5b2465ae Fixed process sliced layer job not deleting old data 2016-07-29 17:25:36 +02:00
Johan K
4c402e5bb7 Removed the layer data empty guard in ProcessSlicedLayers as the problem was solved in the backend. 2016-07-22 10:22:07 +02:00
Johan K
c6790981d6 Merge branch 'master' of https://github.com/Ultimaker/Cura into layerview_dev 2016-07-22 10:21:41 +02:00
Jaime van Kessel
f52a3c1b9d Merge branch 'master' of github.com:Ultimaker/Cura 2016-07-19 16:56:43 +02:00
Jaime van Kessel
da047c6f90 Added benchmark time logs 2016-07-19 16:56:26 +02:00
Jack Ha
b3837fbafd Raft thickness lowers the build volume.
CURA-1707
Now adding more visuals for better UX.
2016-07-18 16:02:24 +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 Kristensen
41503d7d5b Adapting code to merge of simple_convex_hull and code cleanup. 2016-06-28 23:50:00 +02:00
Johan K
788f79f5ba Changing the message used from the engine from Layer to LayerOptimized. 2016-06-28 22:29:29 +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
Simon Edwards
fd42a43270 Merge branch 'master' into simple_convex_hull
Conflicts:
	cura/BuildVolume.py
	cura/ConvexHullDecorator.py
	cura/ConvexHullJob.py
	cura/CuraApplication.py
2016-06-21 14:47:10 +02:00
Tim Kuipers
21ad4713a7 Merge branch '2.1' 2016-06-08 15:35:45 +02:00