Failure with import - single path of several will not close/wrong "fill"

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
sdaau_ml
Posts: 35
Joined: Fri Dec 07, 2018 12:18 am

Failure with import - single path of several will not close/wrong "fill"

Post by sdaau_ml »

Hi all,

I use:

Code: Select all

OS: Ubuntu Core 20 (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.1.29177 +233 (Git) Snap 245
Build type: Release
Branch: tag: 0.20.1
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Consider the following .svg:
test.svg
(2.8 KiB) Downloaded 19 times
When I try to start a new FreeCAD file, then click File / Import and try to import the above SVG as "SVG as geometry (importSVG)", I get this:

So, for some reason, that which got imported as path1096001, has apparently imported the points correctly - but does not have an outline, and has like a "square fill" instead - and when I try to extrude this path later, the extrusion is not closed, but instead that square fill hovers over the hole.

What is the problem here, and how do I get all paths to import correctly in FreeCAD?
Screenshot at 2022-09-26 10-55-44.png
Screenshot at 2022-09-26 10-55-44.png (134.84 KiB) Viewed 268 times
User avatar
thomas-neemann
Veteran
Posts: 11895
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Failure with import - single path of several will not close/wrong "fill"

Post by thomas-neemann »

sdaau_ml wrote: Mon Sep 26, 2022 8:59 am ...
can you upload the file from which the svg was created?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8540
Joined: Thu Dec 27, 2018 12:28 pm

Re: Failure with import - single path of several will not close/wrong "fill"

Post by Roy_043 »

There is something wrong with the path in question. It has two superimposed points.
Attachments
svg-superimposed-points.png
svg-superimposed-points.png (29.98 KiB) Viewed 251 times
Post Reply