In a previous post I mentioned future improvements for the blempy package, and the future is now 😀
I also moved the code to its own repository for easier maintenance, and created quite extensive documentation as well.
I am not going to reproduce all that text here, suffice to say that I implementated the unified attribute access I hinted at previously, so can for example transparently access vertex color data in a few lines of code:
proxy = blempy.UnifiedAttribute(mesh, "Color")
proxy.get()
for polygon_loops in proxy:
polygon_loops[:,:3] *= 0.5
proxy.set()
(This code will reduce the vertex color brightness by a half for all polygons in the mesh object)
Check the documentation for some more examples.
