PDA

View Full Version : trimesh position


dj_ogcn
01-13-2005, 02:22 PM
hi!

I spent a lot of time around the internet to find a way to get the position of a trimesh but there is nothing about that.
so i tried many things like "getProperty mesh #pos" " mesh.pos" "mesh.transform" and nothing work.
I need your help ! i just want to know how to get the position of a trimesh created on a scripted plugin with "setMesh mesh vertices:vp faces:fl "

i want the position because when I detach some faces , it put these at [0,0,0]
i use the function

tmp = meshop.detachFaces mesh #{229..600} delete:true asMesh:true
update mesh



emesh = Editable_mesh()

emesh.mesh = tmp



update emesh

please help me !!

CGTalk Moderation
01-20-2006, 10:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.