Tagged 'Scripts Wanted'

render size fix

there is 3 problem

1. if i render scene

i use render outputsize;[1600 1200] command

but render dialog window did not changed that value

2.if i render scene

i use render outputsize;[1600 1200] command

new window is made

that is some complex in my monitor

3. i would like to fix render position in my lcd monitor
but if i render scene , render window is center

is possible that fix ?

Drag and drop texture to specific VrayMtl slot?

I would love to see or get info where i can get a script, which allows you to put a texture with drag and drop method (from windows (from acdsee image explorer for example) to a specific vraymtl slot.
The drag and drop method in max works, but it works in a way where it always crates a standard material and place the selected texture to diffuse slot, i need the drag and drop method to maintain the vraymtl on the object and all textures in different slots and just puts (or replaces) texture in the vraymtl slot you want (diffuse, bump, specular etc.).

Scene Material VrayMtl Diffuse On Off

Hey Guys,

I want to be able to turn off and turn on Diffuse map in the scene I am working on.

meditMaterials[7].texmap_diffuse_on = off

I want to be able to do this to the entire scene.

Thanks

Edge Constraint Toggle

Hi guys!

So, I started to make a script that basically shows me on the UI if the edge constraint it ON or OFF on the selected object.

Basically I have it as a button on the UI, and when I have an object selected and I press the button It toggles it and enables Edge constraint to edge and stays lit up. But when I deselect the object the toggle is still on.

Would it be possible for the Toogle button to make the test on the object i select and see if the edge constraint is on and toggle it acordingly.
Obviously if its a group of object it wouldnt do anything, i think.

LED eyes

Hi, I'm new to Maxscript, have 3 years c++ experience, and about 5 years of 3d studio Max experience.
I'm looking for an easy way to animate Led eyes for a robot (like EVE in WALL-E).
So I was hoping if anyone could help me with this, or if there is already a script that could be used for this.
The ideal solution would be something with a window where you have a button for each LED (sphere). Each button controls the visibility/luminosity of the LED(on or off).
Here's a visual example I made for clarity:
http://imageshack.us/photo/my-images/812/examplef.jpg/

close caddy menu

Hi, I am making optimization for connecting edges on mose movement. But dont know how to close caddy dialog. Previously I used "UIAccessor.CloseDialog t[1]", but it stoped working, you will find it in a full script bellow. How can I close this caddy menu? Thanks.

macroScript connectPreview_ category:"paulius3d" buttonText:"connectPreview" tooltip:"_connectPreview" -- CONNECT PREVIEW
(
local kasPazymeta
startPosX = mouse.pos.x
startPosY = mouse.pos.y
--print startPos
if $ != undefined and classof $ == Editable_Poly then( -- ar editPoly

two small scripted modifiers wanted

hello
could anyone script one simple modifier and improve existing one?

1. InvertSelection modifier - work with mesh objects and inverts its sub-object selection.
2. add "straighten corners" option (same as in Shell) to Push modifier.

i hope it will be useful for many people here

A "Exaggerate" mod or script?

Perhaps I'm drawing a blank here, but I can't think of anything out there available that works like this. What I'm interested in is a script or modifier that works the same as the "exaggerate" free-form brush in the Graphite Tools. What the brush does is make the features of a painted surface more pronounced by moving concave areas inward, and convex out. It's a useful brush for accentuating seams or bumps painted with the push/pull brush, or other techniques. However, I'm looking to accentuate the features of an entire object all at once, in the same manner that this brush does.

3-point* Mirror

Could anybody write the subject please?
Something like Autocad's Mirror3d (Sketchup has similar plugin too)
*3 mouse clicks would define a mirror plane

Thanks in advance

Center pivot with round number

Hi!

I would like to ask for help to alter a script that I use to center pivot and move it to the bottom of the object.

if selection.count != 0 then 
selection.pivot = [selection.center.x, selection.center.y, selection.min.z]
else messagebox "Pick at least one object!" title:"Warning" beep:false

Before going further, I would like to address a flaw in this script - It won't work on multiple selected items, so if someone can fix that, I would be very thankful.

Now, to the request, if I may :)