vendor_fabric.meshy.rigging¶
Rigging API - add skeletons to models.
Usage: from vendor_fabric.meshy import rigging
result = rigging.rig(model_task_id)
Module Contents¶
Functions¶
Create rigging task. Returns task_id. |
|
Get task status. |
|
Poll until complete or failed. |
|
Rig a model for animation. |
|
Rig a model from URL. |
API¶
- vendor_fabric.meshy.rigging.create(request: vendor_fabric.meshy.models.RiggingRequest) extended_data.containers.ExtendedString¶
Create rigging task. Returns task_id.
- vendor_fabric.meshy.rigging.get(task_id: str) extended_data.containers.ExtendedDict¶
Get task status.
- vendor_fabric.meshy.rigging.poll(task_id: str, interval: float = 5.0, timeout: float = 600.0) extended_data.containers.ExtendedDict¶
Poll until complete or failed.
- vendor_fabric.meshy.rigging.rig(model_task_id: str, *, height_meters: float = 1.7, wait: bool = True) extended_data.containers.ExtendedDict | extended_data.containers.ExtendedString¶
Rig a model for animation.
Args: model_task_id: Task ID of model to rig height_meters: Character height (affects bone scaling) wait: Wait for completion (default True)
Returns: Extended result payload if wait=True, extended task_id if wait=False.
- vendor_fabric.meshy.rigging.rig_from_url(model_url: str, *, height_meters: float = 1.7, texture_url: str | None = None, wait: bool = True) extended_data.containers.ExtendedDict | extended_data.containers.ExtendedString¶
Rig a model from URL.
Args: model_url: URL to GLB model height_meters: Character height texture_url: Optional texture image URL wait: Wait for completion (default True)
Returns: Extended result payload if wait=True, extended task_id if wait=False.