How to fill in a missing faces on an extruded SVG cruve?

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
unfa
Posts: 30
Joined: Mon Jun 15, 2015 6:13 am

How to fill in a missing faces on an extruded SVG cruve?

Post by unfa »

I'm trying to build a model based on a design created in Inkscape.

When I import SVG as geometry, some paths appear as dots, not lines. When I extrude these paths, the resulting shape is a hollow shell, not a solid.

Here's an example of a non-extruded hollow path:
Selection_777.png
Selection_777.png (63.08 KiB) Viewed 911 times
And here's one after extrusion:
Selection_776.png
Selection_776.png (41.38 KiB) Viewed 911 times
More examples:
Selection_779.png
Selection_779.png (75.04 KiB) Viewed 906 times
How can I fix this?
chrisb
Veteran
Posts: 54311
Joined: Tue Mar 17, 2015 9:14 am

Re: How to fill in a missing faces on an extruded SVG cruve?

Post by chrisb »

Perhaps this can be fixed in the SVG using inkscape. Does it look ok there? Are all paths closed? If they are nested, what happens if you reverse the inner path?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
unfa
Posts: 30
Joined: Mon Jun 15, 2015 6:13 am

Re: How to fill in a missing faces on an extruded SVG cruve?

Post by unfa »

Looks like these kinds of problems occur when the curve overlaps with itself, or has a too sharp angle - that probably is identified as a self-collision by the BREP engine.

I wonder if there's a way to automatically correct this in FreeCAD? Draft Heal maybe? I'll try.
flaminglasrswrd
Posts: 1
Joined: Sun Sep 26, 2021 4:22 pm

Re: How to fill in a missing faces on an extruded SVG cruve?

Post by flaminglasrswrd »

This is still a problem as of 0.20. The simplest solution is to simplify your path in Inkscape (Ctrl-L) before importing to FreeCAD. Depending on the complexity, you might have to simplify multiple times. However, each time you simplify will slightly distort your graphic.

If you only have one large shape, you can merge overlapping nodes using a somewhat more complicated routine.
Post Reply