Archived issue #0033131
BRepAlgoAPI_Cut breaks the shape
Description
the following program will break the shape.
```
TopoDS_Shape shapeTmp = shape1;
TopoDS_Shape shapeRet;
for( TopExp_Explorer expS( shape2, TopAbs_SOLID ); expS.More(); expS.Next() ) {
BRepAlgoAPI_Cut cut( shapeTmp, expS.Current() );
cut.Build();
shapeRet = cut.Shape();
shapeTmp = shapeRet;
}
```
```
TopoDS_Shape shapeTmp = shape1;
TopoDS_Shape shapeRet;
for( TopExp_Explorer expS( shape2, TopAbs_SOLID ); expS.More(); expS.Next() ) {
BRepAlgoAPI_Cut cut( shapeTmp, expS.Current() );
cut.Build();
shapeRet = cut.Shape();
shapeTmp = shapeRet;
}
```
Public activity
1 archived note
Participants are labeled by their role within this record.
Attachment 3 (BREP) (62,871 bytes)
Attachment 2 (PNG) (80,721 bytes)
Attachment 1 (PNG) (99,736 bytes)
Attachment 4 (BREP) (22,452 bytes)
Attachment 5 (BREP) (478,817 bytes)
Attachment 6 (PNG) (89,253 bytes)