Ticket #2041 - FreeCAD warns when applying thickness "BRepAlgo_Image::Bind" (used to crash but now just warns)

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!
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: please verify: FreeCAD crashes when applying thickness

Post by chrisb »

Not crashing in 0.17. It shows an alert instead:
BRepAlgo_Image::Bind.

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9586 (Git)
Build type: Release
Branch: (detached from 0e2cf2e)
Hash: 0e2cf2ebcaaa50723de608cf030af740cb6ad548
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.0.0
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: please verify: FreeCAD crashes when applying thickness

Post by bejant »

chrisb wrote:Not crashing in 0.17. It shows an alert instead:
BRepAlgo_Image::Bind.

OS: Mac OS X
I got a crash too and wasn't going to reply until I read that you got an alert instead.

Faces 5 and 6 are made from the Sketches, so applying the Thickness tool to those faces results in success. Applying Thickness to faces 1 through 4 causes FreeCAD to blink out of existence. I suspect that because Loft never produces planar faces between Sketches this is an OCC problem, but if it is a known FreeCAD problem then FreeCAD should contain the error without a crash.

OS: Ubuntu 16.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.9747 (Git)
Build type: None
Branch: master
Hash: f5c0f579cbd7ce668727f8835946e4e9abc0eec6
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: please verify: FreeCAD crashes when applying thickness

Post by chrisb »

On my Linux box I get a crash as well, same FreeCAD version as your's.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by Kunda1 »

bejant wrote:
chrisb wrote:Not crashing in 0.17. It shows an alert instead:
BRepAlgo_Image::Bind.

OS: Mac OS X
I got a crash too and wasn't going to reply until I read that you got an alert instead.

Faces 5 and 6 are made from the Sketches, so applying the Thickness tool to those faces results in success. Applying Thickness to faces 1 through 4 causes FreeCAD to blink out of existence. I suspect that because Loft never produces planar faces between Sketches this is an OCC problem, but if it is a known FreeCAD problem then FreeCAD should contain the error without a crash.

OS: Ubuntu 16.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.17.9747 (Git)
Build type: None
Branch: master
Hash: f5c0f579cbd7ce668727f8835946e4e9abc0eec6
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
chrisb wrote:On my Linux box I get a crash as well, same FreeCAD version as your's.
Guys I think the point is to test this with OCC 7.0 right?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by bejant »

Yes.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: please verify: FreeCAD crashes when applying thickness

Post by NormandC »

We really, really need to get OCCT 7 in the daily PPA. :(
user1234
Veteran
Posts: 3346
Joined: Mon Jul 11, 2016 5:08 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by user1234 »

I got an errormessage like other users:

Code: Select all

BRepAlgo_Image::Bind.
or the CPU works forever.

But when i make a a surface with the shapebinder and make a Pad, it makes the offset in one direction and in the other direction it goes - rectangular to the sketch - to the BodyOrigin Plane:
0003.png
0003.png (148.63 KiB) Viewed 2496 times
Or when i make a a surface with the shapebinder and make a Offset with the option "Fill == true" it makes the offset right:
0004.png
0004.png (165.02 KiB) Viewed 2496 times
Btw. When i fuse both, it makes a correct shape.

But in both workarounds it have no tangenty joins with the boundarysurfaceses (is this spelled right?). And i think this the problem by the thinknessoperation:
0001.png
0001.png (155.68 KiB) Viewed 2496 times
My machine:

Code: Select all

OS: Debian GNU/Linux 8.7 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9797 (Git)
Build type: Unknown
Branch: master
Hash: 9a6191f5726d6588c650ffab4c65fdfb835bc2da
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
I hope, this helped.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by sgrogan »

NormandC wrote:We really, really need to get OCCT 7 in the daily PPA. :(
We need a hero, I'm both skill and time challenged. I think I captured gdo35's work here: https://git.launchpad.net/~freecad-main ... -packaging
I'd contribute to a crowd funding/bounty effort, but I don't think I can do it.
"fight the good fight"
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: please verify: FreeCAD crashes when applying thickness

Post by Kunda1 »

Any OCC 7.1 testers available?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: please verify: FreeCAD crashes when applying thickness

Post by NormandC »

That's odd. Using freecad-daily with OCCT 7.1.0, no crash and no error: the Thickness completes, but the result is unchanged from the Loft (no shelling operation is done). Part Check geometry reports the solid as invalid.

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10611 (Git)
Build type: None
Branch: master
Hash: 44a9ecd25f27ec3efe52c9de9c95ef2b3e19dd17
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Post Reply