845 B
845 B
SectionEvaluationConfig
Class Definition
class SectionEvaluationConfig(section_id: str, origin: tuple[float, float, float], normal: tuple[float, float, float], tolerance: float = 1e-07, samples_per_edge: int = 16, require_nonempty: bool = True, max_hausdorff: float = 0.1, max_relative_area_error: float = 0.01)
Source: inverse_engineer/brep/evaluation.py
Import Surface
- reverse-engineering evaluator:
from simplecadapi.inverse_engineer.brep import SectionEvaluationConfig
Description
One bounded section gate used by trusted reconstruction evaluation.
Coordinates, tolerances, and Hausdorff limits are millimetres; area error is
a dimensionless ratio. samples_per_edge is an integer sample count and
require_nonempty is strictly boolean. Section IDs must be unique within
an EvaluationConfig.