Files
make-cad/docs/api/compare_sections_rdescriptor.md
T
2026-08-15 14:18:07 +08:00

714 B

compare_sections_rdescriptor

API Definition

def compare_sections_rdescriptor(target: ModelInput, current: ModelInput, plane_origin: Sequence[float], plane_normal: Sequence[float], *, tolerance: float = 1e-07, samples_per_edge: int = 32) -> dict[str, Any]

Source: inspect/brep/diagnostics.py

Import Surface

  • inspection namespace: from simplecadapi.inspect import brep then brep.compare_sections_rdescriptor(...); unavailable inside GraphSession/@model

Description

Compare target and current contour geometry on one physical plane.

Empty results use a bounded OCP shape-plane intersection, sized from the root bounds, to distinguish true emptiness from dropped section edges.