inner NCC not working
Hey, making inner NCC as slot cut, my tool in DB is NCC with Inner tool offset.
Nothing special.
Getting an error:
[ERROR] An internal error has occurred. See shell. Object (geometry) failed because: 'LineString' object is not subscriptable Traceback (most recent call last): File "D:\1.DEV\FlatCAM_beta\appObjects\AppObject.py", line 162, in new_object File "D:\1.DEV\FlatCAM_beta\appTools\ToolNCC.py", line 2276, in gen_clear_area File "D:\1.DEV\FlatCAM_beta\appTools\ToolNCC.py", line 1929, in get_tool_empty_area File "D:\1.DEV\FlatCAM_beta\appTools\ToolNCC.py", line 3729, in get_ncc_empty_area File "C:\Users\….\Documents\FlatCAM\shapely\geometry\multipolygon.py", line 62, in __init__ self._geom, self._ndim = geos_multipolygon_from_polygons(polygons) File "C:\Users\…Documents\FlatCAM\shapely\geometry\multipolygon.py", line 194, in geos_multipolygon_from_polygons shell = ob[0] TypeError: 'LineString' object is not subscriptable
Comments (2)
-
-
- attached inner.DXF
- attached holder.DXF
- Log in to comment
Hi Alex,
Looks like you have two geometries inside the attached project.
I did tried to do a copper clear with NCC Tool and 8.994 and indeed there were problems but when using the latest commit on my fork of FlatCAM I could generate the geometry.
Yet, the Geometries are paths and if you need to copper clear only the middle of the holder.DXF you can’t do it but you can copper clear the inner.DXF geometry.
If you need to copper clear the holder.DXF except the inner side, then you need to use perhaps the Paint Tool or play creatively with the Geometry Editor.
Best regards,
Marius