DiscussionsIssue archiveOCCT:Shape Healing

Archived issue #0022919

Shape Healing fails to correct a face with missing seam

CommunityOCCT:Shape Healingassigned2 public notes

Search issues

Description

The shell contains 5 faces of similar topologies - each face lies on a cylindrical surface, has two wires (one of 4 edges and another of one),
no pcurves.
Shape Healing successfully corrects 3 of 5 faces (adding a missing seam edge and creating a single wire) and fails on 2 others. For each of those 2 failing faces, it creates a shell of two faces: one is correct similar to the results of former 3, and the other - is a tiny face of two non-closed edges.

Draw reproducer:
- pload ALL
- restore ss.brep ss
- explode ss
- fixshape ok1 ss_1 (or ok3 ss_3, or ok5 ss_5)
- whatis ok1 #ok1 is FACE
- checkshape ok1 #This shape seems to be valid

- restore ss.brep ss #to avoid possible modifications from above fixshape
- explode ss
- fixshape ko2 ss_2 (or ko4 ss_4)
- #Warning: ShapeFix_ComposeShell::MakeFacesOnPatch: badly oriented wire (output in Debug mode)
- whatis ko2 #ko2 is SHELL
- checkshape ko2
    #for ko2 : BRepCheck_BadOrientationOfSubshape
    #for ko4 : This shape seems to be valid (but topologically it is similar to ko2)

Reproduced in 6.5.0, 6.5.1, 6.5.2.

Steps to reproduce

See Description.

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Branch [archived branch] has been created by Participant.

[revision removed]


Detailed log of new commits:

Author: mkv
Date: Thu Jul 13 15:43:41 2017 +0300

    Test for 0022919: Shape Healing fails to correct a face with missing seam
02Commenter 2
Dear Commenter 2,
Problem is reproduced on the current master.
Please integrate branch CR22919 into the occt git-repository master.
After integration issue status should be changed to assigned. Responsible person is GKA.