Linux command
assimp 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Convert
assimp export [input.fbx] [output.obj]
Show
assimp info [model.fbx]
Example
assimp listext
Example
assimp listexport
Example
assimp knowext [fbx]
Example
assimp extract [model.fbx]
Dump
assimp dump [model.fbx] [output.assxml]
Example
assimp [export] --help
说明
assimp is the command-line interface for the Open Asset Import Library. It supports import and export of numerous 3D file formats, including OBJ, FBX, COLLADA (.dae), glTF/glTF2 (.gltf, .glb), STL, 3DS, PLY, X3D, and many more. The tool can convert between formats, display model information, extract embedded textures, and dump model structures for debugging. Use `assimp <verb> --help` for detailed help on each subcommand.
参数
- export _input_ _output_
- Convert a 3D model between file formats.
- info _file_
- Display statistics and structure of a 3D model.
- listext
- List all known import file extensions.
- listexport
- List all supported export formats.
- knowext _extension_
- Check whether a file extension is recognized by Assimp.
- extract _file_
- Extract an embedded texture from a model.
- dump _file_ _output_
- Convert a model to binary or XML dumps (ASSBIN/ASSXML).
- cmpdump _file1_ _file2_
- Compare two file dumps produced with assimp dump.
- version
- Display Assimp version information.
- help
- Show help message.
FAQ
What is the assimp command used for?
assimp is the command-line interface for the Open Asset Import Library. It supports import and export of numerous 3D file formats, including OBJ, FBX, COLLADA (.dae), glTF/glTF2 (.gltf, .glb), STL, 3DS, PLY, X3D, and many more. The tool can convert between formats, display model information, extract embedded textures, and dump model structures for debugging. Use `assimp <verb> --help` for detailed help on each subcommand.
How do I run a basic assimp example?
Run `assimp export [input.fbx] [output.obj]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does export _input_ _output_ do in assimp?
Convert a 3D model between file formats.