MCPcopy Create free account
hub / github.com/VAST-AI-Research/tripo-python-sdk / refine_model

Method refine_model

tripo3d/client.py:1102–1124  ·  view source on GitHub ↗

Refine an existing 3D model. Args: draft_model_task_id: The task ID of the draft model to refine. Returns: The task ID. Raises: TripoRequestError: If the request fails. TripoAPIError: If the API returns an error.

(
        self,
        draft_model_task_id: str
    )

Source from the content-addressed store, hash-verified

1100 return await self.create_task(task_data)
1101
1102 async def refine_model(
1103 self,
1104 draft_model_task_id: str
1105 ) -> str:
1106 """
1107 Refine an existing 3D model.
1108
1109 Args:
1110 draft_model_task_id: The task ID of the draft model to refine.
1111
1112 Returns:
1113 The task ID.
1114
1115 Raises:
1116 TripoRequestError: If the request fails.
1117 TripoAPIError: If the API returns an error.
1118 """
1119 task_data = {
1120 "type": "refine_model",
1121 "draft_model_task_id": draft_model_task_id
1122 }
1123
1124 return await self.create_task(task_data)
1125
1126 async def check_riggable(
1127 self,

Callers

nothing calls this directly

Calls 1

create_taskMethod · 0.95

Tested by

no test coverage detected