View Issue Details

IDProjectCategoryView StatusLast Update
0033890CommunityOCCT:Modeling Algorithmspublic2025-08-21 18:19
Reporterj.bourgoin Assigned Toakaftasev  
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2022 
Product Version7.8.0 
Summary0033890: With BRepAlgoAPI_Common, creation of an Edge with INTERNAL orientation and linked to only 1 face
DescriptionWith BRepAlgoAPI_Common, I manage to create an edge with an INTERNAL orientation and linked to a single face, and this edge seems to have no meaning. This is a bad artifact because my resulting shape is not considered a manifold since there is only one connection for this edge, instead of 2.

Tried with v7.9.1.
Steps To Reproduce        BRepAlgoAPI_Common lBuilder ;
        lBuilder.SetRunParallel(false) ;
        TopTools_ListOfShape lArgs ;
        TopTools_ListOfShape lTools ;
        lArgs.Append(lShape) ; // File arg.brep
        lBuilder.SetArguments(lArgs) ;
        lTools.Append(lTool) ; // File tool.brep
        lBuilder.SetTools(lTools) ;

        if (pFuzzyValue > 0.0)
        {
            lBuilder.SetFuzzyValue(pFuzzyValue) ;
        }
        lBuilder.Build() ;
        if (lBuilder.IsDone())
        {
            if (!lBuilder.HasErrors())
            {
                lShape = lBuilder.Shape() ; // File res.brep
            }
        }

As a result, in res.brep we can see an edge with orientation INTERNAL and linked to only 1 face. This kind of edge was not existing in the input shapes.
TagsNo tags attached.
Test case number

Attached Files

Relationships

has duplicate 0033891 closedakaftasev With BRepAlgoAPI_Common, creatation an edge with an INTERNAL orientation and linked to a single face 

Activities

j.bourgoin

2025-07-03 10:57

reporter  

tool.brep (61,251 bytes)   
arg.brep (35,804 bytes)   
res.brep (69,402 bytes)   

dpasukhi

2025-07-04 21:22

administrator   ~0117045

Dear @j.bourgoin
Thank you for your bug report.

OCCT is migration from Mantis to GitHub issue tracker. It means all ticker which are on progress from community we migrate manually to github.
We do not ignore or forgot about Mantis issues, but they are used to keep information before migration into GitHub.
The link: https://github.com/Open-Cascade-SAS/OCCT/issues

If you prefer to register bugs here - it is normal, when developer will assignee to the ticket, we will notify in the comments that issue is migrated into GH. After resolved ticker in GH, the ticker in Mantis will be also resolved.

j.bourgoin

2025-08-21 17:45

reporter   ~0117075

Hi,
Here is another case with an error : with these tool and arg, the result has 1 edge connected to 4 faces, so it's not manifold. I think it should.
tool1.brep (75,423 bytes)   
res1.brep (225,288 bytes)   

j.bourgoin

2025-08-21 18:19

reporter   ~0117076

arg1.brep (74,827 bytes)   

Issue History

Date Modified Username Field Change
2025-07-03 10:57 j.bourgoin New Issue
2025-07-03 10:57 j.bourgoin Assigned To => akaftasev
2025-07-03 10:57 j.bourgoin File Added: tool.brep
2025-07-03 10:57 j.bourgoin File Added: arg.brep
2025-07-03 10:57 j.bourgoin File Added: res.brep
2025-07-04 21:19 dpasukhi Relationship added has duplicate 0033891
2025-07-04 21:22 dpasukhi Note Added: 0117045
2025-08-21 17:45 j.bourgoin Note Added: 0117075
2025-08-21 17:45 j.bourgoin File Added: tool1.brep
2025-08-21 17:45 j.bourgoin File Added: res1.brep
2025-08-21 18:19 j.bourgoin Note Added: 0117076
2025-08-21 18:19 j.bourgoin File Added: arg1.brep