mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50: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)
|
||||
mkFillet2d.AddFillet(TopoDS::Vertex(v), r);
|
||||
mkFillet2d.Build();
|
||||
PropagateProperties (mkFillet2d, shape);
|
||||
// TODO: CL I think we shouldn't do this here but, double check
|
||||
// PropagateProperties (mkFillet2d, shape);
|
||||
return mkFillet2d.Shape();
|
||||
}
|
||||
BRepFilletAPI_MakeFillet mkFillet(shape);
|
||||
@ -1080,7 +1081,8 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
for (auto e : edges)
|
||||
mkFillet.AddFillet (TopoDS::Vertex(e), r);
|
||||
mkFillet.Build();
|
||||
PropagateProperties (mkFillet, shape);
|
||||
// TODO: CL I think we shouldn't do this here but, double check
|
||||
// PropagateProperties (mkFillet, shape);
|
||||
return mkFillet.Shape();
|
||||
}
|
||||
BRepFilletAPI_MakeFillet mkFillet(shape);
|
||||
|
Loading…
Reference in New Issue
Block a user