Jump to content


Photo

"dump All Inputs" Script


  • Please log in to reply
10 replies to this topic

#1 fry

fry

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 86 posts

Posted 30 September 2009 - 07:44 AM

Hi

Another of my creations. It will dump all of the tools inputs with its name and value.
You could of course hover your mouse over an input and read the status line... but this is more comfy.

Regards, Fry

EDIT:
NEW 2.1 VERSION!

Attached Files



#2 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 30 September 2009 - 11:21 AM

Nice one! Thank you!

If it outputed point values in this way:
Center.X
Center.Y
with actual values
and considered also modifiers and outputs, would be very useful for simple expressions in case one uses hidden outputs/point inputs.

#3 fry

fry

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 86 posts

Posted 01 October 2009 - 04:38 PM

Version 1.1

Will dump now modifier, expressions, in- and output tool names.

Might be buggy with strange modifier and tool connections. Just don't run this script on anything wicked.

Have Fun! - Fry

Attached Files



#4 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 03 October 2009 - 05:02 PM

Really useful!

It works fine, but doesn't expand point inputs for the Expression modifier:
Modifier: Expression
	------------------------------------------------------------
	ID	Name                              Value
	1	p1                            	table: 03F8D660
	2	p2                            	table: 063401C0
	3	p3                            	table: 15E87DB8
	4	p4                            	table: 15E87E78
	5	p5                            	table: 15E87F38
	6	p6                            	table: 15E87FF8
	7	p7                            	table: 15E880B8
	8	p8                            	table: 15E881B8
	9	p9                            	table: 15E88278

And Locator3D, Tracker and Path point outputs:
Locator3D1	Outputs
------------------------------------------------------------
ID	Name                              Value
1	Output                        	Scene3D (0x05CAB4E8)
	Connected Tool:               	none

2	Position                      	table: 15E94ED8
	Connected Tool:               	none
Tracker	Outputs
------------------------------------------------------------
ID	Name                              Value
1	Output                        	TransformMatrix (0x06201358)
	Connected Tool:               	none

2	SteadyPosition                	table: 060EDD48
	Connected Tool:               	none

3	UnsteadyPosition              	table: 060EDDA8
	Connected Tool:               	none

4	SteadyAxis                    	table: 03800088
	Connected Tool:               	none
Modifier: Path1
	------------------------------------------------------------
	ID	Name                              Value
	1	ShowViewControls              	1
	2	Center                        	table: 0623B6F0
	3	Size                          	1
	4	XRotation                     	0
	5	YRotation                     	0
	6	ZRotation                     	0
	7	Displacement                  	0
	8	HeadingOffset                 	0
	9	PolyLine                      	nil
	10	FrameRenderScript             	
	11	StartEndRenderScripts         	0
	12	StartRenderScript             	
	13	EndRenderScript               	
	14	Comments
Actually, it doesn't show Path.Position.X and Path.Position.X outputs at all.

#5 fry

fry

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 86 posts

Posted 07 October 2009 - 02:50 AM

Hi

Version 2.0 is here. Major change to the script core.
All errors found by Gringo are hopefully gone - can't get any value from "Displacement" though. But that's on the to do list.

You might want to "initiate" a selected tool first (render, view it, whatever) otherwise it will display only default values with no in- and outputs.
BTW, script is kind of "slow". May be caused by my non existent programming skills or the various iterations so be patient.

If you encounter any strange behavior please post it here.

Regards, Fry

Attached Files



#6 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 07 October 2009 - 11:50 AM

Cool!

It's now perfect!

I don't think the speed is a problem. It takes just a couple of seconds to list a node's inputs/outputs.
It's certainly faster than copying a modifier's inputs to simple expressions of a tool or vice versa for displaying controls of both is impossible.
And it's already saved me a lot of time recently, when I was adding exposed controls to a macro in SciTe.
Besides it's a good way to learn about hidden outputs and copy them to scripts.

Thank you very much!

#7 fry

fry

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 86 posts

Posted 07 October 2009 - 12:54 PM

You're welcome - It's a great opportunity to get into scripting and do some really useful stuff other can use. All this "Hello world" stuff is not really my thing. It may be the best thing to learn a new script language but I am way to impatient.
Regards, Fry

#8 fry

fry

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 86 posts

Posted 22 October 2009 - 09:31 AM

A new update to version 2.1

Now I finally got this whole Fusion time / frame concept into my brain... :e

The update will dump all values according to the current frame. Not like before just for frame 1 - sorry for this!

Attached Files



#9 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 22 October 2009 - 11:22 AM

I haven't noticed the values issue because I use your script for inputs'/outputs' names.
Anyway, new version is even better, thanks! :)

#10 Gringo

Gringo

    Associate Administrator

  • Adv Members
  • PipPipPipPipPip
  • 1,455 posts

Posted 30 November 2009 - 06:24 AM

Fry, do you want to publish this script on VFXPedia Scripts Section?
It's really useful and handy!

#11 fry

fry

    Flying Pig

  • Adv Members
  • PipPipPipPipPip
  • 86 posts

Posted 04 December 2009 - 05:48 PM

Fry, do you want to publish this script on VFXPedia Scripts Section?
It's really useful and handy!


Sure, why not - if I'll find some spare time I will look into this wiki - vfxpedia - editing - thing.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users