Selecting tool from Tool DB gives exception

Issue #450 resolved
Pavel Melnikov created an issue

Hello!

I’ve tried to save a tool into Database, then load it into Geometry object. When I click “Create CNCJob object“, FlatCAM gives me an error in the shell:

[ERROR] An internal error has occurred. See shell.
Object (cncjob) failed because: linear2gcode_extra() got multiple values for argument 'dia' 

Traceback (most recent call last):
  File "D:\1.DEV\FlatCAM_beta\appObjects\AppObject.py", line 131, in new_object
  File "D:\1.DEV\FlatCAM_beta\appObjects\FlatCAMGeometry.py", line 1901, in job_init_single_geometry
  File "D:\1.DEV\FlatCAM_beta\camlib.py", line 4374, in generate_from_geometry_2
  File "D:\1.DEV\FlatCAM_beta\camlib.py", line 4648, in create_gcode_single_pass
TypeError: linear2gcode_extra() got multiple values for argument 'dia'

The tool in question is a V-bit.

FlatCAM version is 8.993 beta x64, installed by windows installer.

Comments (3)

  1. Marius Stanciu

    Hi Pavel,
    It’s been solved sometime after the release of v 8.993. The fix will be available in the next version.

  2. Log in to comment