brepjs API Reference
    Preparing search index...

    Function extension

    CSG IR — Constructive Solid Geometry as an Intermediate Representation.

    Build a content-addressed DAG of primitives, booleans, and transforms; parameterize via named expression bindings; evaluate against the active kernel with subtree-level cache reuse for incremental parametric edits.

    • A caller-defined operation, materialized at evaluation by the ExtensionEvaluator registered under name in EvaluatorOptions.extensions. Unlike the other builders this one validates eagerly and throws a TypeError: a node whose data cannot be hashed canonically has no content address.

      Parameters

      Returns ExtensionNode