mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
shape.Scale keeps names
This commit is contained in:
parent
d7a421b99a
commit
95e09828a6
@ -800,7 +800,9 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
{
|
||||
gp_Trsf trafo;
|
||||
trafo.SetScale(p, s);
|
||||
return BRepBuilderAPI_Transform(shape, trafo).Shape();
|
||||
BRepBuilderAPI_Transform builder(shape, trafo);
|
||||
PropagateProperties(builder, shape);
|
||||
return builder.Shape();
|
||||
}, py::arg("p"), py::arg("s"),
|
||||
"copy shape, and scale copy by factor 's'")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user