Why boolean failed with may drawing?

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!
hieppo
Posts: 16
Joined: Wed Oct 07, 2020 7:43 pm

Why boolean failed with may drawing?

Post by hieppo »

Hi,

Using the following:
OS: Ubuntu 18.04.5 LTS (MATE/mate)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22611 (Git) AppImage
Build type: Release
Branch: master
Hash: 7eeec7a5990cc786723225ca8de16ca3186545b3
Python version: 3.8.5
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/Canada (en_CA)

I tried to boolean the bottom and lip part together to form one part so that I can export it out to stl but it fails to do so. I have to use Tinkercad just to join the two parts together, sort of pointless when FreeCAD should be able to do it easily.

I was able to boolean if the last 3 changes (Fillet, Box002 and Pad005) I made to the lip was not there. I seem to almost not allowed too many changes per part.

Could someone please tell me the reason and rule so that I can keep that in mid for future drawing?

Thanks,
Attachments
ir_phone_speaker_v2.FCStd
(944.08 KiB) Downloaded 31 times
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Why boolean failed with may drawing?

Post by chrisb »

Coplanar faces are often failing. It is better to model some overlap or in your case, some distance. From what I see there is no need for two bodies, or did I miss something?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Why boolean failed with may drawing?

Post by Shalmeneser »

I don't know.

-----
Some remarks :
* always try to fully constrain each sketch : "><"on the sketch icon in the tree (Sketcher_ConstrainBlock for B-spline)
* sketches from LIP have no support ???
* Why 2 bodies ? ShapeBinder can help link the 2nd to the 1st. (different colors for different bodies will help discriminate them also)
* Pad004 ?
* Pocket003+Pocket004 = PartDesign_Hole with CounterBore
* Sketch011 : Sketcher_ToggleConstruction THEN Sketcher_CreateRegularPolygon for all the centers.
* Pocket005 : better than Sketch001 : PartDesign_PolarPattern on incomplete circle
* Sketch004 overconstrained "!"
* Error :

Code: Select all

21:35:26  Sketch Sketch001 has partially redundant constraints!
21:35:26  PartDesign::Pad / Pad001: Links go out of the allowed scope
21:35:26  Transformed: Non-Overlapping feature mode (compound of tool shapes)
File was not written with this version of the topology
me : 0.20.25311
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Why boolean failed with may drawing?

Post by Shalmeneser »

chrisb wrote: Wed Aug 04, 2021 7:32 pm Coplanar faces are often failing. It is better to model some overlap or in your case, some distance.
Adding something to avoid coplanarity doesn't help.
.
From what I see there is no need for two bodies, or did I miss something?
So did I.
Attachments
fail.PNG
fail.PNG (14.8 KiB) Viewed 1341 times
hieppo
Posts: 16
Joined: Wed Oct 07, 2020 7:43 pm

Re: Why boolean failed with may drawing?

Post by hieppo »

As a FreeCAD noob, I thought I needed two bodies at the start but by the end, I realize only one body was needed at the end. It just easier to compartmentalizing the drawing for me.

I guess best practice is to draw bodies with more overlap.

I tried my best to fully constraint all the drawing but it just got very messy. I went the lazy way and just use the lock which is not the best practice. I am still learning and exploring the different functions and such so bare with me. This is the most technical drawing to date I have drawn. Earlier it was either some simple shape mod to an existing converted stl or very basic shapes.

Thanks everyone.
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Why boolean failed with may drawing?

Post by Shalmeneser »

To be continuated ...

* I've simplified 1st sketch ! I don't know what is the necessity of B-spline.
Attachments
ir_phone_speaker_v2_SHALM.FCStd
(264.96 KiB) Downloaded 24 times
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Why boolean failed with may drawing?

Post by Shalmeneser »

Done :D
(nevertheless you have to check everything)
Attachments
ir_phone_speaker_v2_SHALM.FCStd
(508.39 KiB) Downloaded 31 times
Iron.PNG
Iron.PNG (45.92 KiB) Viewed 1197 times
hieppo
Posts: 16
Joined: Wed Oct 07, 2020 7:43 pm

Re: Why boolean failed with may drawing?

Post by hieppo »

Wow,
What great service. I was only expecting some helpful answer but a finished product. You guys went over the top. Hope to see more help in the future as I am still learning. :D

Update:
I took a look at SHALM version and I have a few questions for learning purposes.
1. What is a datumline or datumplane and what is its use?
2. I have difficult drawing on a surface. I would always select the correct plane and draw and I would have to transform it to the surface. Sometimes it would pick the back side which I rotate and start sketching. Is there a way to select the proper surface to sketch?
3. Do you know why I can't open your sketches? It says "The sketch is invalid and can't be edited."

Thanks again.
User avatar
Shalmeneser
Veteran
Posts: 9560
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Why boolean failed with may drawing?

Post by Shalmeneser »

hieppo wrote: Thu Aug 05, 2021 1:35 pm What great service. I was only expecting some helpful answer but a finished product. You guys went over the top. Hope to see more help in the future as I am still learning. :D
Your pleasure is my pleasure.
.
1. What is a datumline or datumplane and what is its use?
PartDesign_Plane or Line or Point are 'visible' reference objects.
Line can be used for PartDesign_PolarPattern.
Plane can be used for PartDesign_Mirrored.
They can be used for Sketch Attachment. (even if usually the sketch can self-attach).
.
2. I have difficult drawing on a surface. I would always select the correct plane and draw and I would have to transform it to the surface. Sometimes it would pick the back side which I rotate and start sketching. Is there a way to select the proper surface to sketch?
Due to TNP :twisted:, it could be dangerous to sketch selecting a face.
It's better to position Sketches via Attachment modification.
(I don't understand all your question. :? )
.
3. Do you know why I can't open your sketches? It says "The sketch is invalid and can't be edited."
:o Version ? (https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds)

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.25311 (Git)
Build type: Release
Branch: master
Hash: c5524bb58a7126fa2242d6137eb82ee9d54e82d4
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: French/France (fr_FR)
hieppo
Posts: 16
Joined: Wed Oct 07, 2020 7:43 pm

Re: Why boolean failed with may drawing?

Post by hieppo »

Ah, you are using the weekly releases. I am on the stable one. I will download the weekly and see if I can open your sketches.
Post Reply