[Bf-python] BMesh API

Treyer Lukas treyer at arch.ethz.ch
Wed Apr 24 14:05:21 CEST 2013


I've think I want to store Vectors. I could pack them into a float

and store them in 4 layers, as suggested (maybe as int's). Instead

of max/min I would need the corners of the bounding rectangle.

TL,TR,BL,BR

Of course it would be much easier to write

face.calc_center_bounds()

which would store its bounds in face.bounds ;-)

Then also the precision of my coordniates would be 2^32 instead of 2^8…

Or would you suggest to store 12 layers??


> Couldn't you add 4 faces.layers.float (vmax, vmin,hmax, hmin) ?





More information about the Bf-python mailing list