Page 1 of 1

gm ScriptBrowser Addon

Posted: 22 Aug 2015, 01:50
by geminicgi
I created a long time ago a couple of useful scripts mostly for everyday use.
So I share it to use every xsi lovers.. :) Most scripts purpose is
for working fast in xsi so use them mostly with keyboard shortcuts. The script popup
shows the keyboard assignments. I'am using them from xsi 2013 sp1 but I hope they are
working with the later versions too.
Sorry for the misspelles words. :)

Here is the addon:
https://www.dropbox.com/s/9ycvz52m50a58 ... addon?dl=0
Newcomer (<20 posts) alert: please use the URL tags - HB

A small help for them:

ApplySelectedAction
The selected action clips can be applied to models which they stored from.

Bkw5Frames
Frw5Frames
Jumping by 5 Frames on the Timeline

BreakCurve2Tubes
I really don't remember what I used it for.. :) Maybe one can use it..

BreakCurveAtIsoPoints

CaptureView
Nice tool for capturing fast to a folder structure ( _Captures ) in your project.
A Note for it you can hide the PPG view by call the script again..

CreateGridFromClip
Select an image clip in the xsi explorer and call this script.
Useful for setting the grid from the resolution of the image..

CreateGroupModel
Select a model and then select a pass(es) it creates a partition for it..
Sorry this tool is not ready. And maybe won't be.. :(

CreateMeshFromEps

CreateNull
Select a point, object, cluster, etc. and create a null for it.. Similar like create transform group.

Curve2MeshMultiSelection
If you create a mesh with Cuve To Mesh it creates one mesh only, this creates separated meshes..

Curves2Tubes
Tools for creating tubes from curves more than one.

DecrementTool
IncrementTool
If you find hard to move something in space by a small amount of value. Use this.
Tools for decreasing the transform increment easily by steps.
It show small signs '+-' at the corner of views.
It should be assigned to a keyboard shortcut to call it fast.

DeleteAllMaterials
Deleting all material from the scene.

DeleteUnusedSources
Deleting all unused sources.

ExportFbx
Exporting the selected mesh, model automatically ( without any dialog ) to a folder named
from the scene itself ( without version number) for easier to find and load to other apps.

ExportMultipleType ( CTRL+E )
The most used by me.
Export Selected Actions, Operators from stack, Shader, Passes to dspreset and to
Fusion Settings, models to Project Model folder and dfmo (I used it so long ago) ..
maybe Digital Fusion motion path was this format. The easiest thing is every export is one key press.
It should be assigned to a keyboard shortcut to call it fast.

ExtractAllSubCurves
Extract all subcurves from a curve.

FlipBookRendered
Nice tool for capturing fast to a folder structure named from scene..

GoToFrame
Go to Frame and set loop range easily.

IncrementalSave
As the name says.

InspectControls
Maybe the most used by me.. Inspection custom parameters by one key press.
Selection Types:
Passes - explore arnold , mental ray .. show if shared
Object - find controls on it
Partition - find override on it
Models - find child controls ( custom par. )
Camera Root, Light root - inspect its obj
Group - find members custom parameters
Object with Momentum
etc.
If you do not select anything but you stand on a camera view with the mouse pointer
it inspect the camera itself. The same with the spot lights.
It should be assigned to a keyboard shortcut to call it fast.

InspectFrameBuffers
If you select a pass it inspects (and walk trough all) its framebuffers.

InspectMaterial
For example select a pass and toggle trough inspection of materials on its partitions..

InvertInHierarchy
Select invert on the same parenting brunch level

Load2Photoshop
As its name says.

Multiplicate
An old script I hope it works..
1. Select the obj to duplicate
2. Pick the group of the duplicate places
3. Every controls.duplicates params of the obj duplicate places
will determine which object where will be placed of the selected objects
Press CTRL left mb to make instances !

Pass2ImageClipViewer
Maybe not working..

ReCountSimulation
Sometimes very useful. If you simulate and do not want to go to frame 0 and go to frame X again
for see what the change is on the simulation.

RemoveAllAnimation
As its name says.

RenderCurrentFrame
As its name says but on selected passed and with time info.

RenderCurrentFrameAllPasses
As its name says.

RenderMissingFiles
Maybe not working..

RenderPassSelected

SelectSimilarNamed

SetArnoldDefaultScene
Useful to test an object with light in Arnold.

SetBonesKey
Set more bone keys at the same time.

SetCameraKey
Useful with the current view or the selected camera too.

SetSelectionToCurrentPass
Easy.

SetTranslationKeys
Check it.

SetViewToHiddenline
SetViewToOpenGL
SetViewToRealTime
SetViewToShaded
SetViewToTextured
SetViewToTexturedDecal
SetViewToWireframe


Subcurve2Mesh
I don't remember.. :)

