preview_generated_model
Check a 3D model for printability issues like floating geometry and thin walls by rendering multi-angle previews before printing.
Instructions
Specialized post-generation verification renderer. For general-purpose
model viewing, use visualize_model instead. This tool adds
generation-specific checks (floating geometry, thin walls) on top of
the standard multi-angle renders.
Render a 3D model to multi-angle PNG previews for visual inspection.
**REQUIRED** before printing any generated model. You MUST call this
tool after generating a model and BEFORE printing. View ALL rendered
angles to check for:
- Missing or simplified features (e.g., plain box instead of pattern)
- Incorrect proportions or dimensions
- Floating/disconnected geometry
- Thin walls that won't print
- Overhangs that need supports
- Non-manifold artifacts
- Bottom surface not flat (check bottom view for bed adhesion)
- Elephant's foot risk on first layer
**Required workflow:**
1. Call ``generate_model`` or ``generate_model_from_image``
2. **MUST** call ``preview_generated_model`` — view ALL angles
3. If the model doesn't match the request, regenerate with refined prompt
4. Call ``validate_generated_mesh`` for structural checks
5. Only then proceed to print
Args:
file_path: Path to an STL or 3MF file to render. Colored 3MF
files are rendered with per-face colors via the PIL-based
colored renderer; STL and colorless 3MF use OpenSCAD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |