Difference between revisions of "Tutorial: Creating Unity Assets with SOLIDWORKS"

From CEED Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
With SOLIDWORKS, open an assembly file. Under ''File'', select ''Save As'' and under ''Save as type'', select .STL. Afterwards, press the ''Options'' button, and make sure that the option ''Save all components of an assembly in a single file'' is unchecked. You should now have a .STL file for each assembly part. Place all the .STL files into a single folder.   
 
With SOLIDWORKS, open an assembly file. Under ''File'', select ''Save As'' and under ''Save as type'', select .STL. Afterwards, press the ''Options'' button, and make sure that the option ''Save all components of an assembly in a single file'' is unchecked. You should now have a .STL file for each assembly part. Place all the .STL files into a single folder.   
  
==Importing .STL files into Blender ==
+
==Importing .STL files into Blender==
 
Open Blender, and delete the ''Camera, Cube,'' and ''Light'' on the right-hand side of the page by right-clicking on them, and pressing ''Delete''. Now, from the top left corner, press ''File, Import'' and ''Stl''. Navigate towards the folder that contains your .STL files. Once in the folder, CTRL + left-click all the .STL files, and finally click on ''Import STL.'' Once imported, the assembly will no longer have the textures or material appearances that were assigned to it in SOLIDWORKS. However, it is possible to assign new colors and/or textures to all the imported components using Blender.   
 
Open Blender, and delete the ''Camera, Cube,'' and ''Light'' on the right-hand side of the page by right-clicking on them, and pressing ''Delete''. Now, from the top left corner, press ''File, Import'' and ''Stl''. Navigate towards the folder that contains your .STL files. Once in the folder, CTRL + left-click all the .STL files, and finally click on ''Import STL.'' Once imported, the assembly will no longer have the textures or material appearances that were assigned to it in SOLIDWORKS. However, it is possible to assign new colors and/or textures to all the imported components using Blender.   
 
==Exporting to Unity==
 
==Exporting to Unity==
 
In Blender, from the top left corner, press ''File,'' and then ''Save''. Simply drag and drop the .blend file into Unity, where the assembly can now be used as an asset. If you wish to modify the asset, such as change its size or its appearance, simply open the .blend file and modify it using Blender.
 
In Blender, from the top left corner, press ''File,'' and then ''Save''. Simply drag and drop the .blend file into Unity, where the assembly can now be used as an asset. If you wish to modify the asset, such as change its size or its appearance, simply open the .blend file and modify it using Blender.

Revision as of 00:26, 23 June 2020

Exporting SOLIDWORKS Assemblies

With SOLIDWORKS, open an assembly file. Under File, select Save As and under Save as type, select .STL. Afterwards, press the Options button, and make sure that the option Save all components of an assembly in a single file is unchecked. You should now have a .STL file for each assembly part. Place all the .STL files into a single folder.

Importing .STL files into Blender

Open Blender, and delete the Camera, Cube, and Light on the right-hand side of the page by right-clicking on them, and pressing Delete. Now, from the top left corner, press File, Import and Stl. Navigate towards the folder that contains your .STL files. Once in the folder, CTRL + left-click all the .STL files, and finally click on Import STL. Once imported, the assembly will no longer have the textures or material appearances that were assigned to it in SOLIDWORKS. However, it is possible to assign new colors and/or textures to all the imported components using Blender.

Exporting to Unity

In Blender, from the top left corner, press File, and then Save. Simply drag and drop the .blend file into Unity, where the assembly can now be used as an asset. If you wish to modify the asset, such as change its size or its appearance, simply open the .blend file and modify it using Blender.