View Issue Details

IDProjectCategoryView StatusLast Update
0033892CommunityOCCT:Modeling Algorithmspublic2025-07-03 14:56
Reporterj.bourgoin Assigned Toakaftasev  
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformWindowsOSVC++ 2022 
Product Version7.8.0 
Summary0033892: BRepAlgoAPI_Common doesn't work well in a specific case
DescriptionHi,

I use BRepAlgoAPI_Common to get the intersection between 2 shapes and the result is an empty shape, but it shouldn't.

I give you the example below.

Tried with v7.9.1
Steps To Reproduce        BRepAlgoAPI_Common lBuilder ;
        lBuilder.SetRunParallel(false) ;
        TopTools_ListOfShape lArgs ;
        TopTools_ListOfShape lTools ;
        lArgs.Append(lShape) ; // File vol1.brep
        lBuilder.SetArguments(lArgs) ;
        lTools.Append(lTool) ; // File vol2.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
            }
        }
TagsNo tags attached.
Test case number

Attached Files

Activities

andrey.kaftasev_159541

2025-07-03 13:12

reporter   ~0117041

Hello @j.bourgoin,
Seems like you did not attach the shapes.

j.bourgoin

2025-07-03 14:56

reporter   ~0117043

res.brep (188 bytes)   
vol1.brep (1,822,227 bytes)   
vol2.brep (164,626 bytes)   

Issue History

Date Modified Username Field Change
2025-07-03 13:01 j.bourgoin New Issue
2025-07-03 13:01 j.bourgoin Assigned To => akaftasev
2025-07-03 13:12 andrey.kaftasev_159541 Note Added: 0117041
2025-07-03 14:56 j.bourgoin Note Added: 0117043
2025-07-03 14:56 j.bourgoin File Added: res.brep
2025-07-03 14:56 j.bourgoin File Added: vol1.brep
2025-07-03 14:56 j.bourgoin File Added: vol2.brep