c = 1.0\r
if path['layerNr'] != self.parent.layerSpin.GetValue():\r
if path['layerNr'] < self.parent.layerSpin.GetValue():\r
- c = 0.5 - (self.parent.layerSpin.GetValue() - path['layerNr']) * 0.1\r
- if c < 0.1:\r
- c = 0.1\r
+ c = 0.9 - (self.parent.layerSpin.GetValue() - path['layerNr']) * 0.1\r
+ if c < 0.4:\r
+ c = 0.4\r
else:\r
break\r
if path['type'] == 'move':\r
glColor3f(c,0,0)\r
if path['type'] == 'retract':\r
glColor3f(0,c,c)\r
- if c > 0.1 and path['type'] == 'extrude':\r
+ if c > 0.4 and path['type'] == 'extrude':\r
if path['pathType'] == 'FILL':\r
lineWidth = self.fillLineWidth / 2\r
else:\r