DivideBarsParameters
Canonical path: NemAll_Python_Reinforcement.DivideBarsParameters
Parameters for dividing engineering geometry
eDivideMode
Canonical path: NemAll_Python_Reinforcement.DivideBarsParameters.eDivideMode
Bases: Enum
Information of Divide Mode
__getitem__
__getitem__(key: str | int | float) -> eDivideMode
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
eDivideMode
–value for the key
eInputMode
Canonical path: NemAll_Python_Reinforcement.DivideBarsParameters.eInputMode
Bases: Enum
Information of input mode
__getitem__
__getitem__(key: str | int | float) -> eInputMode
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
eInputMode
–value for the key
eLengthPosition
Canonical path: NemAll_Python_Reinforcement.DivideBarsParameters.eLengthPosition
Bases: Enum
Information of position of Overlap-/Gap-Length
__getitem__
__getitem__(key: str | int | float) -> eLengthPosition
get the item for a key
Parameters:
-
key
(str | int | float
) –value key
Returns:
-
eLengthPosition
–value for the key
GetTrimLens
GetTrimLens() -> tuple[float, float]
Get necessary length to lengthen/shorten bar parts
Returns:
-
tuple[float, float]
–tuple(lengthen/shorten left bar part, lengthen/shorten right bar part)
__init__
overloaded
Initialize
__init__(
DivideMode: eDivideMode,
OverlapPosition: eLengthPosition,
OverlapLength: float,
GapPosition: eLengthPosition,
GapLength: float,
)
Constructor
Parameters:
-
DivideMode
(eDivideMode
) –Mode of division
-
OverlapPosition
(eLengthPosition
) –Position of Overlap
-
OverlapLength
(float
) –Overlap length
-
GapPosition
(eLengthPosition
) –Position of Gap
-
GapLength
(float
) –Gap length
__init__(element: DivideBarsParameters)