Boolean difference error

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
asir_m
Posts: 7
Joined: Tue Nov 15, 2022 6:24 pm

Boolean difference error

Post by asir_m »

Hi, I'm trying to do a Boolean difference operations between 2 solids and getting an error and the result looks terrible.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.4.12
Part I need to subtract from:
question21.PNG
question21.PNG (295.62 KiB) Viewed 373 times
Part I use to subtract with:
question22.PNG
question22.PNG (326.7 KiB) Viewed 373 times
Result shows kind of weird and reversed:
question23.PNG
question23.PNG (348.53 KiB) Viewed 373 times
I swapped selection to test the subtracting but seems part gets fused?
question24.PNG
question24.PNG (219.68 KiB) Viewed 373 times
The difference should occur from the bottom side.

The error message says:
question25.PNG
question25.PNG (4.12 KiB) Viewed 373 times
Any clues?
Thanks
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Boolean difference error

Post by Shalmeneser »

File ?
asir_m
Posts: 7
Joined: Tue Nov 15, 2022 6:24 pm

Re: Boolean difference error

Post by asir_m »

I tried to use the Slice to Compounds and also Cut but similar undesired results.
asir_m
Posts: 7
Joined: Tue Nov 15, 2022 6:24 pm

Re: Boolean difference error

Post by asir_m »

Shalmeneser wrote: Fri Nov 25, 2022 8:43 pmFile ?
middle_forum_error.FCStd
(264.91 KiB) Downloaded 9 times
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Boolean difference error

Post by chrisb »

The sweep shows an error. As you didn't provide how it was built, there is not much we can do.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
asir_m
Posts: 7
Joined: Tue Nov 15, 2022 6:24 pm

Re: Boolean difference error

Post by asir_m »

chrisb wrote: Fri Nov 25, 2022 8:55 pm The sweep shows an error. As you didn't provide how it was built, there is not much we can do.
At least you pointed out to me that Sweep shows error (I assume you used the Check geometry tool), so thanks. The sketch I had was generated from a wire using Draft to Sketch, which around the fillet edges had a lot of b-splines. So I removed them and sketched using Poly line. Used Sweep again and shape came with no errors, and result of Boolean is good now.
question26.PNG
question26.PNG (273.28 KiB) Viewed 243 times
Post Reply