- Added a new cutout tool for selecting regions in images, allowing users to choose mesh shapes based on selected areas. - Introduced depth generation capabilities for rasterized images, including normal data extraction. - Created jobs for generating depth planes and region data, enhancing the AI data generation workflow. - Developed a selection refinement process for cutout regions, improving accuracy in generated outputs. - Established a new region module for handling rasterized image regions and their associated AI generation tasks. - Enhanced node graph builders for asset generation, facilitating smoother integration of new features.
1.6 KiB
1.6 KiB
Operator 实现索引
src/anyimage/operators/ 负责 Blender 侧交互、Job 请求组装和结果导入。内部实现按完整功能包或顶层业务模块拆页;common/ 的边界见程序架构,实际公开入口见Common 公共函数。
| Operator 路径 | 实现页 | 主要职责 |
|---|---|---|
operators/__init__.py |
本页 | 汇总 Blender 类型注册顺序 |
operators/ai_setup.py |
AI 环境管理 | 环境安装、模型下载与缓存释放 |
operators/clipboard_image/ |
Clipboard Image | 系统剪贴板读取、粘贴与快捷键 |
operators/convert_to_plane/ |
Convert to Plane | Mesh Plane 与 Depth Plane 创建 |
operators/cutout_tool/ |
Cutout Tool | Region 选择、基础 Shape 构建与 Blender 对象创建 |
operators/debug.py |
Debug Operator | 模型接口与原始产物验证 |
operators/image_tool/ |
Image Tool | Box、Lasso、Line 与 Polyline 编辑 |
operators/perspective_tool/ |
Perspective Tool | 四点透视框与透视校正 |
operators/remove_background.py |
Remove Background | BEN2 去背与结果替换 |
operators/upscale.py |
Upscale | 当前 Image 的 4× 高清与输入长边检查 |
operators/__init__.py 只聚合注册类,不承载独立业务流程。具体类的注册和逆序注销由扩展入口统一管理,整体边界见程序架构。