capture_views
Render the active part or assembly to PNG images for visual verification. Supports standard views and optional section cuts to reveal internal features.
Instructions
Render the active part or assembly to PNG for visual verification.
Privacy warning: the connected MCP client decides where returned image content is sent. A hosted model provider may receive these screenshots. Pixels are not redacted and may contain confidential geometry, logos, file names, or part numbers. Review the client's data policy before using this tool with sensitive models.
Cadence — render at CHECKPOINTS and at the END of a build, not after
every feature: each call is one image per view (heavy tokens). Between
features trust the cheap signals (mutator receipt.feature_count,
batch summary); a final render before declaring a part done is
mandatory (or bundle it via verify_build_report capture_view_names).
Per-feature renders are for debugging a flaky build.
Args: views: subset of ["iso", "front", "top", "right", "trimetric"]. Default (None) = ["iso", "front", "top", "right"]. Unknown view name → ValueError (fail fast, no silent default). with_dims: accepted but a v1 NO-OP (dimension-annotation overlay needs a much larger surface). The param exists so the signature is stable. TODO(with_dims). section: optional {"plane": "front"|"top"|"right" (or Spanish UI name), "offset_mm": float} — render each view through a graphics CUT PLANE so INTERNAL cuts the outer silhouette hides (pockets, banded/saddle cuts, bores) become visible. offset_mm is signed from the standard plane (0 = through origin). Use this to diff against a drawing's SECTION view. Standard projections cannot show an occluded internal cut; for a purely internal feature an iso render proves nothing — also confirm it via list_faces.
Returns a list: one inline image per requested view, followed by a summary
dict with the resolved
views, the local PNG paths, with_dims, and a privacy note.
Caveat: requires a part open in SolidWorks. Image bytes are NOT name-redacted (see ADVERTENCIA). Temp PNGs live in the OS temp dir and are read lazily when the result is serialized — they are not deleted by this tool.
Example — verify a base plate before drilling: extrude_sketch(25.0) capture_views(views=["iso", "front"]) # eyeball it get_bounding_box() # confirm extents
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| views | No | ||
| section | No | ||
| with_dims | No |