mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'occ_consistent_maxh' into 'master'
make shape.solids.maxh = ... consistent with solid.maxh = ... See merge request ngsolve/netgen!503
This commit is contained in:
commit
1a174508db
@ -1675,7 +1675,14 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
{
|
||||
for(auto& shape : shapes)
|
||||
{
|
||||
OCCGeometry::global_shape_properties[shape.TShape()].maxh = maxh;
|
||||
for(auto& s : GetSolids(shape))
|
||||
OCCGeometry::global_shape_properties[s.TShape()].maxh = maxh;
|
||||
for(auto& s : GetFaces(shape))
|
||||
OCCGeometry::global_shape_properties[s.TShape()].maxh = maxh;
|
||||
for(auto& s : GetEdges(shape))
|
||||
OCCGeometry::global_shape_properties[s.TShape()].maxh = maxh;
|
||||
for(auto& s : GetVertices(shape))
|
||||
OCCGeometry::global_shape_properties[s.TShape()].maxh = maxh;
|
||||
}
|
||||
}, "set maxh for all elements of list")
|
||||
.def_property("hpref", [](ListOfShapes& shapes)
|
||||
|
Loading…
Reference in New Issue
Block a user