Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
StructuralElementPart2D Class Reference

This class is an "abstract" class for all 2D structural element parts. More...

Public Member Functions

def __init__
 
def __repr__
 
def addOrientation
 Add orientation information to the structural element part. More...
 
def build
 Build the geometric shapes and the markers corresponding to the structural element part in the study studyId. More...
 

Data Fields

 offset
 
 groupName
 
 name
 
 geom
 
 baseShapesSet
 
 isMainShape
 
 color
 

Static Public Attributes

string DEFAULT_NAME = "StructuralElementPart2D"
 

Private Member Functions

def _makeFaceOffset
 Create a copy of a face at a given offset. More...
 
def _buildMarkersWithOffset
 Build the markers for the structural element part with a given offset from the base face. More...
 

Private Attributes

 _orientation
 

Detailed Description

This class is an "abstract" class for all 2D structural element parts.

It should not be instantiated directly. See class StructuralElementPart for the description of the parameters.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Create a copy of a face at a given offset.

def _buildMarkersWithOffset (   self,
  offset 
)
private

Build the markers for the structural element part with a given offset from the base face.

References StructuralElementPart._getSubShapes(), StructuralElementPart2D._makeFaceOffset(), Orientation1D.geom, StructuralElementPart.geom, and Orientation2D.geom.

def __repr__ (   self)
inherited
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.

def build (   self)
inherited

Build the geometric shapes and the markers corresponding to the structural element part in the study studyId.

References StructuralElementPart._buildMarkers(), StructuralElementPart._buildPart(), and StructuralElementPart.color.

Field Documentation

string DEFAULT_NAME = "StructuralElementPart2D"
static
_orientation
private
offset
groupName
inherited
name
inherited
geom
inherited
baseShapesSet
inherited
isMainShape
inherited
color
inherited