Menu

#71 Comment: fail to write Toolpath with following

git_-_master
open
nobody
5
2012-12-10
2012-12-10
Anonymous
No

An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
Traceback (most recent call last):
File "/home/ram/pycam/pycam/Plugins/Tasks.py", line 316, in generate_toolpath
toolpath = func(task, callback=draw_callback)
File "/home/ram/pycam/pycam/Plugins/TaskTypes.py", line 78, in run_task
minz=low[2], maxz=high[2], draw_callback=callback)
File "/home/ram/pycam/pycam/PathGenerators/DropCutter.py", line 74, in GenerateToolPath
callback=progress_counter.update):
File "/home/ram/pycam/pycam/Utils/threading.py", line 667, in run_in_parallel_local
yield func(arg)
File "/home/ram/pycam/pycam/PathGenerators/DropCutter.py", line 41, in _process_one_grid_line
return get_max_height_dynamic(model, cutter, positions, minz, maxz, physics)
File "/home/ram/pycam/pycam/PathGenerators/__init__.py", line 278, in get_max_height_dynamic
result.append(get_max_height(p[0], p[1]))
File "/home/ram/pycam/pycam/PathGenerators/__init__.py", line 274, in <lambda>
x, y, minz, maxz)
File "/home/ram/pycam/pycam/PathGenerators/__init__.py", line 241, in get_max_height_triangles
cut = cutter.drop(t, start=p)
File "/home/ram/pycam/pycam/Cutters/BaseCutter.py", line 134, in drop
return self.intersect(BaseCutter.vertical, triangle, start=start)[0]
File "/home/ram/pycam/pycam/Cutters/SphericalCutter.py", line 222, in intersect
triangle.e1, start=start)
File "/home/ram/pycam/pycam/Cutters/SphericalCutter.py", line 196, in intersect_sphere_edge
start=start)
File "/home/ram/pycam/pycam/Cutters/SphericalCutter.py", line 187, in intersect_sphere_line
self.distance_radius, self.distance_radiussq, direction, edge)
File "/home/ram/pycam/pycam/Geometry/intersection.py", line 245, in intersect_sphere_line
n = pcross(n, direction)
UnboundLocalError: local variable 'n' referenced before assignment

Discussion

  • Nobody/Anonymous

    Comment: fail to write Toolpath with following

     
  • Nobody/Anonymous

    investment. Please share this article [url=http://cheapbeatsbydrenbastore.webstarts.com/]Beats By Dre NBA[/url] <a href="http://cheapbeatsbydrenbastore.webstarts.com/" title="Beats By Dre NBA">Beats By Dre NBA</a>

     

Log in to post a comment.