Skip to content

BarPlacement

Canonical path: NemAll_Python_Reinforcement.BarPlacement

Bases: ReinfElement, AllplanElement

Implementation of the bar placement element

BarCount property writable

BarCount: int

Get the bar count

BendingShape property writable

BendingShape: BendingShape

Get the shape polyline

BendingShapeMatrix property writable

BendingShapeMatrix: Matrix3D

Get the bending shape matrix

CommonProperties property writable

CommonProperties: CommonProperties

Get the common properties

DistanceVector property writable

DistanceVector: Vector3D

Get the distance vector

EndBendingShape property writable

EndBendingShape: BendingShape

Get the shape polyline at the end of a polygonal placement

LengthFactor property writable

LengthFactor: float

Get the length factor

PlacePerLinearMeter property writable

PlacePerLinearMeter: bool

Get the place per linear meter state

PositionNumber property writable

PositionNumber: int

Get the position number

RotationAngle property writable

RotationAngle: Angle

Get the rotation angle

RotationAxis property writable

RotationAxis: Line3D

Get the rotation axis

RotationalPlacement property writable

RotationalPlacement: bool

Get the rotational placement state

GetBarCount

GetBarCount() -> int

Get the bar count

Returns:

  • int

    Bar count

GetBendingShape

GetBendingShape() -> BendingShape

Get the shape polyline

Returns:

GetBendingShapeMatrix

GetBendingShapeMatrix() -> Matrix3D

Get the bending shape matrix

Returns:

GetCommonProperties

GetCommonProperties() -> CommonProperties

Get the common properties

Returns:

GetDistanceVector

GetDistanceVector() -> Vector3D

Get the distance vector

Returns:

GetEndBendingShape

GetEndBendingShape() -> BendingShape

Get the shape polyline at the end of a polygonal placement

Returns:

GetEndPoint

GetEndPoint() -> Point3D

Get the end point of the placement at the placement line

Returns:

  • Point3D

    End point of the placement at the placement line

GetLabel

GetLabel() -> ReinforcementLabel

Get the label

Returns:

GetLengthFactor

GetLengthFactor() -> float

Get the length factor

Returns:

  • float

    Length factor

GetPlacementMatrix

GetPlacementMatrix() -> Matrix3D

Get the placement matrix of the first bar

Returns:

GetPositionNumber

GetPositionNumber() -> int

Get the position number

Returns:

  • int

    Position number

GetRotationAngle

GetRotationAngle() -> Angle

Get the rotation angle

Returns:

  • Angle

    Rotation angle

GetRotationAxis

GetRotationAxis() -> Line3D

Get the rotation axis

Returns:

GetStartPoint

GetStartPoint() -> Point3D

Get start point of the placement at the placement line

Returns:

  • Point3D

    Start point of the placement at the placement line

IsPlacePerLinearMeter

IsPlacePerLinearMeter() -> bool

Get the place per linear meter state

Returns:

  • bool

    Place per linear meter: true/false

IsPolygonalPlacement

IsPolygonalPlacement() -> bool

Get the polygonal placement state

Returns:

  • bool

    Polygonal placement: true/false

IsRotationalPlacement

IsRotationalPlacement() -> bool

Get the rotational placement state

Returns:

  • bool

    Rotational placement: true/false

Move

Move(transVec: Vector3D)

Move the placement

Parameters:

SetBarCount

SetBarCount(barCount: int)

Set the bar count

Parameters:

  • barCount (int) –

    Bar count

SetBendingShape

SetBendingShape(shape: BendingShape)

Set the reinforcement shape

Parameters:

SetBendingShapeMatrix

SetBendingShapeMatrix(bendingShapeMat: Matrix3D)

Set the bending shape matrix

Parameters:

  • bendingShapeMat (Matrix3D) –

    Bending shape matrix

SetCommonProperties

SetCommonProperties(commonProp: CommonProperties)

Set the common properties

Parameters:

SetDistanceVector

SetDistanceVector(distVec: Vector3D)

Set the distance vector

Parameters:

  • distVec (Vector3D) –

    Distance vector

SetEndBendingShape

SetEndBendingShape(shape: BendingShape)

Set the reinforcement shape at the end

Parameters:

SetLabel

SetLabel(label: ReinforcementLabel, labelAssocView: AssocViewElementAdapter)

Set the label

Parameters:

SetLengthFactor

SetLengthFactor(lengthFactor: float)

Set the length factor

Parameters:

  • lengthFactor (float) –

    Length factor

SetPlacePerLinearMeter

SetPlacePerLinearMeter(bPlacePerLinearMeter: bool)

Set the place per linear meter state

Parameters:

  • bPlacePerLinearMeter (bool) –

    Place per linear meter: true/false

SetPositionNumber

SetPositionNumber(positionNumber: int)

Set the position number

Parameters:

  • positionNumber (int) –

    Position number

SetRotationAngle

SetRotationAngle(rotationAngle: float)

Set the rotation angle

Parameters:

  • rotationAngle (float) –

    Rotation angle

SetRotationAxis

SetRotationAxis(rotationAxis: Line3D)

Set the rotation axis

Parameters:

  • rotationAxis (Line3D) –

    Rotation axis

SetRotationalPlacement

SetRotationalPlacement(bRotationalPlacement: bool)

Set the rotational placement state

Parameters:

  • bRotationalPlacement (bool) –

    Rotational placement state

Transform

Transform(transMat: Matrix3D)

Transform the placement

Parameters:

  • transMat (Matrix3D) –

    Transformation matrix

__init__ overloaded

__init__()

Initialize

__init__(placement: BarPlacement)

Copy constructor

Parameters:

__init__(
    positionNumber: int,
    barCount: int,
    distVec: Vector3D,
    startPnt: Point3D,
    endPnt: Point3D,
    bendingShape: BendingShape,
)

Constructor

Parameters:

  • positionNumber (int) –

    Position number

  • barCount (int) –

    Bar count

  • distVec (Vector3D) –

    Distance vector

  • startPnt (Point3D) –

    Start point of the placement at the placement line

  • endPnt (Point3D) –

    End point of the placement at the placement line

  • bendingShape (BendingShape) –

    Bending shape

__init__(
    positionNumber: int,
    barCount: int,
    startBendingShape: BendingShape,
    endBendingShape: BendingShape,
)

Constructor

Parameters:

  • positionNumber (int) –

    Position number

  • barCount (int) –

    Bar count

  • startBendingShape (BendingShape) –

    Start shape of the polygonal placement

  • endBendingShape (BendingShape) –

    End shape of the polygonal placement

__init__(
    positionNumber: int,
    barCount: int,
    rotationAxis: Line3D,
    rotationAngle: Angle,
    bendingShape: BendingShape,
)

Constructor for the rotational placement

Parameters:

  • positionNumber (int) –

    Position number

  • barCount (int) –

    Bar count

  • rotationAxis (Line3D) –

    Rotation point

  • rotationAngle (Angle) –

    Rotation angle

  • bendingShape (BendingShape) –

    Bending shape

__repr__

__repr__() -> str

Convert to string

Placeholder