Version: 6.3.1
Data Structures | Functions

3D extrusion meshing algorithm

Defining Algorithms
Collaboration diagram for 3D extrusion meshing algorithm:

Data Structures

class  smeshDC.Mesh_Prism3D
 Defines a 3D extrusion algorithm. More...

Functions

def smeshDC::Mesh.Prism
 Creates a 3D extrusion (Prism 3D) or RadialPrism 3D algorithm for solids.

Function Documentation

def smeshDC.Mesh.Prism (   self,
  geom = 0 
) [inherited]

Creates a 3D extrusion (Prism 3D) or RadialPrism 3D algorithm for solids.

If the optional geom parameter is not set, this algorithm is global. Otherwise, this algorithm defines a submesh based on geom subshape.

Parameters:
geomIf defined, the subshape to be meshed
Returns:
an instance of Mesh_Prism3D or Mesh_RadialPrism3D algorithm

Definition at line 1393 of file smeshDC.py.

01394                            :
01395         shape = geom
01396         if shape==0:
01397             shape = self.geom
01398         nbSolids = len( self.geompyD.SubShapeAll( shape, geompyDC.ShapeType["SOLID"] ))
01399         nbShells = len( self.geompyD.SubShapeAll( shape, geompyDC.ShapeType["SHELL"] ))
01400         if nbSolids == 0 or nbSolids == nbShells:
01401             return Mesh_Prism3D(self,  geom)
01402         return Mesh_RadialPrism3D(self,  geom)

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS