9caa2caa3a
Add the drawing inspection namespace and its parser, calibration, section and independent acceptance dependencies on the current dev architecture. Protect input BREP during material fusion and sectioning. Bind dimensions, annotations and visual reviews to source identities and measured geometry. Connect the workflow and generated API docs to all seven skill build targets. Make standalone verifier tests work with the pytest console entry point. Validation: 186 drawing, documentation, skill-target and public API tests; 16 non-render BREP query tests; compileall and skillbuild --check.
729 B
729 B
DrawingMeasurements
Class Definition
class DrawingMeasurements(measurement_count: int, scale_mm_per_pt: float | None, measurements: list[dict[str, Any]])
Source: inspect/drawing/calibrate.py
Import Surface
- drawing-inspection namespace:
from simplecadapi.inspect import drawingthendrawing.DrawingMeasurements(...); unavailable inside GraphSession
Description
Point-pair and stroke-length measurements with optional mm conversion.
Every entry keeps its native length_pt; length_mm is populated
only when a calibration is supplied. Millimetre values derived here are
〔推算〕-grade claims: they must be cross-checked against annotated
dimensions before they harden into facts.