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

This class is an "abstract" class for all 1D 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

 filling
 
 groupName
 
 name
 
 geom
 
 baseShapesSet
 
 isMainShape
 
 color
 

Static Public Attributes

string DEFAULT_NAME = "Beam"
 

Private Member Functions

def _isReversed
 This method checks if a 1D object is "reversed", i.e. More...
 
def _getVertexAndTangentOnOrientedWire
 Get a vertex and the corresponding tangent on a wire by parameter. More...
 
def _makeSolidPipeFromWires
 Create a solid by the extrusion of section wire1 to section wire2 along path. More...
 
def _buildPart
 Build the structural element part. More...
 
def _buildMarkers
 Build the markers defining the orientation of the structural element part. More...
 

Private Attributes

 _orientation
 

Detailed Description

This class is an "abstract" class for all 1D 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,
  color = None 
)

Member Function Documentation

def _isReversed (   self,
  path 
)
private

This method checks if a 1D object is "reversed", i.e.

if its orientation is different than the orientation of the underlying OCC object.

def _getVertexAndTangentOnOrientedWire (   self,
  path,
  param 
)
private

Get a vertex and the corresponding tangent on a wire by parameter.

This method takes into account the "real" orientation of the wire (i.e. the orientation of the underlying OCC object).

References Beam._isReversed().

def _makeSolidPipeFromWires (   self,
  wire1,
  wire2,
  point1,
  point2,
  path 
)
private

Create a solid by the extrusion of section wire1 to section wire2 along path.

def _buildMarkers (   self)
private

Build the markers defining the orientation of the structural element part.

References StructuralElementPart._getSubShapes(), Beam._getVertexAndTangentOnOrientedWire(), 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 = "Beam"
static
_orientation
private
filling
groupName
inherited
name
inherited
geom
inherited
baseShapesSet
inherited
isMainShape
inherited
color
inherited