Paint tool ignores some text character paths imported as SVG

Issue #587 resolved
Rami Mehyar created an issue

The paint tool ignores randomly a selected group of character while generating geometry! I have tried changing exported .svg and fonts on inkscape. no luck!

Comments (16)

  1. Marius Stanciu

    Can you post here the SVG file? Ideally the smallest one (one letter) that still show the problem.

  2. Rami Mehyar reporter

    Hello Marius,

    I have attached a five letter word! it shows how it ignores the first three this time!

  3. Rami Mehyar reporter

    I am unable to run flatcam from the source, i need Winpython for that! I never used it and it seems complicated for me 😕

  4. Rami Mehyar reporter

    Is there anything i can do while creating the paths before exporting the svg, so that the polygons remain valid? Meaning why are they considered invalid in the first place?

  5. Marius Stanciu

    Unfortunately the problem is due of how the SVG file is parsed. For example an i is made out of the body of the letter and an point. Both are polygons and the parsing is creating an invalid polygon with an exterior (the point) and an so-called ‘interior’ (the body of the letter) although it is incorrect because the ‘interior’ is supposed to be inside the other polygon which is not the case.
    I will try to improve the parsing for those cases.

  6. Rami Mehyar reporter

    Well after playing around! if you edit the geometry in the edit mode and use the union command, they you can paint them all, but this time the holes in the characters are filled as well.

  7. Rami Mehyar reporter

    Now i need to learn how to run Flatcam from the source using Winpython! never done that before!

  8. Log in to comment