brepjs API Reference
    Preparing search index...

    Class CompoundBlueprint

    Represent a 2D profile with holes (an outer boundary minus inner cutouts).

    The first element of blueprints is the outer boundary; all subsequent elements are holes subtracted from it. CompoundBlueprint implements the same DrawingInterface as Blueprint, so it can be transformed, sketched, and serialized to SVG in the same way.

    • Blueprint for simple profiles without holes.
    • Blueprints for collections of disjoint profiles.

    Implements

    Index

    Constructors

    Properties

    _boundingBox: BoundingBox2d | null
    blueprints: Blueprint[]

    Ordered array where blueprints[0] is the outer boundary and the remaining entries are inner holes.

    Accessors

    Methods