[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:
mwganson
2024-10-23 23:10:50 +00:00
committed by Chris Hennes
parent b46453648b
commit ab4e812277

View File

@@ -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();