Accessing face sets with Python

I’d like to write a script that can read and write face set indicies on a mesh (for sculpted face set groups), but as far as I can tell, this is not exposed through the Python API. I tried looking through the Blender source, but am finding it a bit overwhelming.

Is it possible to manipulate face sets via python, and if not, where would be a good place to start to try writing a patch for blender that would expose this through python?

Devs are working on it…

1 Like