compare_renders
Compare 2-4 3D models side by side in a single rendered image. Visual diff tool for design iterations, texture variants, and parameter sweeps.
Instructions
Render 2-4 models side by side in a single comparison image.
General-purpose visual diff tool — compare any 3D models at the same
camera angle in one image. Each model is rendered individually then
stitched together with labels.
**Use cases:**
- Texture or decoration variants (compare 3 pattern options)
- Design iterations (before vs after)
- Material color comparisons
- Parameter sweeps (small / medium / large)
Returns a single PNG image path that can be displayed inline.
Supports 2-4 models per comparison. When 4 models are provided
they are arranged in a 2x2 grid; otherwise a single row.
Args:
paths: 2-4 file paths (STL, 3MF, OBJ, or SCAD).
labels: Custom labels for each model. Defaults to A, B, C, D.
angle: Camera angle for all renders. One of ``isometric``,
``front``, ``right``, ``top``, ``bottom``, ``back``.
width: Per-model image width in pixels (default 800).
height: Per-model image height in pixels (default 600).
colors: Optional hex color per model (e.g. ``["#F72323", "#2323F7"]``).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| angle | No | isometric | |
| paths | Yes | ||
| width | No | ||
| colors | No | ||
| height | No | ||
| labels | No |