Bitbybit Docs
    Preparing search index...

    Interface RecipeBrepBSplineCurveBeta (Inputs.Base)

    A B-spline curve, rational when it has weights, with its knots and their multiplicities as STEP and IFC write them: knots rising, and the multiplicities adding up to the number of control points plus the degree plus one.

    interface RecipeBrepBSplineCurve {
        kind: "bspline";
        degree: number;
        points: RecipeRange;
        weights?: RecipeRange;
        knots: RecipeRange;
        multiplicities: number[];
    }
    Index

    Properties

    kind: "bspline"

    Always bspline.

    degree: number

    The degree, from 1 to 25.

    points: RecipeRange

    A range of x, y, z triples in f64: the control points, at least the degree plus one.

    weights?: RecipeRange

    A range in f64 with one weight above zero per control point; left out for a curve that is not rational.

    A range in f64 holding the distinct knots, rising.

    multiplicities: number[]

    How many times each knot repeats, one whole number above zero per knot.