Bitbybit Docs
    Preparing search index...

    Class RectangleDto (Inputs.OCCT)

    用于 shapes.wire.createRectangleWireshapes.face.createRectangleFace 的宽度、长度和放置方式。

    Index

    Constructors

    Properties

    Constructors

    Properties

    width: number

    矩形转向 direction 之前在地平面上沿 X 的边,以模型单位表示。

    1
    

    0

    Infinity

    1

    length: number

    矩形转向 direction 之前在地平面上沿 Z 的边,以模型单位表示。

    2
    

    0

    Infinity

    1

    center: Point3

    矩形所围绕的中心点。

    [0, 0, 0]
    
    direction: Vector3

    矩形所在平面的法线;默认值使其平放在地面上。

    [0, 1, 0]