Bitbybit Docs
    Preparing search index...

    Interface RecipeBrepBSplineSurfaceBeta (Inputs.Base)

    A B-spline surface, rational when it has weights. Its control points form a net of uCount rows of vCount points, row by row, as STEP's list of lists does.

    interface RecipeBrepBSplineSurface {
        kind: "bspline";
        uDegree: number;
        vDegree: number;
        uCount: number;
        vCount: number;
        points: RecipeRange;
        weights?: RecipeRange;
        uKnots: RecipeRange;
        uMultiplicities: number[];
        vKnots: RecipeRange;
        vMultiplicities: number[];
    }
    Index

    Properties

    kind: "bspline"

    Always bspline.

    uDegree: number

    The degree along u, from 1 to 25.

    vDegree: number

    The degree along v, from 1 to 25.

    uCount: number

    How many rows of control points there are along u.

    vCount: number

    How many control points each row holds, along v.

    points: RecipeRange

    A range of x, y, z triples in f64: uCount times vCount control points.

    weights?: RecipeRange

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

    uKnots: RecipeRange

    A range in f64 holding the distinct knots along u, rising.

    uMultiplicities: number[]

    How many times each knot along u repeats; they add up to uCount plus uDegree plus one.

    vKnots: RecipeRange

    A range in f64 holding the distinct knots along v, rising.

    vMultiplicities: number[]

    How many times each knot along v repeats; they add up to vCount plus vDegree plus one.