BooleanFragments error Tool shape is null

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!
unrouted
Posts: 12
Joined: Wed Sep 28, 2011 10:30 am

BooleanFragments error Tool shape is null

Postby unrouted » Wed Jan 10, 2018 9:10 pm

Hello,

i want to make an FEM simulation.
As example i created two rectangle plates with 35um thickness and an 1,5mm hight pipe (r1=0,3mm, r2=0,335mm) which connects this two drilled plates. An additional cylinder as heat source was also available.
example1.png
example1.png (9.55 KiB) Viewed 787 times
I want to make an BooleanFragments (Compsolid) before generating mesh and get the following errors.
example1_error1.png
example1_error1.png (14.39 KiB) Viewed 787 times
example1_error2.png
example1_error2.png (15.44 KiB) Viewed 787 times
The errors depend on selection order. And after some trys with "abort" past error message all selected bodies are deleted!

So what's wrong with my model or process?

Thanks!

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12920 (Git)
Build type: Release
Branch: master
Hash: 8faa9f38bb70a598afc2bc39ea1645d416ab057e
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
Attachments
test_FEM_durchkontakt2.FCStd
(42.56 KiB) Downloaded 7 times
User avatar
DeepSOIC
Posts: 6844
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: BooleanFragments error Tool shape is null

Postby DeepSOIC » Wed Jan 10, 2018 10:32 pm

Hi!
Copper_Bottom body is your trouble. It has empty Tip property, and hence null shape.

Switch to PartDesign wb, right-click Pocket and pick Set Tip from context menu. After that you should be good to go.
unrouted
Posts: 12
Joined: Wed Sep 28, 2011 10:30 am

Re: BooleanFragments error Tool shape is null

Postby unrouted » Sun Jan 14, 2018 9:59 pm

Hi

thanks!
This was the solution...

Don't know why the tip was gone.
jmaustpc
Posts: 9557
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: BooleanFragments error Tool shape is null

Postby jmaustpc » Mon Jan 15, 2018 2:09 am

unrouted wrote:
Sun Jan 14, 2018 9:59 pm
Hi

thanks!
This was the solution...

Don't know why the tip was gone.
If you start again, recreating your model from scratch, can you get the Copper_Bottom Body to not have a tip? If so can you provide a step by step way to produce this error?

There has been another post sometime ago where they ended up without a "tip" for no known reason. I am wondering if there is an obscure bug or if there is some user way to remove a tip altogether.
chrisb
Posts: 17513
Joined: Tue Mar 17, 2015 9:14 am

Re: BooleanFragments error Tool shape is null

Postby chrisb » Mon Jan 15, 2018 7:25 am

unrouted wrote:
Sun Jan 14, 2018 9:59 pm
This was the solution...
This is in fact a model which might help finding the bug because it is so simple. Please consider if you have done one of the following
- Copper_bottom had more features and you have deleted some of them?
- Of what type where they, did you have one of the patterns involved (linear, polar, mirror)?
- Did you reassign Sketch001 to a face in between?
- Did you use Reorient Sketch?

It might be of interest that Sketch001 is not attached to a face of the Pad but to XY plane.
chrisb
Posts: 17513
Joined: Tue Mar 17, 2015 9:14 am

Re: BooleanFragments error Tool shape is null

Postby chrisb » Mon Jan 15, 2018 7:32 am

BTW and for your next model: you could have put both sketches into one, they are not too complicated. Glad you didn't here because we thus have a chance to find the error.
chrisb
Posts: 17513
Joined: Tue Mar 17, 2015 9:14 am

Re: BooleanFragments error Tool shape is null

Postby chrisb » Mon Jan 15, 2018 7:40 am

This is how I can reproduce it:
- Create Body
- Create Sketch, attached to XY plane
- Create Sketch001, attached to XY plane
- Pocket, Tip is ok
- Delete Pocket
=> Tip has gone

To reproduce simply delete the last pocket in the attached file.
Attachments
noTipToday.FCStd
(9.31 KiB) Downloaded 4 times
Last edited by chrisb on Mon Jan 15, 2018 9:11 am, edited 1 time in total.
chrisb
Posts: 17513
Joined: Tue Mar 17, 2015 9:14 am

Re: BooleanFragments error Tool shape is null

Postby chrisb » Mon Jan 15, 2018 9:08 am

Should I create a ticket?
chrisb
Posts: 17513
Joined: Tue Mar 17, 2015 9:14 am

Re: BooleanFragments error Tool shape is null

Postby chrisb » Mon Jan 15, 2018 9:12 am

Since it had already been downloaded: I simplified the model and the process of showing the error in my previous post.
User avatar
DeepSOIC
Posts: 6844
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: BooleanFragments error Tool shape is null

Postby DeepSOIC » Mon Jan 15, 2018 9:58 am

chrisb wrote:
Mon Jan 15, 2018 9:08 am
Should I create a ticket?
yes