Files
make-cad/docs
NiJingzhe 8261a28545 feat(render): multi-view screenshots with tags, callouts, legend and axes
render_screenshot_rpath now defaults to a multi-view grid instead of a
single view: one PNG with a panel per SCREENSHOT_VIEWS entry (isometric,
top, front, side), carrying the same highlight-tag color groups, callout
labels (2-D leader-line style, projected per panel), legend and — new
for the grid engine — per-panel axis triads.

- The multi-view grid engine (_render_polydata_views[_in_process])
  gains show_axes: a vtkAxesActor per panel, sized from the visible
  bounds, forwarded through the macOS render worker protocol.
- _render_sdk_screenshot_rpath keeps all of its view-independent
  tag-to-group / callout-anchor / legend computation and routes through
  the grid engine when views is provided; image_size (pixels) maps to
  inches*dpi=100 so pixel dimensions are preserved.
- Public API: new views parameter; default (view='auto') resolves to
  SCREENSHOT_VIEWS; an explicit view keeps the legacy single-view path
  unchanged. zoom only applies to the single-view camera.
- render_shape_views_rpath is unchanged: it remains the raw-TopoDS_Shape
  entry for the STEP inspection family; both entries now share one grid
  engine with identical annotation capabilities.

BEHAVIOR CHANGE: the default output of render_screenshot_rpath switches
from a single-view image to the 4-panel grid. Callers passing an
explicit view are unaffected.

ty: no new diagnostics (1043 before and after). Auto-doc pages
regenerated. Full suite: 1432 passed, 5 skipped (7 new tests: wiring,
custom views, legacy single-view routing, two real renders, constant
shape, empty-views rejection).
2026-09-04 03:52:21 +08:00
..