Bitbybit Docs
    Preparing search index...

    Class ExtrudeDto<T> (Inputs.Manifold)

    用于 crossSection.operations.extrude 的横截面和扫掠设置,它使横截面沿 Z 生长成实体。

    Type Parameters

    • T
    Index

    Constructors

    Properties

    crossSection: T

    要拉伸的平面轮廓。

    height: number

    轮廓沿 Z 扫掠多远,以模型单位表示。

    1
    

    0

    Infinity

    0.1

    nDivisions: number

    沿途插入多少个额外的轮廓副本;越多越能使扭转或锥度保持光滑。

    1
    

    0

    Infinity

    1

    twistDegrees: number

    顶部相对底部转动多少,以度为单位。

    0
    

    -Infinity

    Infinity

    1

    scaleTopX: number

    顶部沿 X 缩放多少;1 保持不变,与 scaleTopY 同为 0 时生成圆锥。

    1
    

    0

    Infinity

    0.1

    scaleTopY: number

    顶部沿 Y 缩放多少;1 保持不变,与 scaleTopX 同为 0 时生成圆锥。

    1
    

    0

    Infinity

    0.1

    center: boolean

    为 true 时,实体以 XY 平面为中心;为 false 时它立于该平面上。

    true