SweepBarPlacement
Canonical path: NemAll_Python_Reinforcement.SweepBarPlacement
Bases: ReinfElement, AllplanElement
Implementation of the sweep bar placement element
Classes:
-
eEdgeOffsetType–Edge offset types
Methods:
-
AddPlacementSection–Add a placement section
-
AddSectionBars–Add the bars and the section plane for a section
-
GetBarOffset–Get the bar offset
-
GetBenchingAngle–Get the benching angle
-
GetBenchingLength–Get the benching length
-
GetCommonProperties–Get the common properties
-
GetConcreteCoverEnd–Get the concrete cover at the end of the path
-
GetConcreteCoverStart–Get the concrete cover at the start of the path
-
GetCrossBarDistance–Get the cross bar distance
-
GetEdgeOffsetEnd–Get the edge offset at the end of the path
-
GetEdgeOffsetStart–Get the edge offset at the start of the path
-
GetEdgeOffsetType–Get the edge offset type
-
GetEdgeOffsets–Get the edge offsets
-
GetPlacementSections–Get the placement sections
-
GetPositionNumber–Get the position number
-
IsFirstPathIsSweepPath–Get the first path is sweep path state
-
IsInterpolation–Get the interpolation state
-
IsInterpolationOfAllPoints–Get the interpolation of all points state
-
IsRoation–Get the rotation state
-
Move–Move the placement
-
SetCommonProperties–Set the common properties
-
SetPositionNumber–Set the position number
-
Sweep–Sweep the bars
-
Transform–Transform the placement
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
CommonProperties(CommonProperties) –Get the common properties
-
PositionNumber(int) –Get the position number
eEdgeOffsetType
Canonical path: NemAll_Python_Reinforcement.SweepBarPlacement.eEdgeOffsetType
Bases: Enum
Edge offset types
Methods:
-
__getitem__–get the item for a key
__getitem__
__getitem__(key: str | int | float) -> eEdgeOffsetType
get the item for a key
Parameters:
-
key(str | int | float) –value key
Returns:
-
eEdgeOffsetType–value for the key
AddPlacementSection
AddPlacementSection(placementSection: BarPlacementSection) -> bool
Add a placement section
Parameters:
-
placementSection(BarPlacementSection) –Section
Returns:
-
bool–Section is added: true/false
AddSectionBars
AddSectionBars(
bendingShapes: BendingShapeList,
sectionsLongitudinalBarsProp: LongitudinalBarPropertiesList,
sectionPlane: Plane3D,
)
Add the bars and the section plane for a section
bendingShapeViewVector View vector of the bending shape
Parameters:
-
bendingShapes(BendingShapeList) –Bending shapes of the section
-
sectionsLongitudinalBarsProp(LongitudinalBarPropertiesList) –Longitudinal bars properties
-
sectionPlane(Plane3D) –Section plane
GetBenchingLength
Get the benching length
Returns:
-
float–Benching length
GetCommonProperties
GetCommonProperties() -> CommonProperties
GetConcreteCoverEnd
Get the concrete cover at the end of the path
Returns:
-
float–Concrete cover at the end of the path
GetConcreteCoverStart
Get the concrete cover at the start of the path
Returns:
-
float–Concrete cover at the start of the path
GetCrossBarDistance
Get the cross bar distance
Returns:
-
float–Cross bar distance
GetEdgeOffsetEnd
Get the edge offset at the end of the path
Returns:
-
float–Edge offset at the end of the path
GetEdgeOffsetStart
Get the edge offset at the start of the path
Returns:
-
float–Edge offset at the start of the path
GetEdgeOffsetType
GetEdgeOffsetType() -> eEdgeOffsetType
GetPlacementSections
Get the placement sections
Returns:
-
object–Placement sections
IsFirstPathIsSweepPath
Get the first path is sweep path state
Returns:
-
bool–First path is sweep path state
IsInterpolation
Get the interpolation state
Returns:
-
bool–Interpolation state
IsInterpolationOfAllPoints
Get the interpolation of all points state
Returns:
-
bool–Interpolation of all points state
SetCommonProperties
SetCommonProperties(commonProp: CommonProperties)
SetPositionNumber
Set the position number
Parameters:
-
positionNumber(int) –Position number
Transform
Transform(transMat: Matrix3D)
__init__
overloaded
Initialize
__init__(placement: SweepBarPlacement)
__init__(
positionNumber: int,
sweepPaths: Path3DList,
rotation: bool,
firstPathIsSweepPath: bool,
interpolation: bool,
interpolationOfAllPoints: bool,
crossBarDistance: float,
concreteCoverStart: float,
concreteCoverEnd: float,
edgeOffsetType: eEdgeOffsetType,
edgeOffsetStart: float,
edgeOffsetEnd: float,
barOffset: float,
benchingLength: float,
benchingAngle: float,
)
Constructor for cross bars
Parameters:
-
positionNumber(int) –Position number
-
sweepPaths(Path3DList) –Path
-
rotation(bool) –Rotation
-
firstPathIsSweepPath(bool) –First path is also sweep path
-
interpolation(bool) –Interpolation
-
interpolationOfAllPoints(bool) –Interpolation of all points
-
crossBarDistance(float) –Cross bar distance
-
concreteCoverStart(float) –Concrete cover at the start of the path
-
concreteCoverEnd(float) –Concrete cover at the end of the path
-
edgeOffsetType(eEdgeOffsetType) –Get the edge offset type of the path
-
edgeOffsetStart(float) –Edge offset at the start of the path
-
edgeOffsetEnd(float) –Edge offset at the end of the path
-
barOffset(float) –Bar offset
-
benchingLength(float) –Benching length
-
benchingAngle(float) –Benching angle