Bitbybit Docs
    Preparing search index...

    Class VerbSurface

    Contains various functions for Nurbs surfaces. These functions wrap around Verbnurbs library that you can find here http://verbnurbs.com/. Thanks Peter Boyer for his work.

    Verbnurbs is not maintained upstream and this API is removed in the next major version. Use the OpenCascade (occt) NURBS operations instead. Existing scripts keep working until the removal.

    Index

    Constructors

    Properties

    Methods

    • Gets the boundary edge Nurbs curves of the surface in a list

      Parameters

      Returns any[]

      Array of curves

    • Creates the surface by providing 4 points as corners

      Parameters

      Returns any

      Nurbs surface

    • Creates the Nurbs surface by providing uv knots, uv degrees, points and weights

      Parameters

      Returns any

      Nurbs surface

    • Creates the Nurbs surface by lofting curves

      Parameters

      Returns any

      Nurbs surface

    • Clone the Nurbs surface

      Parameters

      Returns any

      Nurbs surface

    • Finds the closest parameter on the surface from the point

      Parameters

      Returns UVDto

      UV parameters

    • Finds the closest point on the surface from the point

      Parameters

      Returns number[]

      Point

    • Gets the control points on the surface

      Parameters

      Returns number[][][]

      Two dimensional array of points

    • Gets the U degree of the surface

      Parameters

      Returns number

      U degree

    • Gets the V degree of the surface

      Parameters

      Returns number

      V degree

    • Gets the derivatives of the surface at specified uv coordinate

      Parameters

      Returns number[][][]

      Two dimensional array of vectors

    • Gets the Nurbs isocurve on the surface

      Parameters

      Returns any

      Nurbs curve

    • Subdivides surface into preferred number of isocurves

      Parameters

      Returns any[]

      Nurbs curves

    • Subdivides surface into isocurves on specified array of parameters

      Parameters

      Returns any[]

      Nurbs curves

    • Gets the U knots of the surface

      Parameters

      Returns number[]

      Knots on u direction

    • Gets the V knots of the surface

      Parameters

      Returns number[]

      Knots on v direction

    • Gets the normal on the surface at uv coordinate

      Parameters

      Returns number[]

      Normal vector

    • Gets the point on the surface at uv coordinate

      Parameters

      Returns number[]

      Point

    • Reverse the Nurbs surface. This will reverse the UV origin and isocurve directions

      Parameters

      Returns any

      Nurbs surface

    • Splits the Nurbs surface in two halfs.

      Parameters

      Returns any[]

      Two Nurbs surfaces

    • Transforms the Nurbs surface with a given list of transformations.

      Parameters

      Returns any

      Nurbs surface

    • Gets the weights of the surface

      Parameters

      Returns number[][]

      Two dimensional array of weights