BendingShape
Canonical path: NemAll_Python_Reinforcement.BendingShape
Implementation of the reinforcement shape
Methods:
-
GetBendingRoller–Get the bending roller
-
GetBendingShapeType–Get the bending shape type
-
GetConcreteGrade–Get the concrete grade
-
GetDiameter–Get the diameter
-
GetHookAngleEnd–Get the hook angle a the end of the shape
-
GetHookAngleStart–Get the hook angle a the start of the shape
-
GetHookLengthEnd–Get the hook length a the end of the shape
-
GetHookLengthStart–Get the hook length a the start of the shape
-
GetHookTypeEnd–Get the hook type a the end of the shape
-
GetHookTypeStart–Get the hook type a the start of the shape
-
GetMeshBendingDirection–Get the mesh bending direction
-
GetMeshType–Get the mesh type
-
GetShapePolyline–Get the shape polyline
-
GetSteelGrade–Get the steel grade
-
IsValid–Get the state of the shape
-
Move–Move the shape
-
Rotate–Overloaded function. See individual overloads.
-
SetBendingRoller–Set the bending roller
-
SetDiameter–Set the diameter
-
SetHookAngleEnd–Set the hook angle at the end of the shape
-
SetHookAngleStart–Set the hook angle at the start of the shape
-
SetHookLengthEnd–Set the end length of the hook
-
SetHookLengthStart–Set the start length of the hook
-
SetHookTypeEnd–Set the hook type at the end of the shape
-
SetHookTypeStart–Set the hook type at the start of the shape
-
SetShapePolyline–Set the shape polyline
-
SetSteelGrade–Set the steel grade
-
Transform–Transform the shape
-
__eq__–Compare operator
-
__init__–Overloaded function. See individual overloads.
-
__repr__–Convert to string
Attributes:
-
BendingRoller(list[float]) –Get the bending roller
-
Diameter(float) –Get the diameter
-
HookAngleEnd(float) –Get the hook angle a the end of the shape
-
HookAngleStart(float) –Get the hook angle a the start of the shape
-
HookLengthEnd(float) –Get the hook length a the end of the shape
-
HookLengthStart(float) –Get the hook length a the start of the shape
-
HookTypeEnd(HookType) –Get the hook type a the end of the shape
-
HookTypeStart(HookType) –Get the hook type a the start of the shape
-
ShapePolyline(Polyline3D) –Get the shape polyline
-
SteelGrade(int) –Get the steel grade
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)