Version: 9.16.0
Home

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

Public Member Functions

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

Data Fields

 filling
 

Static Public Attributes

string DEFAULT_NAME = "Beam"
 

Private Member Functions

def _isReversed (self, path)
 This method checks if a 1D object is "reversed", i.e. More...
 
def _getVertexAndTangentOnOrientedWire (self, path, param)
 Get a vertex and the corresponding tangent on a wire by parameter. More...
 
def _makeSolidPipeFromWires (self, wire1, wire2, point1, point2, path)
 Create a solid by the extrusion of section wire1 to section wire2 along path. More...
 
def _buildPart (self)
 Build the structural element part. More...
 
def _buildMarkers (self)
 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

◆ __init__()

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

Reimplemented from StructuralElementPart.

Reimplemented in CircularBeam, RectangularBeam, and GeneralBeam.

Member Function Documentation

◆ _isReversed()

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.

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

◆ _getVertexAndTangentOnOrientedWire()

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(), Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.

◆ _makeSolidPipeFromWires()

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

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

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

◆ _buildPart()

◆ _buildMarkers()

Field Documentation

◆ DEFAULT_NAME

string DEFAULT_NAME = "Beam"
static

◆ _orientation

_orientation
private

◆ filling

filling