简体   繁体   English

导入与C#代码统一的.step文件?

[英]Import a .step filein unity with C# code?

I would like to import a file ".step" to use it with unity 2018.3.1f1 but I don't know how to do it I didn't found any topic. 我想导入文件“ .step”以将其与unity 2018.3.1f1结合使用,但我不知道该怎么做,但未找到任何主题。 Any one could help me please ? 有人可以帮我吗?

.step is a cad file, right? .step是cad文件,对不对? This isn't supported by unity out of the box. 开箱即用不支持此功能。 You may need to buy an asset store plugin to open cad files, or roll your own importer. 您可能需要购买资产商店插件才能打开cad文件,或滚动自己的进口商。 You would need to read up on the file format and build a new mesh based on interpretation of the file format. 您将需要阅读文件格式并根据文件格式的解释构建新的网格。

Documentation on building a mesh from scratch: https://docs.unity3d.com/Manual/GeneratingMeshGeometryProcedurally.html 从头开始构建网格的文档: https : //docs.unity3d.com/Manual/GeneratingMeshGeometryProcedurally.html

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

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