mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +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())
|
switch (shape.ShapeType())
|
||||||
{
|
{
|
||||||
case TopAbs_FACE:
|
case TopAbs_FACE:
|
||||||
BRepGProp::SurfaceProperties (shape, props); break;
|
|
||||||
case TopAbs_SHELL:
|
case TopAbs_SHELL:
|
||||||
BRepGProp::SurfaceProperties (shape, props); break;
|
BRepGProp::SurfaceProperties (shape, props); break;
|
||||||
case TopAbs_SOLID:
|
case TopAbs_SOLID:
|
||||||
BRepGProp::VolumeProperties (shape, props); break;
|
|
||||||
case TopAbs_COMPOUND:
|
case TopAbs_COMPOUND:
|
||||||
BRepGProp::VolumeProperties (shape, props); break;
|
|
||||||
case TopAbs_COMPSOLID:
|
case TopAbs_COMPSOLID:
|
||||||
BRepGProp::VolumeProperties (shape, props); break;
|
BRepGProp::VolumeProperties (shape, props); break;
|
||||||
default:
|
default:
|
||||||
@ -752,13 +749,10 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
|||||||
switch (shape.ShapeType())
|
switch (shape.ShapeType())
|
||||||
{
|
{
|
||||||
case TopAbs_FACE:
|
case TopAbs_FACE:
|
||||||
BRepGProp::SurfaceProperties (shape, props); break;
|
|
||||||
case TopAbs_SHELL:
|
case TopAbs_SHELL:
|
||||||
BRepGProp::SurfaceProperties (shape, props); break;
|
BRepGProp::SurfaceProperties (shape, props); break;
|
||||||
case TopAbs_SOLID:
|
case TopAbs_SOLID:
|
||||||
BRepGProp::VolumeProperties (shape, props); break;
|
|
||||||
case TopAbs_COMPOUND:
|
case TopAbs_COMPOUND:
|
||||||
BRepGProp::VolumeProperties (shape, props); break;
|
|
||||||
case TopAbs_COMPSOLID:
|
case TopAbs_COMPSOLID:
|
||||||
BRepGProp::VolumeProperties (shape, props); break;
|
BRepGProp::VolumeProperties (shape, props); break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user