mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
remove propagateproperties from makefillet2d
properties are propagated anyway and it is crashing with function call
This commit is contained in:
parent
97cc1d0621
commit
ea32b203d6
@ -1060,7 +1060,8 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
|||||||
for (auto [v, r] : fillets)
|
for (auto [v, r] : fillets)
|
||||||
mkFillet2d.AddFillet(TopoDS::Vertex(v), r);
|
mkFillet2d.AddFillet(TopoDS::Vertex(v), r);
|
||||||
mkFillet2d.Build();
|
mkFillet2d.Build();
|
||||||
PropagateProperties (mkFillet2d, shape);
|
// TODO: CL I think we shouldn't do this here but, double check
|
||||||
|
// PropagateProperties (mkFillet2d, shape);
|
||||||
return mkFillet2d.Shape();
|
return mkFillet2d.Shape();
|
||||||
}
|
}
|
||||||
BRepFilletAPI_MakeFillet mkFillet(shape);
|
BRepFilletAPI_MakeFillet mkFillet(shape);
|
||||||
@ -1080,7 +1081,8 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
|||||||
for (auto e : edges)
|
for (auto e : edges)
|
||||||
mkFillet.AddFillet (TopoDS::Vertex(e), r);
|
mkFillet.AddFillet (TopoDS::Vertex(e), r);
|
||||||
mkFillet.Build();
|
mkFillet.Build();
|
||||||
PropagateProperties (mkFillet, shape);
|
// TODO: CL I think we shouldn't do this here but, double check
|
||||||
|
// PropagateProperties (mkFillet, shape);
|
||||||
return mkFillet.Shape();
|
return mkFillet.Shape();
|
||||||
}
|
}
|
||||||
BRepFilletAPI_MakeFillet mkFillet(shape);
|
BRepFilletAPI_MakeFillet mkFillet(shape);
|
||||||
|
Loading…
Reference in New Issue
Block a user