Menu

Problem creating gcode _process_one_grid_line

Help
2010-10-10
2013-03-08
  • Andrew Bromwich

    Andrew Bromwich - 2010-10-10

    Hi,

    I get the following error when trying to generate a toolpath from a svg file. This output is from trying to create a toolpath for the sample 'polygons.svg':

    An unexpected exception occoured: please send the text below to the developers of PyCAM. Thanks a lot!
    Traceback (most recent call last):
      File "./src/pycam/Gui/Project.py", line 2767, in generate_toolpath
        self.model, toolpath_settings, callback=draw_callback)
      File "./src/pycam/Toolpath/Generator.py", line 60, in generate_toolpath_from_settings
        backend, callback)
      File "./src/pycam/Toolpath/Generator.py", line 279, in generate_toolpath
        maxz, stepping, stepping, direction_param, callback)
      File "./src/pycam/PathGenerators/DropCutter.py", line 137, in GenerateToolPath
        args, disable_multiprocessing=disable_multiprocessing):
      File "./src/pycam/Utils/threading.py", line 235, in run_in_parallel_remote
        yield func(args)
    TypeError: _process_one_grid_line() takes exactly 2 arguments (1 given)

    Please let me know what other info you might need.

    Cheers,

    Andrew

     
  • Lars

    Lars - 2010-10-11

    Hi Andrew,

    it seems like you are using the current trunk of the subversion repository.
    This is brave (since the code is not really stable) and - of course - helpful for me - thanks! :)

    I just committed a fix for the cause of your problem (part of r741).

    Another thing: you will probably want to use the "Gravure" task ("Engraving" strategy) for 2D models. The other three templates ("Rough", "Semi-finish", "Finish") are only useful for 3D models. The wiki documentation and the GUI interface require some more improvements in this regard before the next release …

    cheers,
    Lars

     

Log in to post a comment.