View Issue Details

IDProjectCategoryView StatusLast Update
0033194CommunityOCCT:Modeling Algorithmspublic2022-11-07 23:01
Reportertroublesome-deer Assigned Tomsv  
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformLinuxOSUbuntu 20.04 
Product Version7.6.3 
Summary0033194: Multifusing failed
DescriptionWhat I aim to achieve is a 360 degrees face offset.

I created pipes for the edges(BRepOffsetAPI_MakePipe), spheres for the corners(BRepPrimAPI_MakeSphere ), and a simple offset of the face(BRepOffset_MakeOffset).

When I tried to fuse them all together BRepAlgoAPI_Fuse fails. I checked each shape individually with BRepCheck_Analyzer and they are valid.
Steps To Reproduce//this is the fuse algorithm that I used
TopoDS_Shape fuse(std::vector<TopoDS_Shape> shapes)
{
    Standard_Boolean bRunParallel;
    Standard_Real aFuzzyValue;
    BRepAlgoAPI_Fuse aBuilder;

    // perpare the arguments
    TopTools_ListOfShape aLS;
    const TopoDS_Shape& arg = shapes.front();
    aLS.Append(arg);

    TopTools_ListOfShape aLT;
    for (std::vector<TopoDS_Shape>::iterator it = shapes.begin() + 1; it != shapes.end(); ++it)
        aLT.Append(*it);

    bRunParallel=Standard_True;
    aFuzzyValue=2.1e-5;

    // set the arguments
    aBuilder.SetArguments(aLS);
    aBuilder.SetTools(aLT);

    // Set options for the algorithm
    aBuilder.SetFuzzyValue(aFuzzyValue);
    aBuilder.SetRunParallel(bRunParallel);
    Standard_Boolean bSafeMode = Standard_True;
    aBuilder.SetNonDestructive(bSafeMode);
    bool bCheckInverted = Standard_True;
    aBuilder.SetCheckInverted(bCheckInverted);

    aBuilder.Build();
    return aBuilder.Shape();
}
Additional information
and documentation updates
I attached two files. Each one of them contains a list of shapes that I tried to fuse together and the result obtained was not correct.
TagsNo tags attached.
Test case number

Attached Files

  • case0.step (198,566 bytes)
  • case4.step (123,420 bytes)

Activities

troublesome-deer

2022-11-07 23:01

reporter   ~0111926

Seems like the files weren't attached when I created the issue.
case0.step (198,566 bytes)
case4.step (123,420 bytes)

Issue History

Date Modified Username Field Change
2022-11-07 22:50 troublesome-deer New Issue
2022-11-07 22:50 troublesome-deer Assigned To => msv
2022-11-07 23:01 troublesome-deer Note Added: 0111926
2022-11-07 23:01 troublesome-deer File Added: case0.step
2022-11-07 23:01 troublesome-deer File Added: case4.step