[Bf-python] envalope assignment

Campbell Barton cbarton at metavr.com
Wed Dec 20 14:49:48 CET 2006


Heres a script that may replace the existing

http://members.optusnet.com.au/cjbarton/weightpaint_envelope_assign.py

Poster here too for users to review.
http://blenderartists.org/forum/showthread.php?p=772815#post772815

* uses a group for envelope objects
* handles non mesh data
* real point-in-mesh function that works for complex shapes
* Uses Mesh not NMesh
* no ApplySizeRot problems

- Cam

Campbell Barton wrote:
> envelope_assignment.py scrpt needs updating
> I cant find Jonas Petersen's email, It would be nice to have the 
> scripts mostly working for 2.43
>
> the problems at the moment are;
> * uses all scene objetcs
> * wont work if applySizeRot isnt applied
> * method for vertex inside detection looks like it only works  for 
> convex shapes, Iv written a functon we could replace this with in 
> BPyMesh which can to a test if a points insude a mesh using ray 
> intersections.
>
> Id liek to update the script and move over to the Mesh API if Jonas 
> Petersen cant.
>
> - Cam
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241




More information about the Bf-python mailing list