PDA

View Full Version : i need script record funcion in lw


dussla
07-01-2003, 07:40 PM
hello
i am modeling window , door in lw
but
i am boared in repeated work
so i am seeking script record plugin or lscript as like mel or max spcrit record
can you help

Halsu
07-02-2003, 11:58 PM
AFAIK, there's no such thing available for modeler.

But, it should be rather easy to do the script manually (save the following code snippet as WindowFrame.ls or something)-



main
{
selmode(USER);
changesurface("Frame");
bevel(0,0.05);
bevel(0.05,0);
bevel(0,-0.05);
changesurface("Window");
}



Dissecting the above,

selmode(USER);

makes the script operate only on selected polys (or, all polys if none are selected)

changesurface("Frame");

changes the surface name to "Frame"

bevel(0,0.05);
bevel(0.05,0);
bevel(0,-0.05);

creates three bevels, making a 5*5 cm frame and

changesurface("Window");

makes the final surface "Window".


The above is similar (yet less complex) stuff as what i have in my "CityGen" and "Q-bevel" scripts.

If you wish to check them out, go to my web site (http://www.kolumbus.fi/erkki.halkka/modpak/) and download ModPak - you can try it out for free (though it has some annoying requesters prompting to register).

CGTalk Moderation
01-15-2006, 02:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.