https://github.com/James-Frowen/merge-mesh-unity
Custom editor window unity to merge and export mesh
https://github.com/James-Frowen/merge-mesh-unity
export-mesh merge-mesh unity unity-editor
Last synced: about 1 year ago
JSON representation
Custom editor window unity to merge and export mesh
- Host: GitHub
- URL: https://github.com/James-Frowen/merge-mesh-unity
- Owner: James-Frowen
- License: mit
- Archived: true
- Created: 2018-01-04T11:58:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-08T16:00:34.000Z (about 8 years ago)
- Last Synced: 2024-11-10T21:40:05.017Z (over 1 year ago)
- Topics: export-mesh, merge-mesh, unity, unity-editor
- Language: C#
- Size: 468 KB
- Stars: 37
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Merge Mesh in Unity3d
Custom editor window unity to merge and export mesh.
# Install
Copy code from the source folder to Assets folder in unity project.
# How to use
This tool editor tool has 2 uses: merge multiple mesh into 1 mesh and export mesh to .obj.
## Merge mesh
For this example I have created a room made out of multiple Quads. *(Note the order in the hierarchy is not important)*

Add the `Mesh Filter` of the objects you want to merge. Using the `add to list` button will add all selected `Mesh Filter`.

The `merge mesh` button will merge the mesh and open a window to save the mesh asset file for unity to use.

After the mesh has been merged, an object using the new mesh will be added to the scene and all of the old objects will be disabled.

## Export mesh
To export the Mesh as an `.obj` file select the `GameObject` in the scene and press the export button. A window will open for the save location.

Once the object has been exported it can be used by other 3d viewer and editors.

# Bugs?
If you find a bug while using the tool or just have a suggestion please create a new issue on github or tweet [@JamesFrowenDev](https://twitter.com/JamesFrowenDev)