nav111 / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

Problem running python script to generate nc code #236

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Used the script (from jmars...@fastmail.fm,  May 24, 2010) from 
http://code.google.com/p/heekscad/wiki/UbuntuInstallation to install on Ubuntu 
10.04 64Bit
2. Started HeekCAD, added HeekCNC Plugin, Restart
3. Created Cone, selected ZigZag
4. Pressed "Create Script" and "Run Script
5. This error is put to the console:
Traceback (most recent call last):
  File "/tmp/post.py", line 54, in <module>
    ocl_funcs.zigzag('/tmp/zigzag1.stl', tool_diameter, corner_radius, 1, -9.51, 13.51, -26.51, -3.49, 'X', 0, 0, clearance, rapid_down_to_height, start_depth, step_down, final_depth, 1)
  File "/usr/local/lib/heekscnc/ocl_funcs.py", line 30, in zigzag
    s = STLSurfFromFile(filepath)
  File "/usr/local/lib/heekscnc/ocl_funcs.py", line 8, in STLSurfFromFile
    s.build_kdtree()
AttributeError: 'STLSurf' object has no attribute 'build_kdtree'

Versions used:

URL: http://heekscad.googlecode.com/svn/trunk/src
Basis des Projektarchivs: http://heekscad.googlecode.com/svn
UUID des Projektarchivs: 1e116681-dd50-0410-83da-2bc3025dbda1
Revision: 1266
URL: http://heekscnc.googlecode.com/svn/trunk
Basis des Projektarchivs: http://heekscnc.googlecode.com/svn
UUID des Projektarchivs: f5ef57e9-3852-0410-a096-1f345c7b90ba
Revision: 1093
URL: http://opencamlib.googlecode.com/svn/trunk
Basis des Projektarchivs: http://opencamlib.googlecode.com/svn
UUID des Projektarchivs: 6716d9d0-1686-11df-af94-e1b821207274
Revision: 358

Original issue reported on code.google.com by er12345...@googlemail.com on 6 Aug 2010 at 8:25

Attachments:

GoogleCodeExporter commented 8 years ago
I worked around it using Revision 328 of opencamlib. But so it is missing the 
improvements of the more recent revisions.

Original comment by er12345...@googlemail.com on 7 Aug 2010 at 6:34

GoogleCodeExporter commented 8 years ago
Can you test this one again now?  I think this is fixed now.

Original comment by David.Ni...@gmail.com on 13 Aug 2010 at 11:24

GoogleCodeExporter commented 8 years ago
I tested just some seconds ago, and it is working fine now. Thank you a lot!

Original comment by er12345...@googlemail.com on 15 Aug 2010 at 10:08

GoogleCodeExporter commented 8 years ago

Original comment by David.Ni...@gmail.com on 15 Aug 2010 at 12:32