Originally posted in Big Sculpt Thread but I don’t want it to get lost so I’m making a new thread.
Based on the ‘hack’ by @gakgu I wrote a little Python script that generates various things from sculpt face sets.
Fundamentally what this add-on does is give you the ability to paint face groups whenever you might need it: for separating mesh by materials, geometry nodes, UV unwrapping and etc. It’s up to your imagination.
-
Face Sets to Materials
This is the original functionality by gakgu. It creates material slots for each face set, assigns faces from Face Set and gives random color. -
Face Sets to UV
Creates UV islands from face sets, or just seams. There is an option to use custom-set seams with face set boundaries too. It is basically “Draw UV Islands” tool.
- Face Sets to Vertex Groups
Converts Face Sets to Vertex Groups. Every vertex inside the Face Set is assigned to the group with the weight of 1. Could be a quick way to batch create vertex groups by painting them on the surface.
- Face Sets to Attribute
Until Face Set support is added to the Geometry Nodes this can be used. It creates integer named attribute in which each face set is assigned a different value. But of course no real-time updates. If you change face sets you have to recreate the attribute.
Feel free to throw ideas at me. And share what you create if you use those features.