Tagged 'Scripts Wanted'

Link slice modifier slice plane to an object

Hi,
I made a simple script to link slice modifier slice plane to an object with wireparameters
But if the object with slice modifier is rotated it don't work as I don't understand how to use node transfoem or matrix.
Can somebody can help ? thanks.

How to use : select object with slice modifier then run the script, with the rubberband click on the target object

		CurrentMod = modpanel.getCurrentObject()
		theModifier_ID = modPanel.getModifierIndex $ CurrentMod 
		MODD = $.modifiers[theModifier_ID]
		POSS= $.position
		clearSelection()		
		(			

create a box on every face normal center from selected object

Hi,

i need a script that create a box, teapot whatever on every face center with normal align from selected object.

regrads,
Ulrich

select all objects with vraylight materials (incl. if its part of multi/sub mats)

could somebody help with the subject?

Sweep modifier to selection . . .

Hello,

I am trying to add sweep modifier with custom builtin shape, length and width, pivot position
single object work . . . ok!

but when selection two or more shapes or editable spline getting error
can any one solve

Thanks,

(
 if selection.count > 0 then
 (
  for obj in selection where isKindOf obj Editable_Spline or isKindOf obj Shape do
  (
    --modPanel.addModToSelection (sweep ()) ui:on
    addModifier obj (Sweep())
    $.modifiers[#Sweep].CurrentBuiltInShape = 2
    $.modifiers[#Sweep][#Bar_Section].length = 0.002

Biped activate Mixer Mode

Hi,
I would like to know how to activate or deactivate Biped Mixer Mode by script.
Thanks ! :-)

Biped activate Mixer Mode

Hi,
I would like to know how to activate or deactivate Biped Mixer Mode by script.
Thanks ! :-)

Rename objects inside ProBoolean operands'

Greetings,

I wonder if anybody can help with a script that can rename objects inside ProBoolean operands'. As lets say once you subtract box001 with box002 using proboolean, you cannot edit box002 name inside operands.

Set U and V tiling of all Bitmap textures of selection

Hello,

Here i am creating a script of Set U and V tiling of all Bitmap textures of selection
but script has bug and i can not solve it.

can any one correct the script

thanks

-- Function to set U and V tiling of all Bitmap textures in a V-Ray material to 1.0
fn setVrayMaterialTilingToOne mat =
(
	-- Function to set tiling for a Bitmap texture
    fn setBitmapTiling tex =
    (
        if classOf tex == Bitmaptexture do
        (
            tex.U_Tiling = 1.0
            tex.V_Tiling = 1.0
        )
    )

Generate Vrayproxy thumbnails with VRmesh viewer

Is such a script possible: Say user points at some folder and the script wouls (via VRmesh viewer) generate jpegs with the same name next to each proxy in this folder?
All this is needed to the proxies in project manager\connecter\explorer.
Thanks for attention

help with script to save and restore views

Hi guys, how´s going?
i need a help with a script i have, wich i "wrote" using macro recorder (i´m not a coder). Basically the script has two buttons, one saves the current view and the other restores the saved view. The thing is that it does not recognize if the view is a perspective or orthographic, so sometimes it gives an error if the saved is not the same type as the actual view (example, when i try to restore a saved perspective in an ortho view).