Generate a toolpath, then go to Settings/Preferences then select Display Items and then select Show Directions:
Traceback (most recent call last):
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 274, in
self.core.emit_event("visual-item-updated"))
File "/home/sel/Downloads/pycam/pycam/Gui/Project.py", line 190, in emit_event
func(*(data + args), kwargs)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 257, in update_view
self.paint()
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 473, in check_busy_wrapper
result = func(self, *args, *kwargs)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 604, in gtkgl_functionwrapper_function
result = function(self, args, kwords)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 494, in gtkgl_refresh_wrapper
self._paint_raw()
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 776, in _paint_raw
self.core.emit_event("visualize-items")
File "/home/sel/Downloads/pycam/pycam/Gui/Project.py", line 190, in emit_event
func(*(data + args), *kwargs)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLViewToolpath.py", line 93, in draw_toolpaths
self._draw_toolpath_moves(moves)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLViewToolpath.py", line 158, in _draw_toolpath_moves
pycam.Gui.OpenGLTools.draw_direction_cone(p1, p2)
File "/home/sel/Downloads/pycam/pycam/Gui/OpenGLTools.py", line 48, in keep_matrix_wrapper
result = func(args, **kwargs)
File "/home/sel/Downloads/pycam/pycam/Gui/OpenGLTools.py", line 58, in draw_direction_cone
distance = psub(p2, p1)
File "/home/sel/Downloads/pycam/pycam/Geometry/PointUtils.py", line 88, in psub
return (a[0] - b[0], a[1] - b[1], a[2] - b[2])
TypeError: 'int' object has no attribute 'getitem'
Generate a toolpath, then go to Settings/Preferences then select Display Items and then select Show Directions:
Traceback (most recent call last): File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 274, in
self.core.emit_event("visual-item-updated"))
File "/home/sel/Downloads/pycam/pycam/Gui/Project.py", line 190, in emit_event
func(*(data + args), kwargs)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 257, in update_view
self.paint()
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 473, in check_busy_wrapper
result = func(self, *args, *kwargs)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 604, in gtkgl_functionwrapper_function
result = function(self, args, kwords)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 494, in gtkgl_refresh_wrapper
self._paint_raw()
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLWindow.py", line 776, in _paint_raw
self.core.emit_event("visualize-items")
File "/home/sel/Downloads/pycam/pycam/Gui/Project.py", line 190, in emit_event
func(*(data + args), *kwargs)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLViewToolpath.py", line 93, in draw_toolpaths
self._draw_toolpath_moves(moves)
File "/home/sel/Downloads/pycam/pycam/Plugins/OpenGLViewToolpath.py", line 158, in _draw_toolpath_moves
pycam.Gui.OpenGLTools.draw_direction_cone(p1, p2)
File "/home/sel/Downloads/pycam/pycam/Gui/OpenGLTools.py", line 48, in keep_matrix_wrapper
result = func(args, **kwargs)
File "/home/sel/Downloads/pycam/pycam/Gui/OpenGLTools.py", line 58, in draw_direction_cone
distance = psub(p2, p1)
File "/home/sel/Downloads/pycam/pycam/Geometry/PointUtils.py", line 88, in psub
return (a[0] - b[0], a[1] - b[1], a[2] - b[2])
TypeError: 'int' object has no attribute 'getitem'