简体   繁体   English

将 .glb 文件从 Solidworks 导入 Unity

[英]Import .glb file into Unity from Solidworks

Using the following documentation , I was able to export a solidworks file into both .glb or .gltf file formats.使用以下文档,我能够将 Solidworks 文件导出为 .glb 或 .gltf 文件格式。 According to the Solidworks documentation you should be able to then import these 3D models into Unity.根据 Solidworks 文档,您应该能够将这些 3D 模型导入 Unity。

When I go into the Unity assets folder and click import new asset, the file won't even show up in the dialog.当我进入 Unity 资产文件夹并单击导入新资产时,该文件甚至不会出现在对话框中。 Is there some special workflow I need to do in order to import .glb or .gltf files into Unity?为了将 .glb 或 .gltf 文件导入 Unity,我需要做一些特殊的工作流程吗?

Am I missing something or is the Solidworks documentation incorrect?我是否遗漏了什么或 Solidworks 文档不正确?

I can drag the file into the assets window but it is unusable in the project.我可以将文件拖到资产窗口中,但在项目中无法使用。 在此处输入图片说明

All I want to be able to do is view this solid works 3D file within Unity.我想要做的就是在 Unity 中查看这个实体 3D 文件。 Eventually I want to be able to view the 3D object on my HTC Vive.最终我希望能够在我的 HTC Vive 上查看 3D 对象。

Unity supports .FBX files the best. Unity 最好地支持 .FBX 文件。 I am not a user of Solidworks myself but i heard that this plugin could help you export .FBX models from Solidworks: https://www.simlab-soft.com/3d-plugins/SolidWorks/fbx_exporter_for_SolidWorks-main.aspx我自己不是 Solidworks 的用户,但我听说这个插件可以帮助您从 Solidworks 导出 .FBX 模型: https ://www.simlab-soft.com/3d-plugins/SolidWorks/fbx_exporter_for_SolidWorks-main.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM