[Bf-python] BMesh API

Treyer Lukas treyer at arch.ethz.ch
Tue Apr 23 20:17:16 CEST 2013


Ah, it is me who should write the C code! Sorry for not getting it in the first place!… I have never written anything in C before. But am I getting it right? You want to reference python data in the C-type, right? But how is this possible then?:

bpy.types.MeshPolygon.custom = "custom"

would it be possible to extend the bmesh wrapper in a way that custom data assignment would be as simple as above? Possibly with some automatic translation to a pointer in C, if necessary?




More information about the Bf-python mailing list