This class defines a beam with a generic section. More...
Public Member Functions | |
| def | __init__ (self, groupName, groupGeomObj, parameters, name=Beam.DEFAULT_NAME, color=None) |
| def | __repr__ (self) |
| def | addOrientation (self, orientParams) |
| Add orientation information to the structural element part. More... | |
| def | build (self) |
| Build the geometric shapes and the markers corresponding to the structural element part in the study. More... | |
Data Fields | |
| IY1 | |
| IZ1 | |
| IY2 | |
| IZ2 | |
| A1 | |
| A2 | |
| 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 (self, HY, HZ, lcs) |
| Create a rectangle in the specified plane. More... | |
| def | _makeSectionRectangles (self, point, vecX, HY, HZ, EPY, EPZ) |
| Create one side of the rectangular sections used to build the pipe. More... | |
| def | _makeSectionWires (self, fPoint, fNormal, lPoint, lNormal) |
| Create the rectangular sections used to build the pipe. More... | |
| 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... | |
| def | _getParameter (self, nameList, default=None) |
| This method finds the value of a parameter in the parameters dictionary. More... | |
| def | _getParamUserName (self, paramName) |
| This method finds the user name for a parameter. More... | |
| def | _checkSize (self, value, mindim, expression) |
| This method checks that some parameters or some expressions involving those parameters are greater than a minimum value. More... | |
| def | _getSubShapes (self, minDim=MIN_LENGTH_FOR_EXTRUSION) |
| Find and return the base sub-shapes in the structural element part. More... | |
Private Attributes | |
| _orientation | |
| _parameters | |
| _groupGeomObj | |
| _paramUserName | |
This class defines a beam with a generic section.
It is represented as a full rectangular beam with the following parameters:
See StructuralElementPart for the description of the other parameters.
| def __init__ | ( | self, | |
| groupName, | |||
| groupGeomObj, | |||
| parameters, | |||
name = Beam.DEFAULT_NAME, |
|||
color = None |
|||
| ) |
Reimplemented from RectangularBeam.
|
privateinherited |
Create a rectangle in the specified plane.
References Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.
|
privateinherited |
Create one side of the rectangular sections used to build the pipe.
References RectangularBeam._makeRectangle(), StructuralElementPart._orientation, Beam._orientation, StructuralElementPart2D._orientation, Beam.filling, CircularBeam.filling, RectangularBeam.filling, Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.
|
privateinherited |
Create the rectangular sections used to build the pipe.
References RectangularBeam._makeSectionRectangles(), RectangularBeam.EPY1, RectangularBeam.EPY2, RectangularBeam.EPZ1, RectangularBeam.EPZ2, RectangularBeam.HY1, RectangularBeam.HY2, RectangularBeam.HZ1, and RectangularBeam.HZ2.
|
privateinherited |
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.
|
privateinherited |
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.
|
privateinherited |
Create a solid by the extrusion of section wire1 to section wire2 along path.
References Orientation1D.geom, Orientation2D.geom, and StructuralElementPart.geom.
|
privateinherited |
Build the structural element part.
Reimplemented from StructuralElementPart.
References StructuralElementPart._getSubShapes(), Beam._getVertexAndTangentOnOrientedWire(), CircularBeam._makeSectionWires(), RectangularBeam._makeSectionWires(), and Beam._makeSolidPipeFromWires().
|
privateinherited |
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.
|
privateinherited |
This method finds the value of a parameter in the parameters dictionary.
The argument is a list because some parameters can have several different names.
References StructuralElementPart._parameters, and StructuralElementPart._paramUserName.
|
privateinherited |
This method finds the user name for a parameter.
References StructuralElementPart._paramUserName.
|
inherited |
References InvalidParameterError.groupName, and StructuralElementPart.groupName.
|
inherited |
Add orientation information to the structural element part.
See class salome.geom.structelem.orientation.Orientation1D for the description of the parameters.
References StructuralElementPart._orientation, Beam._orientation, and StructuralElementPart2D._orientation.
|
privateinherited |
This method checks that some parameters or some expressions involving those parameters are greater than a minimum value.
References InvalidParameterError.groupName, and StructuralElementPart.groupName.
|
inherited |
Build the geometric shapes and the markers corresponding to the structural element part in the study.
References StructuralElementPart._buildMarkers(), Beam._buildMarkers(), ThickShell._buildMarkers(), Grid._buildMarkers(), StructuralElementPart._buildPart(), Beam._buildPart(), ThickShell._buildPart(), Grid._buildPart(), and StructuralElementPart.color.
|
privateinherited |
Find and return the base sub-shapes in the structural element part.
References StructuralElementPart._groupGeomObj, StructuralElementPart.baseShapesSet, Orientation1D.geom, Orientation2D.geom, StructuralElementPart.geom, InvalidParameterError.groupName, StructuralElementPart.groupName, and StructuralElementPart.isMainShape.
| IY1 |
| IZ1 |
| IY2 |
| IZ2 |
| A1 |
| A2 |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
staticinherited |
|
privateinherited |
|
privateinherited |
|
inherited |
|
privateinherited |
|
privateinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |