Version: 9.15.0
Home
ThickShell Class Reference

This class defines a shell with a given thickness. More...

Public Member Functions

def __init__ (self, groupName, groupGeomObj, parameters, name=DEFAULT_NAME)
 
def __repr__ (self)
 
def addOrientation (self, orientParams)
 Add orientation information to the structural element part. More...
 
def build (self)
 Build the geometric shapes and the markers corresponding to the structural element part in the study. More...
 

Data Fields

 thickness
 
 offset
 
 groupName
 
 name
 
 geom
 
 baseShapesSet
 
 isMainShape
 
 color
 

Static Public Attributes

string DEFAULT_NAME = "ThickShell"
 

Private Member Functions

def _buildPart (self)
 Create the geometrical shapes corresponding to the thick shell. More...
 
def _buildThickShellForFace (self, face)
 Create the geometrical shapes corresponding to the thick shell for a given face. More...
 
def _removeCylinderExtraEdge (self, wires)
 Remove the side edge in a cylinder. More...
 
def _buildMarkers (self)
 Build the markers defining the orientation of the thick shell. More...
 
def _makeFaceOffset (self, face, offset, epsilon=1e-6)
 Create a copy of a face at a given offset. More...
 
def _buildMarkersWithOffset (self, offset)
 Build the markers for the structural element part with a given offset from the base face. More...
 
def _getParameter (self, nameList, default=None)
 This method finds the value of a parameter in the parameters dictionary. More...
 
def _getParamUserName (self, paramName)
 This method finds the user name for a parameter. More...
 
def _checkSize (self, value, mindim, expression)
 This method checks that some parameters or some expressions involving those parameters are greater than a minimum value. More...
 
def _getSubShapes (self, minDim=MIN_LENGTH_FOR_EXTRUSION)
 Find and return the base sub-shapes in the structural element part. More...
 

Private Attributes

 _orientation
 
 _parameters
 
 _groupGeomObj
 
 _paramUserName
 

Detailed Description

This class defines a shell with a given thickness.

It can be shifted from the base face. The valid parameters for thick shells are:

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  groupName,
  groupGeomObj,
  parameters,
  name = DEFAULT_NAME 
)

Reimplemented from StructuralElementPart2D.

Member Function Documentation

◆ _buildPart()

def _buildPart (   self)
private

Create the geometrical shapes corresponding to the thick shell.

Reimplemented from StructuralElementPart.

References ThickShell._buildThickShellForFace(), StructuralElementPart._getSubShapes(), Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.

◆ _buildThickShellForFace()

def _buildThickShellForFace (   self,
  face 
)
private

◆ _removeCylinderExtraEdge()

def _removeCylinderExtraEdge (   self,
  wires 
)
private

Remove the side edge in a cylinder.

References Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.

◆ _buildMarkers()

def _buildMarkers (   self)
private

Build the markers defining the orientation of the thick shell.

Reimplemented from StructuralElementPart.

References StructuralElementPart2D._buildMarkersWithOffset(), StructuralElementPart2D.offset, and ThickShell.thickness.

◆ _makeFaceOffset()

def _makeFaceOffset (   self,
  face,
  offset,
  epsilon = 1e-6 
)
privateinherited

Create a copy of a face at a given offset.

References Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.

◆ _buildMarkersWithOffset()

def _buildMarkersWithOffset (   self,
  offset 
)
privateinherited

◆ _getParameter()

def _getParameter (   self,
  nameList,
  default = None 
)
privateinherited

This method finds the value of a parameter in the parameters dictionary.

The argument is a list because some parameters can have several different names.

References StructuralElementPart._parameters, and StructuralElementPart._paramUserName.

◆ _getParamUserName()

def _getParamUserName (   self,
  paramName 
)
privateinherited

This method finds the user name for a parameter.

References StructuralElementPart._paramUserName.

◆ __repr__()

def __repr__ (   self)
inherited

◆ addOrientation()

def addOrientation (   self,
  orientParams 
)
inherited

Add orientation information to the structural element part.

See class salome.geom.structelem.orientation.Orientation1D for the description of the parameters.

References StructuralElementPart._orientation, Beam._orientation, and StructuralElementPart2D._orientation.

◆ _checkSize()

def _checkSize (   self,
  value,
  mindim,
  expression 
)
privateinherited

This method checks that some parameters or some expressions involving those parameters are greater than a minimum value.

References InvalidParameterError.groupName, and StructuralElementPart.groupName.

◆ build()

def build (   self)
inherited

◆ _getSubShapes()

Field Documentation

◆ DEFAULT_NAME

string DEFAULT_NAME = "ThickShell"
static

◆ thickness

thickness

◆ _orientation

_orientation
privateinherited

◆ offset

offset
inherited

◆ _parameters

_parameters
privateinherited

◆ groupName

groupName
inherited

◆ _groupGeomObj

_groupGeomObj
privateinherited

◆ _paramUserName

_paramUserName
privateinherited

◆ name

name
inherited

◆ geom

geom
inherited

◆ baseShapesSet

baseShapesSet
inherited

◆ isMainShape

isMainShape
inherited

◆ color

color
inherited