This addon serves as a bridge between Blender and the Ministry of Flat UV unwrapping tool, available at https://www.quelsolaar.com/ministry_of_flat/. It automates the process of exporting objects from Blender, unwrapping their UVs using Ministry of Flat, and reimporting the results back into Blender. The initial version for this addon was written in the article https://techracho.bpsinc.jp/ecn/2024_08_22/144348 by @techracho.
- Download the
.py
file for the addon. - Open Blender and go to
Edit > Preferences > Add-ons
. - Click
Install...
and select the downloaded.py
file. - Enable the addon by checking the box next to it.
- Select the path to Ministry of Flat executables directory.
- Select one or more objects in Blender.
- Go to the
Object
menu in the 3D Viewport. - Click
Unwrap in Ministry of Flat
to start the process. - The addon will export the objects, unwrap their UVs using Ministry of Flat, and reimport the results.
The addon provides several settings to customize its behavior:
- Description: The path to the folder containing the Ministry of Flat executable (
UnWrapConsole3.exe
). - Purpose: Specifies where the addon should look for the Ministry of Flat tool.
- Description: Guarantees that all hard edges are separated. Useful for lightmapping and normal mapping.
- Default:
True
- Purpose: Ensures clean UV seams for specific use cases like baking.
- Description: Automatically packs UV islands after unwrapping. This uses Blender's built-in UV packing functionality.
- Default:
True
- Purpose: Optimizes UV space usage by packing the islands efficiently.
- Description: Switches to UV editing mode after the process is complete.
- Default:
True
- Purpose: Allows you to immediately inspect the UV maps in the UV Editor.
- Export: The selected objects are exported to a temporary
.obj
file. - Unwrap: Ministry of Flat processes the
.obj
file and generates a new file with unwrapped UVs. - Import: The unwrapped objects are imported back into Blender.
- Copy UVs: The UV maps from the imported objects are copied to the original objects.
- Cleanup: Temporary files and imported objects are removed.
- Ministry of Flat: This addon relies on the Ministry of Flat tool, which must be downloaded and installed separately from https://www.quelsolaar.com/ministry_of_flat/.
- Blender Compatibility: The addon is designed for Blender 2.80 and above.
- Feedback: For questions or feedback, contact me on X (formerly Twitter): @rentaneko3d.
- Ministry of Flat: Developed by Quel Solaar.
- Inspiration: The initial version for this addon was written in the article https://techracho.bpsinc.jp/ecn/2024_08_22/144348.
- Developer: @rentaneko3d.
This addon is provided under the MIT License. Feel free to modify and distribute it as needed.