mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 06:00:33 +05:00
denser syntax in occ file
This commit is contained in:
parent
267959967d
commit
4df5ed1536
@ -717,13 +717,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
switch (shape.ShapeType())
|
||||
{
|
||||
case TopAbs_FACE:
|
||||
BRepGProp::SurfaceProperties (shape, props); break;
|
||||
case TopAbs_SHELL:
|
||||
BRepGProp::SurfaceProperties (shape, props); break;
|
||||
case TopAbs_SOLID:
|
||||
BRepGProp::VolumeProperties (shape, props); break;
|
||||
case TopAbs_COMPOUND:
|
||||
BRepGProp::VolumeProperties (shape, props); break;
|
||||
case TopAbs_COMPSOLID:
|
||||
BRepGProp::VolumeProperties (shape, props); break;
|
||||
default:
|
||||
@ -752,13 +749,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
switch (shape.ShapeType())
|
||||
{
|
||||
case TopAbs_FACE:
|
||||
BRepGProp::SurfaceProperties (shape, props); break;
|
||||
case TopAbs_SHELL:
|
||||
BRepGProp::SurfaceProperties (shape, props); break;
|
||||
case TopAbs_SOLID:
|
||||
BRepGProp::VolumeProperties (shape, props); break;
|
||||
case TopAbs_COMPOUND:
|
||||
BRepGProp::VolumeProperties (shape, props); break;
|
||||
case TopAbs_COMPSOLID:
|
||||
BRepGProp::VolumeProperties (shape, props); break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user