face-normal-flip-float-bug ?

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
teobo
Posts: 410
Joined: Fri Feb 21, 2014 11:23 am

Re: face-normal-flip-float-bug ?

Post by teobo »

teobo wrote:
shoogen wrote:
teobo wrote:Is it on the bug or at least on the request list at occ?
http://tracker.dev.opencascade.org/roadmap_page.php
http://tracker.dev.opencascade.org/view ... g_page.php
I don't think so. But, tough their bug tracker is publicly available, most requests issued by or on behalf of their paying customer are not visible for us.
So, when I take some time, I gonna leave a hint there with an url to this thread or to our bug tracker thread about it. May it be it be a design flow that difficult to work around or bug:
1. Face normals flip unpredictably at creation
2. which causes hardly foreseeable and silently broken solids. <-Is it that?

Thanks for the links shoogen.
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: face-normal-flip-float-bug ?

Post by shoogen »

I did some testing creating triangles from random points.
The topology is fine up to the wire.
Then when creating a face from a wire. The wire is reported to reversed orientation in the face.

http://tracker.dev.opencascade.org/view.php?id=24954

EDIT: The culprit seems to be that https://github.com/tpaviot/oce/blob/mas ... urface.cxx does not care about the order of the vertices.
Maybe we can implement of own function to return surfaces with the correct Orientation (for triangles and quads)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: face-normal-flip-float-bug ?

Post by Kunda1 »

shoogen wrote:I did some testing creating triangles from random points.
The topology is fine up to the wire.
Then when creating a face from a wire. The wire is reported to reversed orientation in the face.

http://tracker.dev.opencascade.org/view.php?id=24954

EDIT: The culprit seems to be that https://github.com/tpaviot/oce/blob/mas ... urface.cxx does not care about the order of the vertices.
Maybe we can implement of own function to return surfaces with the correct Orientation (for triangles and quads)
Update: http://tracker.dev.opencascade.org/view.php?id=24954 is on the OCC roadmap to be fixed in 7.2.0
How does that impact issue #1538 ?
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
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: face-normal-flip-float-bug ?

Post by Kunda1 »

Upstream says this is actually fixed in OCCT 6.9
Problem described in issue is not reproduced on current state of OCCT.
Problem has been solved in OCCT6.9.0.
Someone care to test and report ?
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
Post Reply