Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def draw_lines(self, lines, for_selection, j=0):
- if 171 in self.state.gcodes:
- glColor3f(1,0,0)
- glTranslatef(0,0,self.get_xy_plane_z_position())
- linuxcnc.draw_lines("XY", lines, for_selection)
- glPushMatrix()
- glColor3f(0,1,0)
- glTranslatef(0,0,self.get_uv_plane_z_position())
- linuxcnc.draw_lines("UV", lines, for_selection)
- glPopMatrix()
- else:
- return linuxcnc.draw_lines(self.geometry, lines, for_selection)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement