152bbf3432
- operators/: _support + geometry/features/boolean/transform/selection/sketch/product - product/: semantic value model, solver, occurrence, packages, capture - topology/: model, tagging, tracking, autotag (package re-exports model symbols) - params/: units, expr, tolerance, frame - recording/: graph, serializer, source_mapping - _internal/: canonical_json, vendor_warning_filters, semantic, mesh, brep_region Root shrinks from 46 to 7 modules. Drop the legacy geometry/boolean/transform/ selection monolith copies and the operations.py facade; unified operator exports now live in operators/__init__ with monkeypatch mirroring preserved. Remove the legacy evolve generators and their example/tests/docs. Import paths for simplecadapi.topology keep working via package re-export; update all in-repo consumers, tests, tools/auto_docs_gen source tables, and regenerate the skill API reference docs.
460 B
460 B
export_graph_json
API Definition
def export_graph_json(graph: OperationGraph, indent: int = 2) -> str
Source: recording/serializer.py
Import Surface
- top-level:
from simplecadapi import export_graph_json
Description
Export an OperationGraph to a JSON string.
Parameters
graph
- Description: The graph to export.
indent
- Description: JSON indentation level.
Returns
JSON string representation.