tripocli v2.0.0:Tripo AI 3D 生成与加工 CLI(面向 Agent 与开发者,纯 Python 标准库、零第三方依赖)
覆盖文生 3D、图生 3D、多视图、批量生成,以及重拓扑、绑定、动画、智能分割、 纹理、PBR、智能 UV、部件补全、格式导出与下载。 代码组织:一个功能一个模块(tripo/features/),入口薄壳 tripocli.py。
This commit is contained in:
commit
977f97995a
60 files changed
+5622
No files matched your search
@@ -0,0 +1,81 @@
|
||||
"""Feature registry.
|
||||
|
||||
Every Tripo capability is one module in this package. A module declares
|
||||
``NAME``, ``HELP``, ``add_arguments(parser)`` and ``run(ctx)``; ``cli.py`` wires
|
||||
them into the argparse tree. Adding a capability means adding one file and one
|
||||
line here.
|
||||
"""
|
||||
|
||||
from . import (
|
||||
account,
|
||||
account_mgmt,
|
||||
animate,
|
||||
assets,
|
||||
batch,
|
||||
cancel,
|
||||
config_cmd,
|
||||
download,
|
||||
export_model,
|
||||
fill_parts,
|
||||
image_assets,
|
||||
image_gen,
|
||||
image_multiview,
|
||||
image_to_3d,
|
||||
import_model,
|
||||
inspect_model,
|
||||
mesh_edit,
|
||||
multiview,
|
||||
motion,
|
||||
optimize_model,
|
||||
pbr,
|
||||
project,
|
||||
remesh,
|
||||
rename,
|
||||
rigging,
|
||||
segmentation,
|
||||
serve,
|
||||
stylize,
|
||||
task,
|
||||
text_to_3d,
|
||||
texture,
|
||||
texture_upscale,
|
||||
update,
|
||||
uv,
|
||||
)
|
||||
|
||||
MODULES = [
|
||||
account_mgmt, # account add/list/use/remove/show
|
||||
serve, # serve (local account UI)
|
||||
account, # balance / whoami / quota
|
||||
assets, # assets
|
||||
text_to_3d, # text
|
||||
image_gen, # img (text to image)
|
||||
image_assets, # imgs (list image assets)
|
||||
image_multiview, # imgmv (one image -> 4 views)
|
||||
image_to_3d, # image
|
||||
import_model, # import (upload own glb/obj/fbx/stl)
|
||||
mesh_edit, # edit (local_edit on Nexus mesh)
|
||||
multiview, # multiview
|
||||
batch, # batch
|
||||
cancel, # cancel (cancel a running op)
|
||||
remesh, # remesh
|
||||
rigging, # rig
|
||||
animate, # animate
|
||||
motion, # motion (text to motion)
|
||||
segmentation, # segment
|
||||
stylize, # stylize (3D 风格化)
|
||||
texture, # texture
|
||||
texture_upscale, # upscale
|
||||
pbr, # pbr
|
||||
uv, # uv
|
||||
fill_parts, # fill
|
||||
export_model, # export
|
||||
download, # download
|
||||
inspect_model, # inspect (local GLB game stats & diagnostics)
|
||||
optimize_model, # optimize (local decimate / draco / LODs)
|
||||
task, # task
|
||||
project, # project
|
||||
rename, # rename (update_name)
|
||||
config_cmd, # config
|
||||
update, # update (self-update from source tree)
|
||||
]
|
||||
Reference in new issue
Block a user