[Part RuledSurface] fix issue where ruled surface is failing if both edges are from same object and the object is not at the identity placement, addresses issue #17235
This commit is contained in:
@@ -3422,6 +3422,7 @@ TopoShape::makeElementCopy(const TopoShape& shape, const char* op, bool copyGeom
|
||||
|
||||
TopoShape tmp(shape);
|
||||
tmp.setShape(BRepBuilderAPI_Copy(shape.getShape(), copyGeom, copyMesh).Shape(), false);
|
||||
tmp.setTransform(shape.getTransform());
|
||||
if (op || (shape.Tag && shape.Tag != Tag)) {
|
||||
setShape(tmp._Shape);
|
||||
initCache();
|
||||
|
||||
Reference in New Issue
Block a user