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 | |
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.
| def __init__ | ( | self, | |
| groupName, | |||
| groupGeomObj, | |||
| parameters, | |||
name = DEFAULT_NAME, |
|||
color = None |
|||
| ) |
Reimplemented from StructuralElementPart.
Reimplemented in CircularBeam, RectangularBeam, and GeneralBeam.
|
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.
|
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.
|
private |
Create a solid by the extrusion of section wire1 to section wire2 along path.
References Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.
|
private |
Build the structural element part.
Reimplemented from StructuralElementPart.
References StructuralElementPart._getSubShapes(), Beam._getVertexAndTangentOnOrientedWire(), CircularBeam._makeSectionWires(), RectangularBeam._makeSectionWires(), and Beam._makeSolidPipeFromWires().
|
private |
Build the markers defining the orientation of the structural element part.
Reimplemented from StructuralElementPart.
References StructuralElementPart._getSubShapes(), Beam._getVertexAndTangentOnOrientedWire(), StructuralElementPart._orientation, Beam._orientation, StructuralElementPart2D._orientation, Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.
|
static |
|
private |
| filling |