MantisBT - Community
View Issue Details
0029717Community[OCCT] OCCT:Shape Healingpublic2018-04-23 17:032018-04-23 17:40
drazmyslovich 
gka 
normalminor 
resolvedopen 
WindowsVC++ 201064 bit
[OCCT] 7.1.0 
[OCCT] 7.4.0* 
0029717: Shape Healing - ShapeFix_Face::FixSmallAreaWire delivers a face with wrong-oriented wires + 1 small crash-fix
If the provided face is reversed, then the algorithm starts with the empty-copied, but reversed face - this results in adding of forward-oriented wires to reverse-oriented face...

Another problem lies in ShapeFix_Face::FixOrientation function - it can cause a crash/exception if one of the curves has no 2D curve
Since the usage code is a part of my application, I can't provide any steps to reproduce. Still, the fixed issues are easily observable from the code.
No tags attached.
Issue History
2018-04-23 17:03drazmyslovichNew Issue
2018-04-23 17:03drazmyslovichAssigned To => gka
2018-04-23 17:38gitNote Added: 0075614
2018-04-23 17:39drazmyslovichNote Added: 0075615
2018-04-23 17:39drazmyslovichStatusnew => resolved
2018-04-23 17:40kgvSummaryShapeFix_Face::FixSmallAreaWire delivers a face with wrong-oriented wires + 1 small crash-fix => Shape Healing - ShapeFix_Face::FixSmallAreaWire delivers a face with wrong-oriented wires + 1 small crash-fix

Notes
(0075614)
git   
2018-04-23 17:38   
Branch CR29717 has been created by drazmyslovich.

SHA-1: d4f63f269e4fc0c68d3684916471f2d3afb288f9


Detailed log of new commits:

Author: drazmyslovich
Date: Mon Apr 23 16:38:32 2018 +0200

    0029717: Fix FixSmallAreaWire for the reversed faces. Add nullptr check for FixOrientation.
(0075615)
drazmyslovich   
2018-04-23 17:39   
Dear gka. The branch is ready for review. Thank you.