Filling a hole

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!
southbot
Posts: 9
Joined: Mon Jun 19, 2017 4:00 pm

Filling a hole

Post by southbot »

Hi
I created a part which contains multiple pockets and pads.
I now need the same part (mirrored) for the other side of my project.
After doing the mirror I need to remove a hole that is not required for this side.
I have tried deleting it in history but it then creates all sorts of errors. What is the best way to fill a hole?


OS: Windows 7
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.11104 (Git)
Build type: Release
Branch: master
Hash: 1b2b964c35bd0f989f1f833a372c48e08cec0194
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
chrisb
Veteran
Posts: 52169
Joined: Tue Mar 17, 2015 9:14 am

Re: Filling a hole

Post by chrisb »

You don't want the hole to disappear in both sides. So there is no use in deleting it from the history with all its unpleasant implication. That way won't do, whatever you try.
You can select one of the faces where the hole goes through and make a pad to close it. Check the reversed button!
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
southbot
Posts: 9
Joined: Mon Jun 19, 2017 4:00 pm

Re: Filling a hole

Post by southbot »

I want the hole completly gone.
Where does one find the 'reversed' button?
User avatar
kkremitzki
Veteran
Posts: 2447
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Filling a hole

Post by kkremitzki »

southbot wrote: Mon Jun 19, 2017 10:42 pm I want the hole completly gone.
Where does one find the 'reversed' button?
It's an option in the Pad parameters:
Attachments
Screenshot-20170619174739-331x270.png
Screenshot-20170619174739-331x270.png (17.93 KiB) Viewed 7829 times
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Filling a hole

Post by bejant »

chrisb wrote: Mon Jun 19, 2017 8:15 pm You can select one of the faces where the hole goes through and make a pad to close it. Check the reversed button!
southbot wrote: Mon Jun 19, 2017 10:42 pm I want the hole completly gone.
Hi southbot, and welcome here. Pad normally adds material to the solid, so a Pad normally happens in a direction that is away from the rest of the solid. chrisb wrote about Reversed so that the Pad will go back into the solid and fill the hole. Even if you forget to tick the Reversed button when you create the Pad, you can change it later from the Data tab:
20170619a.png
20170619a.png (49.44 KiB) Viewed 7820 times

So, to be clear:
Use the Part WB > Mirror tool:
Image
to mirror half of the model. Don't use the Part Design WB > Mirror tool.

Use the Part WB > Booleans tool:
Image
or the Part WB > Boolean Union tool:
Image
to create a Fusion of the two halves.

Select the face that has the hole you want to fill, create a Sketch larger than the hole, and Pad it either by ticking the Reversed tick-box before you create the Pad or by changing the Data tab > Property > Reversed parameter later.

Edited to correct my botched link to the Part WB > Fuse icon.
Last edited by bejant on Tue Jun 20, 2017 9:33 pm, edited 1 time in total.
southbot
Posts: 9
Joined: Mon Jun 19, 2017 4:00 pm

Re: Filling a hole

Post by southbot »

Hi
Thanks for the help.
Unfortunatly it did not make it easy to fix. Everything you guys described worked, but the moment the shape is more than just a simple cube then things go wrong. In the end I landed up using the solid cube from Part WB and the the boolean operators. This required multiple operations to remove the hole. I now have the problem that the resulting object is no longer part of the original Body, which means none of the history can be applied. I am now also unable to sketch on a face of the object to enable further changes. Yes I am a noob with Freecad and have not found much info relating to how 'Body' works.

If you look at the image you can see that the hole marked with the arrows is the one I wanted removed. Since making that hole I then made the large rectangular pocket which means that the hole is now on two seperate sections. Also the hole has been countersunc on one side and has a hex countersink on the other (at back). On the inside of the hole there is a bevel. Now I would have liked to have removed the hole, countersinks and bevel. This is a real worl example of what people might want to use the history for.

As much as I like Freecad, I cannot understand why they even bother with the history when it appears to be so buggy. They should just scrap it and rather make it easier to fix/change things such as the way its done in Design Spark (Space Claim).
Attachments
hole1.jpg
hole1.jpg (14.37 KiB) Viewed 7809 times
chrisb
Veteran
Posts: 52169
Joined: Tue Mar 17, 2015 9:14 am

Re: Filling a hole

Post by chrisb »

I cannot see where it is complicated. The faces at the end of the hole a plane so you could attach the sketch as bejant told you to the face marked with the blue arrow. At the opposite side you can do the same.
Attachments
hole1_cb.jpeg
hole1_cb.jpeg (10.22 KiB) Viewed 7783 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Filling a hole

Post by bejant »

@southbot, please upload your file to the forum so we can troubleshoot it.
jmaustpc
Veteran
Posts: 11211
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Filling a hole

Post by jmaustpc »

southbot wrote: Mon Jun 19, 2017 4:18 pm Hi
I created a part which contains multiple pockets and pads.
I now need the same part (mirrored) for the other side of my project.
After doing the mirror I need to remove a hole that is not required for this side.
I have tried deleting it in history but it then creates all sorts of errors. What is the best way to fill a hole?


OS: Windows 7
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.11104 (Git)
Build type: Release
Branch: master
Hash: 1b2b964c35bd0f989f1f833a372c48e08cec0194
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Just a thought, why not model the side with no hole first, mirror that and then add the hole to the mirror object?
chrisb
Veteran
Posts: 52169
Joined: Tue Mar 17, 2015 9:14 am

Re: Filling a hole

Post by chrisb »

jmaustpc wrote: Wed Jun 21, 2017 6:30 am Just a thought, why not model the side with no hole first, mirror that and then add the hole to the mirror object?
That, of course, would be the right way to go, because it needs the modeling of the holes only once, and not twice, one for opening and one for closing the hole. The first post of southbot shows that he tried to do so, which makes this post in fact a topologigal naming post (again).
@southbot: If you want to change your model according to jmaustpc's comment you may have a look at this post: https://forum.freecadweb.org/viewtopic. ... 14#p155014, especially the repair section. For further information search the forum for "topological naming" and you will find more (than you will read).
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply