Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/bcam/main.py", line 26, in periodic
ep.process()
File "/usr/lib/python2.7/dist-packages/bcam/events.py", line 132, in process
self.eventse
File "/usr/lib/python2.7/dist-packages/bcam/events.py", line 427, in offset_follow_tool_click
if path_follow_op.apply(connected):
File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 201, in apply
self.build_offset_path(path)
File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 56, in build_offset_path
return self.build_offset_path_normals(p)
File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 174, in build_offset_path_normals
e_pt = self.two_point_offset(e, elements[i+1])
File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 93, in two_point_offset
x = (a_e_dx-b_ne_dx)/(e_dy_ne_dx-ne_dy_e_dx)
ZeroDivisionError: float division by zero
Resolution
External contour offset following leads to backtrace
https://dl.dropboxusercontent.com/u/3653629/test_frame.dxf
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/bcam/main.py", line 26, in periodic ep.process() File "/usr/lib/python2.7/dist-packages/bcam/events.py", line 132, in process self.eventse File "/usr/lib/python2.7/dist-packages/bcam/events.py", line 427, in offset_follow_tool_click if path_follow_op.apply(connected): File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 201, in apply self.build_offset_path(path) File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 56, in build_offset_path return self.build_offset_path_normals(p) File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 174, in build_offset_path_normals e_pt = self.two_point_offset(e, elements[i+1]) File "/usr/lib/python2.7/dist-packages/bcam/tool_op_offset_follow.py", line 93, in two_point_offset x = (a_e_dx-b_ne_dx)/(e_dy_ne_dx-ne_dy_e_dx) ZeroDivisionError: float division by zero