Re: OT: Comments in Scripts WAS Re: Realflow XSI plugin?

Date : Tue, 31 Oct 2006 22:49:09 -0500
To : XSI(at)Softimage.COM
From : "Vince Fortin" <vfortin(at)gmail.com>
Subject : Re: OT: Comments in Scripts WAS Re: Realflow XSI plugin?
Haha! Can anyone give this poor man a little help ;-)

On 10/31/06, Ben Barker <ben.barker(at)gmail.com> wrote:
From the "script help" directory of Digital Fusion inside functions.txt:

**********************************************************************
Install Acrobat and print Lua 5.0 PDF

GLOBAL FUNCTIONS
match()
require()
unpack()
gfind()
os.difftime()
os.remove()
os.rename()
os.time .. and other new os functions
write()

FUSION FUNCTIONS
Input:GetConnectedOutput()  -- this seems overly complex
Input:GetKeyFrames()        -- crashing (now fixed)
Input:ConnectTo()           -- how the hell does this work
Link:GetTool()
OpenFile
flow:RunScript
flow.CurrentTime
File:Seek()
File:GetFileSize()
File:GetFilePos()
File:Flush()
File:WriteLine()
File:ReadLine()
File:Write()
File:Read()
File:Close()

ToDo
See also for string sections
fix fusion object model
create lua object model
write page for top level of each chapter
flesh out math library entries
an ascii table might be nice
fix all sample code to use new format
match arg names to fusion help?
settle on convention for argnames, optional notation and so forth

'loading, saving and rendering flows'
'adding removing and manipulating tools'
'setting, connecting and animating controls'
'manipulating the bins'
'example scripts'
loadstring()
loadfile()


On Hold

  flow:ForTools()             -- how the hell do these work
  Tool:ForInputs()
  Tool:ForMasks()

Bugs

The df:FindReg( id or name ) function appears to be identical to
df:FindRegID(). Is there any difference?

Can we create a shadow function to override next() i.e.
  table.next = Next()



Run the following script to crash fusion !
----------------------------------------------------------------------
-- this tool script prints out the names of all loader
-- tools in a flow

regs = df:GetRegList(CT_Transition)
for i = 1, getn(regs) do
  local a = regs[i]:GetAttrs()
  print(i, a.REGS_Name, a.REGS_ScriptName, a.REGS_OpDescription )

end
----------------------------------------------------------------------


-- confirm that executebg is now os.executebg
**********************************************************************

--
Ben Barker
Character TD
CafeFX



On 10/31/06, Robert Moodie <robertm(at)hybride.com > wrote:
>
> From the .vbs files generated by 3D Equalizer:
>
> ' Science.D.Visions 3D-Equalizer Matchmoving System
> '
> ' SoftImage XSI Export Data
> '
>
> ' Switch off bloody command logging to speed up import...
> SetValue "preferences.scripting.cmdlog", False
>
>
>
>
> ----- Original Message -----
> From: "Marc-Andre Carbonneau"
> < marc-andre.carbonneau(at)ubisoft.com>
> To: <XSI(at)Softimage.COM>
> Sent: Tuesday, October 31, 2006 4:01 PM
> Subject: RE: Realflow XSI plugin?
>
> > If you look in the addons script directory and open up a Realflow script
> > you'll see a Thank you to Guy Rabiller and Luc Froehlicher...
> >
> >
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.