Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to import solidworks files into unity as assets?

I'm attempting to program a simple chess game using the unity game engine. However, I can't work out how to import the assets that I've created in Solidworks into Unity.

Is it possible to do?

like image 511
Persistence Avatar asked Oct 27 '15 19:10

Persistence


People also ask

Can I import SolidWorks into Unity?

As a rule of thumb, when you're importing SolidWorks STEP files into Unity, it's best to keep the total number of meshes in your scene to 2000. This is because shaders, textures, material and lighting in your meshes all quickly add up in your project and make it difficult to render in Unity.

Can you import CAD models into Unity?

To import 3D CAD data into Unity, you can use the following options: Prepare your CAD data into the formats natively supported by Unity and import it using Unity itself.

How do I insert a model into Unity?

To import a 3D model into Unity you can drag a file into the project window. In the inspector > Model tab Unity supports importing models from most popular 3D applications.


1 Answers

SolidWorks files tend to describe parametric geometry, such as NURBs, but most game engines prefer to work with raw polygons.

Unity has direct support for the following model formats: FBX, OBJ, DAE, 3DS.

SolidWorks can export to STL format, which other programs should be able to convert to OBJ, DAE, and/or FBX. Recommending a specific tool is beyond the scope of Stack Overflow, but I know that such tools exist. I recommend searching terms such as "stl to obj conversion".

These sorts of headaches are fairly common with 3D assets, since so many programs use customized file formats.

like image 58
rutter Avatar answered Oct 25 '22 03:10

rutter