brepjs API Reference
    Preparing search index...

    Interface FilletCorner

    How a fillet closes the corner where three of its rounds meet at a vertex. The three rounds must be straight, of one radius, and between flat faces.

    interface FilletCorner {
        corner?: "g2" | "rolling";
        setbacks?: readonly { distance: number; edge: Edge }[];
        vertex: Vertex;
    }
    Index
    corner?: "g2" | "rolling"

    'rolling' (the default) closes the corner with a ball, or with a patch when set-backs are given. 'g2' closes it with a patch that holds each round's curvature.

    setbacks?: readonly { distance: number; edge: Edge }[]

    How far back from the vertex the round along each edge stops. Each distance reaches past where a rolling ball would stop the round, and stops short of the edge's far end.

    vertex: Vertex

    The vertex of the shape where the three rounds meet.