BendingShape
Canonical path: NemAll_Python_Reinforcement.BendingShape
Implementation of the reinforcement shape
HookLengthStart
property
writable
Get the hook length a the start of the shape
GetBendingRoller
GetBendingRoller() -> VecDoubleList
GetBendingShapeType
GetBendingShapeType() -> BendingShapeType
GetConcreteGrade
Get the concrete grade
Returns:
-
int
–Concrete grade (index of the global list starting from 0, -1 = use global value from the Allplan settings)
GetHookAngleEnd
Get the hook angle a the end of the shape
Returns:
-
float
–Hook angle at the end of the shape
GetHookAngleStart
Get the hook angle a the start of the shape
Returns:
-
float
–Hook angle at the start of the shape
GetHookLengthEnd
Get the hook length a the end of the shape
Returns:
-
float
–Hook length at the end of the shape
GetHookLengthStart
Get the hook length a the start of the shape
Returns:
-
float
–Hook length at the start of the shape
GetHookTypeEnd
GetHookTypeEnd() -> HookType
GetHookTypeStart
GetHookTypeStart() -> HookType
GetMeshBendingDirection
GetMeshBendingDirection() -> MeshBendingDirection
GetShapePolyline
GetShapePolyline() -> Polyline3D
Rotate
overloaded
Rotate(modelAngles: object, refPnt: Point3D)
Rotate the shape
Parameters:
-
modelAngles
(object
) –Model angles
-
refPnt
(Point3D
) –Reference point of the rotation
Rotate the shape
Parameters:
-
modelAngles
(object
) –Model angles
SetBendingRoller
SetBendingRoller(bendingRoller: VecDoubleList)
SetHookAngleEnd
Set the hook angle at the end of the shape
Parameters:
-
hookAngleEnd
(float
) –Hook angle
SetHookAngleStart
Set the hook angle at the start of the shape
Parameters:
-
hookAngleStart
(float
) –Hook angle
SetHookLengthEnd
Set the end length of the hook
Parameters:
-
hookLengthEnd
(float
) –End length of the hook
SetHookLengthStart
Set the start length of the hook
Parameters:
-
hookLengthStart
(float
) –Start length of the hook
SetHookTypeEnd
SetHookTypeEnd(hookTypeEnd: HookType)
SetHookTypeStart
SetHookTypeStart(hookTypeStart: HookType)
SetShapePolyline
SetShapePolyline(shapePol: Polyline3D)
SetSteelGrade
Set the steel grade
Parameters:
-
steelGrade
(int
) –steel grade
Transform
Transform(transMat: Matrix3D)
__eq__
__eq__(shape: BendingShape) -> bool
Compare operator
Parameters:
-
shape
(BendingShape
) –Shape to compare
Returns:
-
bool
–Shapes are equal: true/false
__init__
overloaded
Initialize
__init__(
shapePol: Polyline3D,
bendingRoller: VecDoubleList,
diameter: float,
steelGrade: int,
concreteGrade: int,
bendingShapeType: BendingShapeType,
)
Constructor
Parameters:
-
shapePol
(Polyline3D
) –Shape polyline
-
bendingRoller
(VecDoubleList
) –Bending roller
-
diameter
(float
) –Diameter
-
steelGrade
(int
) –Steel grade
-
concreteGrade
(int
) –Concrete grade (index of the global list starting from 0, -1 = use global value from the Allplan settings)
-
bendingShapeType
(BendingShapeType
) –Bending shape type
__init__(
shapePoint: Point3D, diameter: float, steelGrade: int, concreteGrade: int
)
Constructor for a point placement
Parameters:
-
shapePoint
(Point3D
) –Shape placement point
-
diameter
(float
) –Diameter
-
steelGrade
(int
) –Steel grade
-
concreteGrade
(int
) –Concrete grade (index of the global list starting from 0, -1 = use global value from the Allplan settings)
__init__(
shapePol: Polyline3D,
bendingRoller: VecDoubleList,
meshType: str,
meshBendingDirection: MeshBendingDirection,
steelGrade: int,
concreteGrade: int,
bendingShapeType: BendingShapeType,
)
Constructor
Parameters:
-
shapePol
(Polyline3D
) –Shape polyline
-
bendingRoller
(VecDoubleList
) –Bending roller
-
meshType
(str
) –Mesh type
-
meshBendingDirection
(MeshBendingDirection
) –Mesh bending direction
-
steelGrade
(int
) –Steel grade
-
concreteGrade
(int
) –Concrete grade (index of the global list starting from 0, -1 = use global value from the Allplan settings)
-
bendingShapeType
(BendingShapeType
) –Bending shape type
__init__(
shapePol: Polyline3D,
bendingRoller: VecDoubleList,
diameter: float,
steelGrade: int,
concreteGrade: int,
bendingShapeType: BendingShapeType,
hookLengthStart: float,
hookAngleStart: float,
hookTypeStart: HookType,
hookLengthEnd: float,
hookAngleEnd: float,
hookTypeEnd: HookType,
)
Constructor
Parameters:
-
shapePol
(Polyline3D
) –Shape polyline
-
bendingRoller
(VecDoubleList
) –Bending roller
-
diameter
(float
) –Diameter
-
steelGrade
(int
) –Steel grade
-
concreteGrade
(int
) –Concrete grade (index of the global list starting from 0, -1 = use global value from the Allplan settings)
-
bendingShapeType
(BendingShapeType
) –Bending shape type
-
hookLengthStart
(float
) –Hook length at the start of the shape
-
hookAngleStart
(float
) –Hook angle at the start of the shape
-
hookTypeStart
(HookType
) –Hook type at the start of the shape
-
hookLengthEnd
(float
) –Hook length at the end of the shape
-
hookAngleEnd
(float
) –Hook angle at the end of the shape
-
hookTypeEnd
(HookType
) –Hook type at the end of the shape
__init__(
shapePol: Polyline3D,
bendingRoller: VecDoubleList,
meshType: str,
meshBendingDirection: MeshBendingDirection,
steelGrade: int,
concreteGrade: int,
bendingShapeType: BendingShapeType,
hookLengthStart: float,
hookAngleStart: float,
hookTypeStart: HookType,
hookLengthEnd: float,
hookAngleEnd: float,
hookTypeEnd: HookType,
)
Constructor
Parameters:
-
shapePol
(Polyline3D
) –Shape polyline
-
bendingRoller
(VecDoubleList
) –Bending roller
-
meshType
(str
) –Mesh type
-
meshBendingDirection
(MeshBendingDirection
) –Mesh bending direction
-
steelGrade
(int
) –Steel grade
-
concreteGrade
(int
) –Concrete grade (index of the global list starting from 0, -1 = use global value from the Allplan settings)
-
bendingShapeType
(BendingShapeType
) –Bending shape type
-
hookLengthStart
(float
) –Hook length at the start of the shape
-
hookAngleStart
(float
) –Hook angle at the start of the shape
-
hookTypeStart
(HookType
) –Hook type at the start of the shape
-
hookLengthEnd
(float
) –Hook length at the end of the shape
-
hookAngleEnd
(float
) –Hook angle at the end of the shape
-
hookTypeEnd
(HookType
) –Hook type at the end of the shape
__init__(element: BendingShape)