import_mesh
Imports loose OBJ or FBX models into Daz Studio at the correct scale without the importer dialog, returning the new node, its size, and surfaces for clothing workflows.
Instructions
Imports a loose OBJ or FBX model (Sketchfab, CGTrader, Blender, a package's meshes) into the scene with the right size, without the importer dialog. Returns the new node, its size in cm and its surfaces. Clothing modeled for a figure then goes through wearable_from_mesh.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "import_mesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of an .obj or .fbx file. | |
| take | No | FBX: animation take to import. | |
| label | No | Label for the imported node. | |
| units | No | Units the file is in. auto: OBJ is guessed from its size, FBX uses the units stored in the file. | auto |
| height | No | Scale it uniformly to this height in cm (e.g. 180 for a person). | |
| options | No | Extra importer settings (advanced). | |
| up_axis | No | OBJ only: Z for Z-up files that import lying down. | Y |
| position | No | [x, y, z] cm. | |
| drop_to_floor | No | Put its lowest point on the floor. Leave off for clothing modeled around a figure. |