mat_hub
Manage, create, assign, and save 3ds Max materials and libraries through one consolidated interface for material slots, properties, textures, and object assignment.
Instructions
材质管理、创建、赋材质与材质库综合中枢工具(聚合 29 项材质功能):材质列表/详情/对象材质查询、材质编辑器槽位读写、赋材质(mat_assign)、设置任意属性/漫反射/PBR/高光/不透明度/自发光/多维子材质、重命名/删除/克隆、贴图槽位读写、创建 Standard/Physical/Arnold/VRay/Corona/FStorm/MultiSub/Blend/Shellac/Generic 材质、以及材质库加载与保存(mat_library_load/mat_library_save)。 [English] Consolidated material inventory, creation, assignment & library hub (29 actions): mat_list/get/get_for_object/slots/set_slot/assign/set_property/set_diffuse/set_pbr/set_specular/set_opacity/set_emission/set_sub_material/rename/delete/duplicate/set_map_slot/get_map_slot, all mat_create_* tools, and mat_library_load/save.
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": {
"action": "<action>"
},
"name": "mat_hub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 要执行的子命令名称(必选)。可选值见 enum 列表。 | Sub-command action to execute (required). Pick one from the enum list. | |
| params | No | 传递给该 action 子命令的参数键值对象(例如 {"name":"Box001","length":10})。 | Parameter key-value object forwarded to the chosen action (e.g. {"name":"Box001","length":10}). |