Bitbybit Docs
    Preparing search index...

    Class TrimByPlaneDto<T> (Inputs.Manifold)

    A solid and a plane for manifold.booleans.trimByPlane, which keeps the part on the normal's side.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalmanifold: T
      • Optionalnormal: Vector3
      • OptionaloriginOffset: number

      Returns TrimByPlaneDto<T>

    Properties

    manifold: T

    The solid to trim.

    normal: Vector3

    The normal of the cutting plane; the kept part lies on the side it points to, and its length does not matter.

    [1,0,0]
    
    originOffset: number

    How far the plane sits from the origin along the normal, in model units.

    0
    

    -Infinity

    Infinity

    0.1