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

This class defines a beam with a rectangular section. 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

 HY1
 
 HZ1
 
 HY2
 
 HZ2
 
 EPY1
 
 EPZ1
 
 EPY2
 
 EPZ2
 
 filling
 
 groupName
 
 name
 
 geom
 
 baseShapesSet
 
 isMainShape
 
 color
 

Static Public Attributes

string DEFAULT_NAME = "Beam"
 

Private Member Functions

def _makeRectangle
 Create a rectangle in the specified plane. More...
 
def _makeSectionRectangles
 Create one side of the rectangular sections used to build the pipe. More...
 
def _makeSectionWires
 Create the rectangular sections used to build the pipe. More...
 

Detailed Description

This class defines a beam with a rectangular section.

It can be full or hollow, and its dimensions can vary from one end of the beam to the other. The valid parameters for rectangular beams are:

  • "HY1", "HY", "H1" or "H": width at the first end of the beam.
  • "HZ1", "HZ", "H1" or "H": height at the first end of the beam.
  • "HY2", "HY", "H2" or "H": width at the other end of the beam.
  • "HZ2", "HZ", "H2" or "H": height at the other end of the beam.
  • "EPY1", "EPY", "EP1" or "EP" (optional): thickness in the width direction at the first end of the beam. If not specified or equal to 0, the beam is considered full.
  • "EPZ1", "EPZ", "EP1" or "EP" (optional): thickness in the height direction at the first end of the beam. If not specified or equal to 0, the beam is considered full.
  • "EPY2", "EPY", "EP2" or "EP" (optional): thickness in the width direction at the other end of the beam. If not specified or equal to 0, the beam is considered full.
  • "EPZ2", "EPZ", "EP2" or "EP" (optional): thickness in the height direction at the other end of the beam. If not specified or equal to 0, the beam is considered full.

    See class StructuralElementPart for the description of the other parameters.

Constructor & Destructor Documentation

def __init__ (   self,
  studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = Beam.DEFAULT_NAME,
  color = None 
)

Member Function Documentation

def _makeRectangle (   self,
  HY,
  HZ,
  lcs 
)
private

Create a rectangle in the specified plane.

def _makeSectionRectangles (   self,
  point,
  vecX,
  HY,
  HZ,
  EPY,
  EPZ 
)
private

Create one side of the rectangular sections used to build the pipe.

References RectangularBeam._makeRectangle(), Beam.filling, Orientation1D.geom, StructuralElementPart.geom, and Orientation2D.geom.

def _makeSectionWires (   self,
  fPoint,
  fNormal,
  lPoint,
  lNormal 
)
private
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

HY1
HZ1
HY2
HZ2
EPY1
EPZ1
EPY2
EPZ2
filling
string DEFAULT_NAME = "Beam"
staticinherited
groupName
inherited
name
inherited
geom
inherited
baseShapesSet
inherited
isMainShape
inherited
color
inherited