LongitudinalBarProperties
Canonical path: NemAll_Python_Reinforcement.LongitudinalBarProperties
Implementation of the longitudinal bar properties
eDeliveryShapeType
Canonical path: NemAll_Python_Reinforcement.LongitudinalBarProperties.eDeliveryShapeType
Bases: Enum
Delivery shape types
__getitem__
__getitem__(key: str | int | float) -> eDeliveryShapeType
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
eDeliveryShapeType
–value for the key
eInsideBarsState
Canonical path: NemAll_Python_Reinforcement.LongitudinalBarProperties.eInsideBarsState
Bases: Enum
Inside bar state
__getitem__
__getitem__(key: str | int | float) -> eInsideBarsState
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
eInsideBarsState
–value for the key
GetBendingShape
GetBendingShape() -> BendingShape
GetDeliveryShapeType
GetDeliveryShapeType() -> eDeliveryShapeType
GetInsideBarsState
GetInsideBarsState() -> eInsideBarsState
GetMinBarDistance
Get the minimal bar distance
Returns:
-
float
–Minimal bar distance
GetOverlappingAtEnd
Get the overlapping at end
Returns:
-
float
–Overlapping at end
GetOverlappingAtStart
Get the overlapping at start
Returns:
-
float
–Overlapping at start
GetOverlappingLength
Get the overlapping length
Returns:
-
float
–Overlapping length
IsOverlappingAtEndTurnedOn
Get the overlapping at end state
Returns:
-
bool
–Overlapping at end state
IsOverlappingAtStartTurnedOn
Get the overlapping at start state
Returns:
-
bool
–Overlapping at start state
SetBendingShape
SetBendingShape(shape: BendingShape)
__eq__
__eq__(bar_props: LongitudinalBarProperties) -> bool
Compare operator
Parameters:
-
bar_props
(LongitudinalBarProperties
) –Bar properties to compare
Returns:
-
bool
–Bars are equal: true/false
__init__
overloaded
Initialize
__init__(
shape: BendingShape,
overlappingAtStartTurnedOn: bool,
overlappingAtStart: float,
overlappingAtEndTurnedOn: bool,
overlappingAtEnd: float,
overlappingLength: float,
minBarDistance: float,
deliveryShapeType: eDeliveryShapeType,
insideBarsState: eInsideBarsState,
startLength: float,
)
Constructor
Parameters:
-
shape
(BendingShape
) –Bar shape
-
overlappingAtStartTurnedOn
(bool
) –Overlapping at start start
-
overlappingAtStart
(float
) –Overlapping at start
-
overlappingAtEndTurnedOn
(bool
) –Overlapping at end state
-
overlappingAtEnd
(float
) –Overlapping at end
-
overlappingLength
(float
) –Overlapping length
-
minBarDistance
(float
) –Minimal bar distance
-
deliveryShapeType
(eDeliveryShapeType
) –Delivery shape type
-
insideBarsState
(eInsideBarsState
) –Inside bars state
-
startLength
(float
) –Start length