360 Secure SkillHub
360 安全技能中心

multiview-fit-loop

面向 Blender 模型的多视角拟合闭环技能:按前/侧/背/顶模板渲染平面剪影,测量包围盒中心与尺寸漂移、质心偏移和剪影重合度并生成叠加报告,据此调整模型或配方后重复,直至硬性阈值通过;模板互相矛盾时输出冲突报告并停止宣称最终拟合。

RobLe3
热度 0.00
最近更新 2026-10-19 02:52:30
分类:创作依赖:MCP 服务 / 代码执行 / 读写文件应用场景:工作流 / 模板 / 报告撰写 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add roble3/cc-blender-skill/multiview-fit-loop
Metadata
name
multiview-fit-loop
description
Closed-loop compare-adjust-repeat workflow for fitting Blender models to supplied front/side/back/top templates and originals. Use when the user asks to compare the product to templates/originals and adjust until it fits across all dimensions, or when all views must pass measurable bbox/centroid/silhouette/edge validation before export.
allowed-tools
Read Bash Glob Grep mcp__blender__execute_blender_code mcp__blender__get_scene_info mcp__blender__get_object_info mcp__blender__get_objects_summary mcp__blender__get_object_detail_summary mcp__blender__render_viewport_to_path mcp__blender__search_api_docs mcp__blender_official__execute_blender_code mcp__blender_official__get_objects_summary mcp__blender_official__get_object_detail_summary mcp__blender_official__render_viewport_to_path mcp__blender_official__search_api_docs

MCP backend

Use when: Multi-view validation and iterative fitting against reference templates, all-dimension mascot/object reconstruction, front/side/back/top overlay reports, fit deltas, automated adjustment loops.

Before the first Blender call, read ../text-to-blender/references/mcp-backends.md. Prefer official MCP for shared capabilities; preserve the selected backend for the whole task. Tool names in recipes are client/legacy examples: map them through that reference and its agent-host guide.

Multiview Fit Loop

This skill closes the missing loop: render → compare → adjust → render again. It is mandatory when a user says the model still does not fit the templates/originals.

Required loop

  1. Render flat, material-independent silhouettes for every available template view: front, side, back, top.
  2. Extract the template object mask, excluding labels, cyan guides, and background.
  3. Compare template vs render per view:
    • bbox center and size
    • centroid drift
    • silhouette coverage/IoU where modality is valid
    • visual overlay
  4. Convert measured deltas into model/camera/recipe adjustments.
  5. Rebuild or transform the model.
  6. Repeat until all hard gates pass or document the remaining conflict.

Constraint inconsistency gate

Before forcing adjustments, check whether the supplied orthographic templates are mutually consistent. A single rigid 3D model cannot simultaneously satisfy contradictory physical ratios, for example if side view says total depth is 0.39 of height but top view says depth is 0.98 of width. When this occurs, stop claiming final fit, write a conflict report, and create separate variants or ask which view is canonical.

Hard gates

  • all required views have validation reports and overlays;
  • bbox center drift <= 1.5% of image width;
  • bbox size drift <= 3% for front, <= 5% for side/top/back first-pass depth;
  • structural part count exact;
  • texture UV regions still valid after geometry changes.

View mask rule

For annotated wireframes, choose a template mask mode that isolates the intended construction/object lines and excludes guide colors, labels, captions, and background annotations. For Blender validation renders, use a flat white silhouette on black, not beauty renders with glow/context elements.

Scripts

  • scripts/multiview_fit_report.py compares view pairs and writes JSON + overlays.

Adjustment rule

Prefer changing recipe parameters or source geometry over camera scale tricks. Camera scale may be used only after model dimensions are correct.