Cannot select polygon for painting if imported from SVG

Issue #212 resolved
Jeroen created an issue

It is also not possible to paint the area inside an enclosed geometry loaded from an SVG file.

Comments (7)

  1. Jeroen reporter

    Yes I am getting exactly that error.

    My file is made up of several arcs segments and radial lines and has a solid fill, made with LibreCAD. The SVGs are exported as MakerCAM SVG. The fill is not loaded in FlatCAM.

    I just noticed inkscape throws an error when opening the SVG files as well and continues by loading them without a solid fill.

    I've tried to join the segments in FlatCAM to create a continuous geometry, but was still unable to paint it and received the error upon trying after saving the geometry. The arc and line segments were separated again upon re-editing the geometry as well.

    Thanks a lot for your attention!

  2. Juan Pablo Caram repo owner

    The problem is how SVG is imported. Everything seems to be a LINESTRING, which don't have a contains() method.

  3. Log in to comment