  | | | points transformation by script commands | points transformation by script commands 2004-04-09 - By kim aldis
Back Like raf says, you can use commands to shift points. Translate et al are operations, meaning they go on the stack, meaning you don't have to freeze. Remember to clean them up if there's a lot of them, though.
__ __
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Raffaele "ThE_JacO" Fragapane Sent: 09 April 2004 08:29 To: XSI@(protected) Subject: RE: points transformation by script commands
If you don't want to freeze you'll have to give up the OM for moving points and do it by commands (baaaaad), OR write the manipulation in a scop, good chance to give it a go Patrick :)
-~== Raffaele Fragapane ==~- -~== Freelance Technical Animator & TD ==~- -~== Senior Technical Animator @ Peerless Camera ==~-
- Currently London Based - +44 798 4955734
__ __
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Patrick Vier Sent: Friday, April 09, 2004 9:42 AM To: XSI@(protected) Subject: Re: points transformation by script commands
Hi Raffaele,
It's work good. But don't forget to FREEEEEEEZZZZE, before ! like you written.
Thank you.
Patrick :)
-- -- Original Message -- --
From: Raffaele "ThE_JacO" <mailto:jaco@(protected)> Fragapane
To: XSI@(protected)
Sent: Thursday, April 08, 2004 2:13 PM
Subject: RE: points transformation by script commands
You want to get the selection, the object the selection is on and then get the activeprimitive.geometry of it.
>From that you can get the points.positionarray, manipulate the array, and then store the manipulated array back in the positionarray.
Should be said tho that you can only manipulate the positionarray in a script if the object is frozen, if you need to keep the operators you'll have to write a scop to do the same job, with the undertow that SCOPs manipulating partial selections of points need a cluster to relate to those points (or the pointIDs hardcoded in a loop).
Here's an example
set oRoot = application.activeproject.activescene.root
set oSelection = Application.Selection
set oPoints=oSelection(0)
if oPoints.Type = "pntSubComponent" Then
set oObj = oRoot.FindChild(oPoints.Name)
set oGeom = oObj.ActivePrimitive.Geometry
ArrPoints = oPoints.SubElements
aPositions = oGeom.Points.PositionArray
aIndices = oPoints.SubElements
for i = LBound( aIndices, 1 ) to UBound( aIndices, 1 )
ii = aIndices(i)
aPositions(0,ii) = aPositions(0,ii) +1
aPositions(1,ii) = aPositions(1,ii) +1
aPositions(2,ii) = aPositions(2,ii) +1
next
oGeom.Points.PositionArray = aPositions
end if
select points on a frozen object and run it, it will shift every point by 1,1,1
-~== Raffaele Fragapane ==~- -~== Freelance Technical Animator & TD ==~- -~== Senior Technical Animator @ Peerless Camera ==~-
- Currently London Based - +44 798 4955734
__ __
From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf Of Patrick Vier Sent: Thursday, April 08, 2004 2:15 PM To: Softimage - XSI list Subject: points transformation by script commands
Hi all,
I select points on an object by tagging an d i need to GET (SRT info) and SET to a new positions (SRT) on each points by script, of course.
Have you an suggestion ?? Thanks.
Patrick *********
Patrick Vier Post Logic <http://www.post-logic.com> tel 33 (0)1 46 37 77 61 fax 33 (0)1 46 37 55 51 email patrick@(protected)
--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
--- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Post_Logic - Mail paper< /TITLE> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2800.1400" name=GENERATOR><BASE href=file:///C:\Documents%20and%20Settings\PL\Local%20Settings\ppalettre\><!-- [if !mso]> <STYLE>v\:* { BEHAVIOR: url(#default#VML) } o\:* { BEHAVIOR: url(#default#VML) } w\:* { BEHAVIOR: url(#default#VML) } .shape { BEHAVIOR: url(#default#VML) } </STYLE> <![endif]--> <STYLE>@(protected) { font-family: Tahoma; } @(protected) Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: #000033; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: #000033; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; COLOR: #000033; FONT-FAMILY: "Times New Roman" } A:link { COLOR: #000033; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: #000033; TEXT-DECORATION: underline } A:visited { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: blue; TEXT-DECORATION: underline } P.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; COLOR: windowtext; FONT-FAMILY: "Courier New" } LI.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; COLOR: windowtext; FONT-FAMILY: "Courier New" } DIV.MsoPlainText { FONT-SIZE: 10pt; MARGIN: 0cm 0cm 0pt; COLOR: windowtext; FONT-FAMILY: "Courier New" } P { FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; COLOR: #000033; MARGIN-RIGHT: 0cm; FONT -FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto } SPAN.EmailStyle19 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal } SPAN.EmailStyle20 { COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply } DIV.Section1 { page: Section1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=EN-US vLink=blue link=#000033 bgColor=white> <DIV dir=ltr align=left><SPAN class=536264809-09042004><FONT face=Arial color=#008080 size=2>Like raf says, you can use commands to shift points. Translate et al are operations, meaning they go on the stack, meaning you don't have to freeze. Remember to clean them up if there's a lot of them, though.</FONT></SPAN></DIV><BR> <BLOCKQUOTE dir=ltr style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B>On Behalf Of </B>Raffaele "ThE_JacO" Fragapane<BR><B>Sent:</B> 09 April 2004 08:29<BR><B>To:</B> XSI@(protected)<BR><B>Subject:</B> RE: points transformation by script commands<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=Section1> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If you don’t want to freeze you’ll have to give up the OM for moving points and do it by commands (baaaaad), OR write the manipulation in a scop, good chance to give it a go Patrick :)<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <DIV> <P><FONT face=Arial color=#000033 size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> -~== Raffaele Fragapane ==~-</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> -~== Freelance Technical Animator & TD ==~-</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-~== Senior Technical Animator @ Peerless Camera ==~-</SPAN></FONT> <o:p></o:p></P> <P><FONT face=Arial color=#000033 size=2><SPAN lang=IT style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- Currently London Based</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN lang=IT style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- +44 798 4955734</SPAN></FONT><SPAN lang=IT> </SPAN><o:p></o:p></P></DIV> <DIV> <DIV class=MsoNormal style="MARGIN-LEFT: 36pt; TEXT-ALIGN: center" align=center><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><B><FONT face=Tahoma color=black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Tahoma"> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Patrick Vier<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, April 09, 2004 9:42 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> XSI@(protected)<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: points transformation by script commands</SPAN></FONT><FONT color=black><SPAN style="COLOR: windowtext"><o:p></o:p></SPAN></FONT></P></DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=#000033 size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial" >Hi Raffaele,</SPAN></FONT><FONT color=black><SPAN style="COLOR: windowtext"><o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"> <o:p></o:p></SPAN></FONT></P ></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">It's work good . But don't forget to FREEEEEEEZZZZE, before ! like you written.</SPAN></FONT><FONT color=black><SPAN style="COLOR: windowtext"><o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">Thank you.</SPAN></FONT><FONT color=black><SPAN style="COLOR: windowtext"><o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"> <o:p></o:p></SPAN></FONT></P ></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">Patrick :)</SPAN></FONT><FONT color=black><SPAN style="COLOR: windowtext"><o:p></o:p></SPAN></FONT></P></DIV> <BLOCKQUOTE style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none ; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER -LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none"> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">-- -- Original Message -- -- <o:p></o:p></SPAN></FONT></P></DIV> <DIV style="font-color: black"> <P class=MsoNormal style="BACKGROUND: #e4e4e4; MARGIN-LEFT: 36pt"><B><FONT face=Arial color=black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial"> <A title=jaco@(protected) href="mailto:jaco@(protected)">Raffaele "ThE_JacO" Fragapane</A> <o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><B><FONT face=Arial color =black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial"> <A title=XSI@(protected) href="mailto:XSI@(protected)">XSI@(protected)</A> <o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><B><FONT face=Arial color =black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial"> Thursday, April 08, 2004 2:13 PM<o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><B><FONT face=Arial color =black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT face=Arial color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Arial"> RE: points transformation by script commands<o:p></o:p></SPAN></FONT></P></DIV> <DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"><o:p> </o:p></SPAN></FONT>< /P></DIV> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">You want to get the selection, the object the selection is on and then get the activeprimitive.geometry of it.<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">From that you can get the points.positionarray, manipulate the array, and then store the manipulated array back in the positionarray.<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial" >Should be said tho that you can only manipulate the positionarray in a script if the object is frozen, if you need to keep the operators you’ll have to write a scop to do the same job, with the undertow that SCOPs manipulating partial selections of points need a cluster to relate to those points (or the pointIDs hardcoded in a loop).<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Here& #8217;s an example<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">set oRoot = application.activeproject.activescene.root<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">set oSelection = Application.Selection<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">set oPoints=oSelection(0)<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">if oPoints.Type = "pntSubComponent" Then<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> set oObj = oRoot.FindChild(oPoints.Name) <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> set oGeom = oObj.ActivePrimitive.Geometry<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> ArrPoints = oPoints.SubElements<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> aPositions = oGeom.Points.PositionArray<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> aIndices = oPoints.SubElements<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> for i = LBound( aIndices, 1 ) to UBound( aIndices, 1 )<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> ii = aIndices(i) <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> aPositions(0,ii) = aPositions(0,ii) +1<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> aPositions(1,ii) = aPositions(1,ii) +1<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> aPositions(2,ii) = aPositions(2,ii) +1<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> next<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> oGeom.Points.PositionArray = aPositions<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">end if<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial" >select points on a frozen object and run it, it will shift every point by 1,1,1<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p>< /SPAN></FONT></P> <DIV> <P style="MARGIN-LEFT: 36pt"><FONT face=Arial color=#000033 size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> -~== Raffaele Fragapane ==~-</SPAN></FONT> <BR><FONT face=Arial size=2> <SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> -~== Freelance Technical Animator & TD ==~-</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">-~== Senior Technical Animator @ Peerless Camera ==~-</SPAN></FONT> <o:p></o:p></P> <P style="MARGIN-LEFT: 36pt"><FONT face=Arial color=#000033 size=2><SPAN lang=IT style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- Currently London Based</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN lang=IT style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">- +44 798 4955734</SPAN></FONT><SPAN lang=IT> </SPAN><o:p></o:p></P></DIV> <DIV> <DIV style="MARGIN-LEFT: 36pt"> <DIV class=MsoNormal style="MARGIN-LEFT: 36pt; TEXT-ALIGN: center" align=center><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"> <HR align=center width="100%" SIZE=2> </SPAN></FONT></DIV></DIV> <P class=MsoNormal style="MARGIN-LEFT: 72pt"><B><FONT face=Tahoma color=black size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma color=black size=2><SPAN style="FONT-SIZE: 10pt; COLOR: windowtext; FONT-FAMILY: Tahoma"> owner-xsi@(protected) [mailto:owner-xsi@(protected)] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Patrick Vier<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, April 08, 2004 2:15 PM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Softimage - XSI list<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> points transformation by script commands</SPAN></FONT><FONT color=black><SPAN style="COLOR: windowtext"><o:p></o:p></SPAN></FONT></P></DIV> <P class=MsoNormal style="MARGIN-LEFT: 72pt"><FONT face="Times New Roman" color=#000033 size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <TABLE class=MsoNormalTable style="MARGIN-LEFT: 72pt; WIDTH: 529.5pt" cellPadding=0 width=706 border=0> <TBODY> <TR> <TD style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0 .75pt; PADDING-TOP: 0.75pt" vAlign=top> <P><FONT face=Arial color=#000033 size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi all,</SPAN></FONT><o:p></o:p></P> <P><FONT face=Arial color=#000033 size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I select points on an object by tagging an d i need to GET (SRT info) and SET to a new positions (SRT) on each points by script, of course.</SPAN></FONT><o:p></o:p></P> <P><FONT face=Arial color=#000033 size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Have you an suggestion ??<BR>Thanks.</SPAN></FONT><o:p></o:p></P> <P><FONT face=Arial color=#000033 size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Patrick<BR>*********< /SPAN></FONT><o:p></o:p></P></TD></TR> <TR style="HEIGHT: 4.5pt" height=6> <TD style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0 .75pt; PADDING-TOP: 0.75pt; HEIGHT: 4.5pt" height=6> <P style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" color=#000033 size=3><SPAN style="FONT-SIZE: 12pt"><IMG id=_x0000_i1025 height=1 src="cid:536264809@(protected)" width=700 border=0><o:p></o:p></SPAN></FONT></P></TD></TR> <TR style="HEIGHT: 57pt" height=76> <TD style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0 .75pt; PADDING-TOP: 0.75pt; HEIGHT: 57pt" height=76> <P class=MsoNormal style="TEXT-ALIGN: right" align=right><B><FONT face=Arial color=#0099ff size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #0099ff; FONT -FAMILY: Arial">Patrick Vier<BR></SPAN></FONT></B><B><FONT face=Arial size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A href="http://www.post-logic.com">Post Logic</A></SPAN></FONT></B> <FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><BR>tel <IMG id=_x0000_i1026 height=13 src="cid:536264809@(protected)" width=13 border=0>33 (0)1 46 37 77 61<BR>fax <IMG id=_x0000_i1027 height=13 src="cid:536264809@(protected)" width=13 border=0>33 (0)1 46 37 55 51</SPAN></FONT><FONT face=Arial color=#0099ff size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #0099ff; FONT-FAMILY: Arial"><BR>< /SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">email</SPAN></FONT><FONT face=Arial color=#0099ff size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #0099ff; FONT-FAMILY: Arial"> </SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><IMG id=_x0000_i1028 height=13 src="cid:536264809@(protected)" width=13 border=0></SPAN></FONT><B><FONT face=Arial color=#0099ff size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #0099ff; FONT -FAMILY: Arial"><A href="mailto:patrick@(protected)">patrick@(protected)</A></SPAN ></FONT></B><FONT face=Arial color=#0099ff size=2><SPAN style="FONT-SIZE: 10pt; COLOR: #0099ff; FONT-FAMILY: Arial"> </SPAN></FONT><o:p></o:p></P></TD></TR> <TR> <TD style="PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0 .75pt; PADDING-TOP: 0.75pt"> <P class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" color=#000033 size=3><SPAN style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></TD></TR> </TBODY></TABLE> <P class=MsoNormal style="MARGIN-LEFT: 72pt"><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"><o:p> </o:p></SPAN></FONT>< /P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"><o:p> </o:p></SPAN></FONT>< /P> <P style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=#000033 size=2><SPAN style="FONT-SIZE: 10pt">---<BR>Incoming mail is certified Virus Free.<BR>Checked by AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)</SPAN></FONT><o:p></o:p></P> <P class=MsoNormal style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=black size=3><SPAN style="FONT-SIZE: 12pt; COLOR: windowtext"><o:p> </o:p></SPAN></FONT>< /P> <P style="MARGIN-LEFT: 36pt"><FONT face="Times New Roman" color=#000033 size=2><SPAN style="FONT-SIZE: 10pt">---<BR>Outgoing mail is certified Virus Free.<BR>Checked by AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)</SPAN></FONT><o:p></o:p></P></BLOCKQUOTE></DIV><BR> <P><FONT size=2>---<BR>Incoming mail is certified Virus Free.<BR>Checked by AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)<BR></FONT></P> <P><FONT face=Arial size=2></FONT></P><BR> <P><FONT size=2>---<BR>Outgoing mail is certified Virus Free.<BR>Checked by AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.638 / Virus Database: 409 - Release Date: 21-Mar-04 (See http://Mar-04.ora-code.com)<BR></FONT></P> <P><FONT face=Arial size=2></FONT></P></BLOCKQUOTE></BODY></HTML>
|
|
 |