  | | | Scripting Fcurve editor operations ?? | Scripting Fcurve editor operations ?? 2004-02-10 - By jm khayat
Back Hi all
Still in the process of transfering animation from one hand to another - er no, I don't work on that full time for several days ;-)) - I noticed all the operations done while in the Fcurve editor don't appear in the script editor.
So I managed to easily script the "CopyAnimation "my_model.LMiddle.kine.local.euler", True, True, False and PasteAnimation "my_model.RMiddle3.kine.local.euler".
But what if I need to invert (or scale by -1) the y value rotation ??
Sorry for my ignorance in scripting and thanks for your help
jm
--
jm Khayat
-- ---- --Studio DELPHIS
www.studiodelphis.com
<html>
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} span.stylecourrierlectronique17 {font-family:Arial; color:windowtext;} span.stylecourrierlectronique19 {font-family:Arial; color:navy;} span.stylecourrierlectronique20 {font-family:Arial; color:navy;} span.StyleCourrierlectronique21 {font-family:Arial; color:navy;} @(protected) Section1 {size:595.3pt 841.9pt; margin:70.85pt 70.85pt 70.85pt 70.85pt;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size: 10.0pt;font-family:Arial'>Hi all</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size: 10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size: 10.0pt;font-family:Arial'>Still in the process of transfering animation from one hand to another – er no, I don’t <font color=navy><span style='color:navy'>work on</span></font> that full time for several days ;-)) – I noticed all the operations done while in the Fcurve editor don’t appear in the script editor.</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>So I managed to easily script the “CopyAnimation "my_model.LMiddle.kine.local.euler", True, True, False and PasteAnimation "my_model.RMiddle3.kine.local.euler".</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>But what if I need to invert (or scale by -1) the y value rotation ??</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>Sorry for my ignorance in scripting and thanks for your help</span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:Arial'>jm   ; </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size: 10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>--</span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'> </span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>jm Khayat</span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>-- ---- --<i><span style='font-style:italic'>Studio<b> <span style='font-weight:bold'> DELPHIS</span></b></span></i></span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'> </span></font></p>
<p class=MsoAutoSig><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'>www.studiodelphis.com</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-GB style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>
|
|
 |