Create a hole polygon

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!
tutcy83
Posts: 8
Joined: Fri Aug 05, 2022 9:13 am

Create a hole polygon

Post by tutcy83 »

Hello,

I'm new to FreeCAD and I hope to find a good tip for my question here!
So, I have an SVG-file with a set of polygon paths, like this Image
In FreeCad I do the following:
1. Import SVG as a geometry (importSVG)
2. Choosing 'No' to the question 'Do you wish to use 96 dpi'
3. Select all paths and make 'Extrude'. Than I have a set of 3d solid polygons like this: Image

The question is: how to make each polygon as a hole polygon? Image

Thank you.
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Create a hole polygon

Post by chrisb »

Hi and welcome to the forum!

- Select the extrudes you want to be holes
- make a Part->Union
- Cut the Union from the rest.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
tutcy83
Posts: 8
Joined: Fri Aug 05, 2022 9:13 am

Re: Create a hole polygon

Post by tutcy83 »

Hi chrisb,
thank you for the help! I've tried to do an Union, but Union does nothing - the paths looks like before:

Image

I've also tried to add a Part::Thickness, and it work for one Extrude, but when I try to make it for all Extrudes via macro, I get the following result:
Image Image

I also attach my svg https://we.tl/t-HAOvBYlAuO and macro https://we.tl/t-gQOFM80qEN.
What is wrong with the Union and Thickness?

Thank you.
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Create a hole polygon

Post by chrisb »

Can you provide the FreeCAD file as well? And pleas on a filehoster that doesn't require registration.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
tutcy83
Posts: 8
Joined: Fri Aug 05, 2022 9:13 am

Re: Create a hole polygon

Post by tutcy83 »

Here you are https://file.io/r2PG1sSlCKok. You don't need a registration there.
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Create a hole polygon

Post by chrisb »

tutcy83 wrote: Fri Aug 19, 2022 4:22 pm Here you are https://file.io/r2PG1sSlCKok. You don't need a registration there.
I get the message "The transfer you requested has been deleted.".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
tutcy83
Posts: 8
Joined: Fri Aug 05, 2022 9:13 am

Re: Create a hole polygon

Post by tutcy83 »

Ok... Another try https://easyupload.io/73nxj0 - this is the result of Thickness transformation.
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Create a hole polygon

Post by TheMarkster »

Select all the ones you want to use as the base and do a Union. Alternatively, select the ones you want as cutting tools and delete them, then union all the rest.
Snip macro screenshot-8871ad.png
Snip macro screenshot-8871ad.png (31.88 KiB) Viewed 839 times
tutcy83
Posts: 8
Joined: Fri Aug 05, 2022 9:13 am

Re: Create a hole polygon

Post by tutcy83 »

The result should look like Image, but for all the paths.
Here is the FreeCad file https://easyupload.io/pjr5tz
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: Create a hole polygon

Post by TheMarkster »

Thickness is very fragile and finicky.

Try this. Select all the top faces of the extrude objects and create a SubShapeBinder (green one) in Part Design (you don't need a body object). Set the Offset property to -.25 mm.
Snip macro screenshot-71a2d3.png
Snip macro screenshot-71a2d3.png (59.75 KiB) Viewed 787 times
Extrude the binder in Part workbench, ticking reverse to true and length to 4.75 mm. You can then cut this new extrude from a union of the base extrudes. You might have to reset the color in the view tab for the extruded binder because it will be yellow.
Post Reply