Files

86 lines
2.3 KiB
Python

"""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_split,
image_to_3d,
image_upscale,
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_upscale, # img-upscale (4K image upscale)
image_split, # img-split (auto cutout / background removal)
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)
]