DivideBarsParameters
Canonical path: NemAll_Python_Reinforcement.DivideBarsParameters
Parameters for dividing engineering geometry
Classes:
-
eDivideMode–Information of Divide Mode
-
eInputMode–Information of input mode
-
eLengthPosition–Information of position of Overlap-/Gap-Length
Methods:
-
GetTrimLens–Get necessary length to lengthen/shorten bar parts
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert the list to a string
Attributes:
-
DivideMode(eDivideMode) –Get the mode of division
-
GapLength(float) –Get the gap length
-
GapPosition(eLengthPosition) –Get the position of gap
-
OverlapLength(float) –Get the overlap length
-
OverlapPosition(eLengthPosition) –Get the position of overlap
eDivideMode
Canonical path: NemAll_Python_Reinforcement.DivideBarsParameters.eDivideMode
Bases: Enum
Information of Divide Mode
Methods:
-
__getitem__–get the item for a key
__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
Methods:
-
__getitem__–get the item for a key
__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
Methods:
-
__getitem__–get the item for a key
__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)