Bitbybit Docs
    Preparing search index...

    Class SquareDto (Inputs.OCCT)

    用于 shapes.wire.createSquareWireshapes.face.createSquareFace 的边长和放置方式。

    Index

    Constructors

    Properties

    Constructors

    Properties

    size: number

    每条边的长度,以模型单位表示。

    1
    

    0

    Infinity

    1

    center: Point3

    正方形所围绕的中心点。

    [0, 0, 0]
    
    direction: Vector3

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

    [0, 1, 0]