Forum archiveIssue archiveOther usage issues

Archived discussion

BRepOffsetAPI_MakeThickSolid error!

Other usage issuesFri, 09/15/2006 - 19:222 replies

Browse this forum
QuestionAuthor

hi everybody,

When I try to use BRepOffsetAPI_MakeThickSolid to shell a box(5 faces removed, one face remained), program broken and a "standard construction error BRepAlgo_Image::Bind" error message raised. I wonder if this is a bugs in offset algorithm? actually, BRepOffsetAPI_MakeThickSolid always abnormal when I use it. Anyone can help me? Thanks!

Discussion

2 archived replies

Posts are displayed in their archived order.

01Author

here is the error source code:

TopoDS_Shape S1 = BRepPrimAPI_MakeBox(100,100,100);
TopTools_ListOfShape aList;
TopExp_Explorer Ex(S1,TopAbs_FACE);
for(int i=0;i<5;i++)
{
TopoDS_Shape aFace = Ex.Current();
Ex.Next();
aList.Append(aFace);
}

TopoDS_Shape aThickSolid = BRepOffsetAPI_MakeThickSolid(S1,aList,10,0.01);

02Author

Anyone could tell me that if there is a robust way to make a shell-like solid from a set of surfaces on a solid? BRepOffsetAPI_MakeThickSolid and BRepOffsetAPI_MakeOffsetShape really make me tired for it always crashes even in some simpliest situation!