Pocket operation hangs in Windows

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
PJtraveler
Posts: 30
Joined: Mon Apr 23, 2018 2:57 pm

Pocket operation hangs in Windows

Post by PJtraveler »

A partial pocket that doesn't go all the way through is successful, but when the depth is increased, FC hangs.
See attached model. The last sketch is the pocket operation that fails ( try pocket depth of 15mm)
Pocket 2021-02-05_7-17-14.png
Pocket 2021-02-05_7-17-14.png (160.71 KiB) Viewed 1134 times
.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23756 (Git)
Build type: Release
Branch: master
Hash: 9c6e9184930a52b165a0b7274e3a45d1006bfe67
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
Attachments
Fuji Plate 5-straps.FCStd
(40.6 KiB) Downloaded 66 times
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Pocket operation hangs in Windows

Post by GeneFC »

I believe that making the slot edge coincident with the external geometry is causing a failure in the OCC routines. Move the slots a tiny bit away from the exiting recess and they will work.

I have seen this a lot recently, after seeing it only rarely in the past. I expect there has been some change in OCC that is more sensitive to coincidence problems.

Gene
PJtraveler
Posts: 30
Joined: Mon Apr 23, 2018 2:57 pm

Re: Pocket operation hangs in Windows

Post by PJtraveler »

I can work around it by giving a dimension, and not using Through All, or Symmetric . I was reporting the issue with hopes of getting it fixed.

Thanks,
:-)
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Pocket operation hangs in Windows

Post by GeneFC »

PJtraveler wrote: Sun Feb 07, 2021 7:38 pm I was reporting the issue with hopes of getting it fixed.
As I pointed out in your topic about fillets this issue of coincidence is very well known and comes up frequently on the forum. Unfortunately the problem appears to stem completely from the OCC kernel.

Gene
User avatar
chennes
Veteran
Posts: 3879
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Pocket operation hangs in Windows

Post by chennes »

I've been looking into these hangs you are reporting: we do sometime have custom patches to OCC, so if these issues all turned out to be related then it might make sense to do so again. I think I've got a lead on the first of them, I'll keep poking at it as time allows.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
chennes
Veteran
Posts: 3879
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Pocket operation hangs in Windows

Post by chennes »

I just tested this using OpenCascade 7.5.0 and it actually works fine, so you might consider updating your libpack and recompiling. The bonus is that if you do that, I can post a patched TKShHealing.dll with my fix from your other bug, and it should drop right in.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply