Files
make-cad/docs/skill/references/docs/api/DrawingMeasurements.md
T
liuyu 9caa2caa3a feat(drawing): integrate PDF reconstruction and evidence validation
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.
2026-09-11 13:36:27 +08:00

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 drawing then drawing.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.