【问题标题】:Assimp Command Line to Convert OBJ file to SLTAssimp 命令行将 OBJ 文件转换为 SLT
【发布时间】:2016-01-10 13:35:14
【问题描述】:

我需要能够使用 Assimp 将 OBJ 文件导入 SLT。

我发现有人能够将 OBJ 文件导出为 JSON。

    assimp2json.exe assimp2json seaknight.obj seaknight.json

(is it possible to run assimp commandline tool with the php)

我需要能够这样做:

  assimp darkwader.obj drakwader.slt

所以,我可以在我的 3d 打印机上打印。

以下是导入和导出的 3D 文件格式的完整列表: https://github.com/assimp/assimp

【问题讨论】:

    标签: command-line 3d 3dsmax assimp


    【解决方案1】:

    试试assimp export darkwader.obj drakwader.slt

    【讨论】:

    • @Dima_Stebaev 如何编译这段代码? assimp 应用程序位于哪个文件夹?
    • @user914425 你用的是 Linux 还是 Windows?
    • @Dima_Stebaev 我有 Mac OSX 10.11 和 Windows 7 机器。我正在尝试编译它。之后我想让它在 Linux Centos 上运行。
    • @user914425 你可以从这里下载 Windows 二进制文件sourceforge.net/projects/assimp/files/assimp-3.1 但是如果你想在 Linux 上使用 assimp,你必须为 Linux 构建它。 git clone https://github.com/assimp/assimp.git cd assimp cmake CMakeLists.txt -G 'Unix Makefiles' make 二进制文件将位于bin/ 文件夹中。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-07-14
    • 2016-11-01
    • 1970-01-01
    • 2016-04-16
    • 2016-09-06
    • 1970-01-01
    • 2019-04-18
    相关资源
    最近更新 更多