Bitbybit Docs
    Preparing search index...

    Interface VoronoiBeamPiece (Models.OCCT)

    One piece patterns.voronoi.beams2d or patterns.voronoi.beams3d built: a beam or the sphere at a node.

    interface VoronoiBeamPiece {
        strut?: number;
        node?: number;
        radius: number;
        seeds: number[];
        walls: number[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    strut?: number

    For a beam, its position in the report's struts; left out for a sphere.

    node?: number

    For a sphere, its node's position in the report's nodes; left out for a beam.

    radius: number

    The beam's or the sphere's radius.

    seeds: number[]

    The seeds whose cells the piece belongs to or lies between, as positions in the seed list: the one cell of a face, solid or hole; the cells either side of an edge or face; every cell round an edge in space; or the seeds a Delaunay edge or triangle joins.

    walls: number[]

    The walls the piece lies on: the face's edges, numbered as shapes.edge.getEdges numbers them, or the solid's faces, numbered as shapes.face.getFaces numbers them. Empty for a piece inside.