please verify: FreeCAD crashes when applying thickness

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
Posts: 17545
Joined: Tue Mar 17, 2015 9:14 am

Re: please verify: FreeCAD crashes when applying thickness

Postby chrisb » Mon Jan 23, 2017 11:10 pm

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
User avatar
bejant
Posts: 5809
Joined: Thu Jul 11, 2013 3:06 pm

Re: please verify: FreeCAD crashes when applying thickness

Postby bejant » Tue Jan 24, 2017 1:10 am

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
Posts: 17545
Joined: Tue Mar 17, 2015 9:14 am

Re: please verify: FreeCAD crashes when applying thickness

Postby chrisb » Tue Jan 24, 2017 3:15 pm

On my Linux box I get a crash as well, same FreeCAD version as your's.
User avatar
Kunda1
Posts: 5168
Joined: Thu Jan 05, 2017 9:03 pm

Re: please verify: FreeCAD crashes when applying thickness

Postby Kunda1 » Tue Jan 24, 2017 3:26 pm

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?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
bejant
Posts: 5809
Joined: Thu Jul 11, 2013 3:06 pm

Re: please verify: FreeCAD crashes when applying thickness

Postby bejant » Tue Jan 24, 2017 5:51 pm

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

Re: please verify: FreeCAD crashes when applying thickness

Postby NormandC » Wed Jan 25, 2017 3:32 am

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

Re: please verify: FreeCAD crashes when applying thickness

Postby user1234 » Thu Jan 26, 2017 12:41 am

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 939 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 939 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 939 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
Posts: 5242
Joined: Wed Oct 22, 2014 5:02 pm

Re: please verify: FreeCAD crashes when applying thickness

Postby sgrogan » Thu Jan 26, 2017 1:33 am

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.
User avatar
Kunda1
Posts: 5168
Joined: Thu Jan 05, 2017 9:03 pm

Re: please verify: FreeCAD crashes when applying thickness

Postby Kunda1 » Fri Mar 24, 2017 3:04 pm

Any OCC 7.1 testers available?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: please verify: FreeCAD crashes when applying thickness

Postby NormandC » Sat Mar 25, 2017 5:15 am

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