Version: 9.16.0
Home
Loading...
Searching...
No Matches

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

Public Member Functions

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

Data Fields

 filling
 

Static Public Attributes

str DEFAULT_NAME = "Beam"
 

Protected Member Functions

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

Protected 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__()

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

Reimplemented from StructuralElementPart.

Reimplemented in CircularBeam, RectangularBeam, and GeneralBeam.

Member Function Documentation

◆ _isReversed()

_isReversed (   self,
  path 
)
protected

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()

_getVertexAndTangentOnOrientedWire (   self,
  path,
  param 
)
protected

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()

_makeSolidPipeFromWires (   self,
  wire1,
  wire2,
  point1,
  point2,
  path 
)
protected

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

str DEFAULT_NAME = "Beam"
static

◆ _orientation

_orientation
protected

◆ filling

filling