Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

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
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by MRx »

Hi,

does anyone know how to fix this issue? I have seen some posts about modifying the tolerances but I did not really understand them (maybe I was just looking at the wrong posts so far).

I have attached the example.
Ino3mb.png
Ino3mb.png (37.71 KiB) Viewed 2847 times
Attachments
HoleInHole.FCStd
(20.35 KiB) Downloaded 48 times
User avatar
papyblaise
Veteran
Posts: 7795
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by papyblaise »

what is the question :?:
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by MRx »

How to fix the BOPAlgo_InvalidCurveOnSurface issue.
User avatar
papyblaise
Veteran
Posts: 7795
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by papyblaise »

you need A , B or both :?:
Attachments
B.PNG
B.PNG (21.23 KiB) Viewed 2718 times
A.PNG
A.PNG (8.28 KiB) Viewed 2718 times
user1234
Veteran
Posts: 3261
Joined: Mon Jul 11, 2016 5:08 pm

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by user1234 »

No issues or invalid geometry here.
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by MRx »

Really no invalid geometry?

Part -> Check Geometry

----

OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.20.26202 (Git)
Build type: Release
Branch: master
Hash: ca6d49d080dea0abc23d954743eca7c46f33469b
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)
drmacro
Veteran
Posts: 8806
Joined: Sun Mar 02, 2014 4:35 pm

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by drmacro »

When I open the file there is only a single solid...with no history and the geo check produces the Invalid Curve messages.

No history = no fix, me thinks. Moral: never delete history. Or only delete history after making pre-delete copy of file.
Snip macro screenshot-ae5e5f.png
Snip macro screenshot-ae5e5f.png (62.04 KiB) Viewed 2690 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by MRx »

> When I open the file there is only a single solid...with no history and the geo check produces the Invalid Curve messages.

that's too easy to say, it happens with any intersected hole. I think a year ago I had a disastrous issue with intersected holes and freecad it destroyed the entire object.
It's very likely an OCCT issue (7.5.3 is used here).
However in that object it just complains about the invalid surface - so question is how to fix that when it has happened.


However for you attached you can find a file with a history (I just created it newly).
Refining and clearing the history is required for bigger projects at the moment with upstream FreeCAD due to BRP loading issues which happen when certain geometries are used (OCCT issue) but that's another topic.
Attachments
intersectingHole2.FCStd
(135.46 KiB) Downloaded 59 times
drmacro
Veteran
Posts: 8806
Joined: Sun Mar 02, 2014 4:35 pm

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by drmacro »

MRx wrote: Tue Nov 23, 2021 1:44 pm ...Refining and clearing the history is required for bigger projects at the moment with upstream FreeCAD due to BRP loading issues which happen when certain geometries are used (OCCT issue) but that's another topic.
As I've said before, I don't think it is a particularly good workflow. But, again, that is a different topic. ;)

But to the case in discussion..., when I create a similar model, the geo check seems to be ok on all 3 of the copy types I've created.
Snip macro screenshot-434b89.png
Snip macro screenshot-434b89.png (88.1 KiB) Viewed 2632 times
Attachments
intersectingHole-mac.FCStd
(94.14 KiB) Downloaded 26 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
MRx
Posts: 319
Joined: Wed Jul 08, 2020 5:59 am
Location: Tainan / Taiwan

Re: Intersecting Holes (BOPAlgo_InvalidCurveOnSurface)

Post by MRx »

drmacro wrote: Tue Nov 23, 2021 2:07 pm
MRx wrote: Tue Nov 23, 2021 1:44 pm ...Refining and clearing the history is required for bigger projects at the moment with upstream FreeCAD due to BRP loading issues which happen when certain geometries are used (OCCT issue) but that's another topic.
As I've said before, I don't think it is a particularly good workflow. But, again, that is a different topic. ;)

But to the case in discussion..., when I create a similar model, the geo check seems to be ok on all 3 of the copy types I've created.
Snip macro screenshot-434b89.png
keep working on the model a bit after refining and you'll be there.
It's no good workflow but upstream freecad cannot handle it better at the moment, other patches are needed. There's the FCStd too slow discussion in the forum which addresses the other issue.
And a little bit further it also needs investigation on the OCCT side (which is on my list at the moment and will happen once I have time for it).
Post Reply