mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-05 20:16:09 +08:00
Add support and skirt/raft colors to GCode preview
This commit is contained in:
parent
0a5cc62205
commit
96d014b2c4
@ -459,6 +459,10 @@ class PreviewGLCanvas(glcanvas.GLCanvas):
|
|||||||
glColor3f(c/2,c/2,0)
|
glColor3f(c/2,c/2,0)
|
||||||
elif path.pathType == 'WALL-INNER':
|
elif path.pathType == 'WALL-INNER':
|
||||||
glColor3f(0,c,0)
|
glColor3f(0,c,0)
|
||||||
|
elif path.pathType == 'SUPPORT':
|
||||||
|
glColor3f(0,c,c)
|
||||||
|
elif path.pathType == 'SKIRT':
|
||||||
|
glColor3f(0,c/2,c/2)
|
||||||
else:
|
else:
|
||||||
glColor3f(c,0,0)
|
glColor3f(c,0,0)
|
||||||
if path.type == 'retract':
|
if path.type == 'retract':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user