Cannot select polygon for painting if imported from SVG
It is also not possible to paint the area inside an enclosed geometry loaded from an SVG file.
Comments (7)
-
repo owner -
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!
-
repo owner - changed title to Cannot select polygon for painting if imported from SVG
- marked as bug
- marked as major
- edited description
-
repo owner The problem is how SVG is imported. Everything seems to be a LINESTRING, which don't have a
contains()
method. -
repo owner - changed status to resolved
Fixes SVG parser to produce polygons. Fixes
#212.→ <<cset dbe0105f9b99>>
-
repo owner Fixes SVG parser to produce polygons. Fixes
#212.→ <<cset 0539b6caffcc>>
-
repo owner Fixes SVG parser to produce polygons. Fixes
#212.→ <<cset 0539b6caffcc>>
- Log in to comment
Are you getting the message:
when trying to paint?