MantisBT - Community
View Issue Details
0024114Community[OCCT] OCCT:Modeling Algorithmspublic2013-08-16 06:422013-08-16 06:42
robinhao 
ifv 
normalcrash 
newopen 
Win32WindowsWindows 7
[OCCT] 6.5.2 
 
0024114: BRepBuilderAPI_MakePolygon crash
BRepBuilderAPI_MakePolygon will be crash when apply some polygon.
BRepBuilderAPI_MakePolygon MP;
MP.Add(gp_Pnt(0,0,0));
MP.Add(gp_Pnt(30,100,0));
MP.Add(gp_Pnt(40,20,0));
MP.Add(gp_Pnt(100,0,0));
MP.Add(gp_Pnt(70,45,0));
MP.Add(gp_Pnt(50,50,0));
MP.Add(gp_Pnt(60,70,0));
MP.Add(gp_Pnt(0,50,0));
MP.Add(gp_Pnt(20,50,0));
MP.Close();
TopoDS_Wire myWireProfile = MP.Wire();

GeomAbs_JoinType JoinType = GeomAbs_Arc;
BRepOffsetAPI_MakeOffset Paral2;
Paral2.Init(JoinType);
Paral2.AddWire(myWireProfile);
Paral2.Perform(-15);
TopoDS_Shape anOffsetShape2 = Paral2.Shape();
No tags attached.
Issue History
2013-08-16 06:42robinhaoNew Issue
2013-08-16 06:42robinhaoAssigned To => ifv

There are no notes attached to this issue.