Bitbybit Docs
    Preparing search index...

    Class VerbCurve

    Contains various methods for nurbs curves. These methods 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

    • Creates a Nurbs curve by providing knots, control points & weights

      Parameters

      Returns any

      Nurbs curve

    • Creates a Nurbs curve by providing control points

      Parameters

      Returns any

      Nurbs curve

    • Converts lines to NURBS curves Returns array of the verbnurbs Line objects

      Parameters

      Returns any[]

      Verb nurbs curves

    • Converts line to NURBS curve Returns the verbnurbs Line object

      Parameters

      Returns any

      Verb nurbs curves

    • Converts a polyline to a NURBS curve Returns the verbnurbs NurbsCurve object

      Parameters

      Returns any

      Verb nurbs curve

    • Converts a polylines to a NURBS curves Returns the verbnurbs NurbsCurve objects

      Parameters

      Returns any[]

      Verb nurbs curves

    • Creates a Bezier Nurbs curve by providing control points and weights

      Parameters

      Returns any

      Bezier Nurbs curve

    • Finds the closest param on the Nurbs curve from the point

      Parameters

      Returns number

      Param number

    • Finds the closest params on the Nurbs curve from the points

      Parameters

      Returns number[]

      Param numbers

    • Finds the derivatives of the Nurbs curve at parameter

      Parameters

      Returns number[]

      Derivatives

    • Divides the curve by equal arc length to parameters

      Parameters

      Returns number[]

      Parameters

    • Divides the curve by arc length to parameters

      Parameters

      Returns number[]

      Parameters

    • Gets the length of the Nurbs curve at specific parameter

      Parameters

      Returns number

      Length

    • Gets the param at specified length on the Nurbs curve

      Parameters

      Returns number

      Parameter

    • Splits the Nurbs curve in two at a given parameter

      Parameters

      Returns any[]

      Nurbs curves

    • Transforms the Nurbs curve

      Parameters

      Returns any

      Transformed curve

    • Transforms the Nurbs curves

      Parameters

      Returns any[]

      Transformed curves