ToggleAllViewQuality
Useful for setting all views to coarse ( subdiv level zero ) when animating.
It show a small sign 'C' at the corner of views.

ToggleBackFaceCulling

ToggleCameraView
Good one. Select one or more camera and go over one view. It is set.
Other good thing: select a pass an check it's camera on a view.
Toggle more cameras by selecting them , for example check the difference on them.. GOOD

ToggleInstanceMasterHidden
Good tool for toggling the instance master properties of the objects.

ToggleOptionalPanels
Working with the similar layouts like xsi default. It shows and hides the main layout panels
under the mouse pointer. For example if you stand with the mouse on the right side
of the xsi window it hides the toolbar panel and if you stand on the middle it hides and shows all but the four view panels and so on.
It must be assigned to a keyboard shortcut to work well.

ToggleRegionDisplay
Toggles Region render RGB , RGBA , ALPHA Flags.

ToggleRotoEnable
Good stuff. Switch off Roto by one press under mouse pointer. Or double press to inspect. Cool.

ToggleTrails
Toggles an animated object path.

ToggleUsedMaterial
Good stuff for example selects a model all materials if a model is selected. Or if you select a
Pass it selects those.

ToggleView3DGeometry
Maybe the coolest but the easiest. You want to see only all the curves , or nulls , chains
without the geometries in the view under the mouse.

ToggleViewControls
Similar but hides the curves, nulls, etc but not the 3D geometries.

ToggleViewTrace
Toggles Mental Ray render region raytracing.

Thanks,
G

Re: gm ScriptBrowser Addon

Posted: 22 Aug 2015, 09:45
by Hirazi Blue
Nice. Thanks for sharing! :-bd

Re: gm ScriptBrowser Addon

Posted: 24 Aug 2015, 11:49
by druitre
Thanks, there's a few in there I'll most likely use :)

Re: gm ScriptBrowser Addon

Posted: 25 Aug 2015, 00:19
by antsjoe
Much appreciate your sharing!

Re: gm ScriptBrowser Addon

Posted: 25 Aug 2015, 12:31
by 3DMagic
Thank you for these scripts! :)

You should add them also on http://rray.de/xsi/

Re: gm ScriptBrowser Addon

Posted: 26 Aug 2015, 22:30
by geminicgi
An other tool what i forgot.

The GoToFrame do a bit more as its name says. It can set the loop range too.
For: example 10-20 , 10-, -10, 10++ , 10-- , ' ' (1 space).
Set range simple, set from 10 till end, set from 1 till 10, add 10 frame form current , subtract 10 , clear loop (space)
And to make it more difficult if you set the loop range the RenderPassSelected renders only the loop range.
So you can set it faster and render immediately.. Maybe helps someone.

Thanks for all.
I hope it will help xsi live longer and longer :)
G

Re: gm ScriptBrowser Addon

Posted: 01 Sep 2015, 15:08
by geminicgi
Hi,

I made a few bug fixes. If anyone would use it without that bugs, download it here:
https://dl.dropboxusercontent.com/u/150 ... 1.xsiaddon
Newcomer (<20 posts) alert: please use the URL tags - HB




Thanks,
Have a Nice Day.
G

Re: gm ScriptBrowser Addon

Posted: 02 Sep 2015, 07:55
by FXDude
Sorry for the late reply, I wanted to comments on some of them, but let me say that's an impressive list of from tiny and nifty little scripts
Navigate +-5 frames,
and also a bunch of little viewing shortcuts,
ReCountSimulation(going to 0 and back) ,
etc...
things that there should have been buttons for long ago


all the way to quite elaborate things and one click operations!
*Inspecting directly specific things
*1 click export fbx, or Alembic, or -bunches- of stuff at a time.
*1 click Purge All Materials, or all animation,
*Bunch of Batch curve tools,
*Quick capture view that can stay open and or hidden & capture in folder named by tokens (cool)
etc...



If I can ask a question, how do you yourself organize all these within your own interface?

Do you use any one of several XSI menu plugins?


EDIT: Sorry, just saw your screenshot, guess you made your own menu! lol

Looked like too much things at first glance, but must be fairy neat within the other first level menu items where each reappear categorized there?, and that 'ABC' menu item being all of them ordered alpahbetically I suppose?
(where we can see the mind boggling list of shortcutting scripts! :) )

The items after the separator are the last commands?, or a section for 'favorites'?

Cheers thanks & congratz for that impressive collection, including the menu!

Re: gm ScriptBrowser Addon

Posted: 02 Sep 2015, 11:39
by geminicgi
If a clearly understand you..
Maybe the most importan thing that I missed to say:
The menu popup can be found at the file menu under the save as.. line.
I hope it helps.
And use a lot of shortcuts. Mainly most of the viewing shotcuts working under mouse pointer so
the shortcut is needed.

Thanks for using. ;)
G