1/ use the first
script to make an exact copy
with the same number
of vertices. really needed, no
other possible choise. |
2/ select the new mesh and after the first
one. So,
the original is the
active mesh |
3/ go to the frame where you want to transfer
the rvk |
4/ put the mose upon the text window and
do alt-p.
The rvk state (all positions of vertices)
of the active
selected object is inserted as a
new rvk in the second
of the select list. |
The actual scripts work fine. If
you copy them in the
.blender/scripts directory,
with a little luck, they will
appear in the script menu Misc. |
Download
the script, updated : 30/07/2004
Download
an example of the old script
#!BPY
""" Registration info for Blender menus: <- these words are ignored
Name: 'Rvk1toRvk2'
Blender: 232
Group: 'Misc'
Tip: 'Copy the rvk1 to rvk2'
"""
#----------------------------------------------
# jm soler 05/2004 : 'Rvk1toRvk2'
#----------------------------------------------
# Page officielle :
#
http://jmsoler.free.fr/util/blenderfile/py/cpl_rvk1versrvk2.htm
# Communiquer les problemes et erreurs sur:
# http://www.zoo-logique.org/3D.Blender/newsportal/thread.php?group=3D.Blender
#---------------------------------------------
import Blender
from Blender import NMesh
try:
RVK1=Blender.Object.GetSelected()[0].getName()
RVK2=Blender.Object.GetSelected()[1]
me=RVK2.getData() #obligatoirement le mesh standard
mrvk2=NMesh.GetRawFromObject(RVK1) #l# les donnes du mesh transformes,
## une fenetre 3d doit être ouverte.
for v in mrvk2.verts:
i= mrvk2.verts.index(v)
v1=me.verts[i]
for n in range(len(v.co)):
v1.co[n]=v.co[n]
me.update()
me.insertKey()
me.update()
except:
print 'problem : not object selected or not
mesh' |
Les questions concernant cette page
peuvent être posées sur :
news://news.zoo-logique.org/3D.Blender
|