Fri, 06/24/2016 - 11:26
Found interesting bug of BRepFilletAPI_MakeFillet which should be fixed by OCCT developers.
I have shape with square (20*20 mm) as TopFace... Shape height 30 mm and wall angle 80 degree. See ApplyFilletTo.stl
When i am trying apply 5 mm rounding for edges of TopFace, BRepFilletAPI_MakeFillet DOES NOTHING but must be result as shown in Fillet_OK.stl
My code:
if( !FaceToApplyRound.IsNull() )
{
BRepFilletAPI_MakeFillet mkRound( Shape );
TopExp_Explorer EdgeExplorer( FaceToApplyRound, TopAbs_EDGE );
while( EdgeExplorer.More() )
{
TopoDS_Edge aEdge = TopoDS::Edge( EdgeExplorer.Current() );
// Add edge to round algorithm
mkRound.Add( 5.0, aEdge );
EdgeExplorer.Next();
}
mkRound.Build();
if( mkRound.IsDone() )
TopoDS_Shape RoundedShape = mkRound.Shape();
}
mkRound.IsDone() is false :( If wall is 90 degree or > it works perfect. BRepFilletAPI_MakeFillet MUST BE FIXED FOR THIS CASE
Sat, 06/25/2016 - 14:04
Seems problem caused by applyed chamfer (BRepFilletAPI_MakeChamfer) to bottom face (small square at bottom as result). But why can't i apply chamferring to full height of shape ? I must use Height - 0.001 for example :(
Fri, 07/01/2016 - 19:07
Where can i report bugs of some procedures result ? For example have case with shapes deduction.