Matty-Downing2169 / opencamlib

Automatically exported from code.google.com/p/opencamlib
GNU General Public License v3.0
0 stars 0 forks source link

opencamlib compiled on ubuntu 8.04 after update gcc and boost segment fault #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I proved use the tooll path for cube and I received this segment fault

Traceback (most recent call last):
  File "/tmp/post.py", line 48, in <module>
    ocl_funcs.zigzag('/tmp/zigzag1.stl', tool_diameter, corner_radius, 1, -6.51, 6.51, -6.51, 6.51, 'X', 0, 0, clearance, rapid_down_to_height, start_depth, step_down, final_depth, 1)
  File "/usr/local/lib/heekscnc/ocl_funcs.py", line 45, in zigzag
    dcf = ocl.PathDropCutterFinish(s)
AttributeError: 'module' object has no attribute 'PathDropCutterFinish'
Segmentation fault

Original issue reported on code.google.com by bghiac...@yahoo.it on 5 Jul 2010 at 8:57

GoogleCodeExporter commented 9 years ago
PathDropCutterFinish has changed name to just PathDropCutter

client code should be updated.

Original comment by anders.e...@gmail.com on 5 Jul 2010 at 9:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Traceback (most recent call last):
  File "/tmp/post.py", line 48, in <module>
    ocl_funcs.zigzag('/tmp/zigzag1.stl', tool_diameter, corner_radius, 1, -1.51, 11.51, -1.51, 11.51, 'X', 0, 0, clearance, rapid_down_to_height, start_depth, step_down, final_depth, 1)
  File "/usr/local/lib/heekscnc/ocl_funcs.py", line 77, in zigzag
    else: path.append(ocl.Line(ocl.Point(x0, u, 0), ocl.Point(x1, u, 0)))
Boost.Python.ArgumentError: Python argument types in
    Point.__init__(Point, float, float, int)
did not match C++ signature:
    __init__(_object*, ocl::Point)
    __init__(_object*, double, double, double)
    __init__(_object*)

Original comment by bghiac...@yahoo.it on 5 Jul 2010 at 9:11

GoogleCodeExporter commented 9 years ago
try 0.0 instead of just 0 as the last argument, then it will be a double and 
not an int.

Original comment by anders.e...@gmail.com on 5 Jul 2010 at 9:21

GoogleCodeExporter commented 9 years ago
ok it's work

record 77

  else: path.append(ocl.Line(ocl.Point(x0, u, 0.0), ocl.Point(x1, u, 0.0)))^M

Original comment by bghiac...@yahoo.it on 5 Jul 2010 at 9:33

GoogleCodeExporter commented 9 years ago
thanks  anders.e.e.wallin

Original comment by bghiac...@yahoo.it on 5 Jul 2010 at 9:34

GoogleCodeExporter commented 9 years ago
closing this issue.

Original comment by anders.e...@gmail.com on 4 Aug 2010 at 9:38