3d-model-converter 中文文档教程
3d-model-converter
使用 CLI 的 3d 模型转换器
Installing
$ npm install 3d-model-converter -g
Usage
$ 3d-model-converter -i <import file path> -o <export dir path> -t <target>
$ 3d-model-converter -i model.obj -o ./export -t gltf
$ 3d-model-converter -i model.obj -o ./export -t gltf -b #this will export glb
Supported formats
Import
- FBX
- OBJ
- CTM
Export
- GLTF (ascii, binary)
- OBJ
- PLY (ascii, binary)
- STL (ascii, binary)
- USDZ
3d-model-converter
3d model converter using CLI
Installing
$ npm install 3d-model-converter -g
Usage
$ 3d-model-converter -i <import file path> -o <export dir path> -t <target>
$ 3d-model-converter -i model.obj -o ./export -t gltf
$ 3d-model-converter -i model.obj -o ./export -t gltf -b #this will export glb
Supported formats
Import
- FBX
- OBJ
- CTM
Export
- GLTF (ascii, binary)
- OBJ
- PLY (ascii, binary)
- STL (ascii, binary)
- USDZ