DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0026899

Modeling Algorithms - Invalid fillet result

CommunityOCCT:Modeling Algorithmsassigned0 public notes

Search issues

Description

Code snippet as below:
TopoDS_Shape aTwoBoxUnion = // Load from Attachment 4 (BREP)
BRepFilletAPI_MakeFillet aMakeFillet(aTwoBoxUnion);

TopoDS_Face aTopFaceOfBox1 = // Find the top face of box1
foreach(TopoDS_Edge anEdge : aFaceEdges)
{
    aMakeFillet.Add(2.0, anEdge);
}


The result is invalid, please see the attahced images.

Steps to reproduce

restore Attachment 4 (BREP) a
subshape a f 6
fillet r a 2 a_6
don r
checkshape r

#checkshape gives faulties:
On Shape faulty_1 :
BRepCheck_UnorientableShape
Shape faulty_2  on shape faulty_1 :
BRepCheck_NotClosed
Shape faulty_3  on shape faulty_4 :
BRepCheck_NotClosed

Faulty shapes in variables faulty_1 to faulty_4

Public activity

No public notes

Participants are labeled by their role within this record.