Anim8or Community

General Category => ASL Scripts => Topic started by: NickE on June 11, 2008, 10:56:57 pm

Title: Script to Generate Snail Shells
Post by: NickE on June 11, 2008, 10:56:57 pm
Back when I was going to enter the "Need for Speed" competition over on Animanon, I adapted Steve's spring script to produce pretty realistic snail shells.  Unfortunately, I ran out of time for the competition.  Here is a short clip starring a shell.

youtube.com/v/1sm-F7Gosvw[/youtube]]http://www.
(http://www.[youtube)

Attached is the script, a sample render of two types of shells, and the parameters needed to reproduce those shells.  To produce the renders, I converted the parametric shape to a mesh, deleted the cap face, used the shell function to add thickness, and textured.
Title: Re: Script to Generate Snail Shells
Post by: lynn22 on June 12, 2008, 08:18:16 am
The shells look lovely, thank you for letting us have this script.
Title: Re: Script to Generate Snail Shells
Post by: hihosilver on June 12, 2008, 09:01:17 am
That is a magnificent script!  I replaced my other spring script with it as it's capable of doing both springs and snail shells and more!
Magnificent job once again.
Title: Re: Script to Generate Snail Shells
Post by: kreator on June 12, 2008, 09:02:35 am
another great script .....based on spring script I notice ?
Title: Re: Script to Generate Snail Shells
Post by: thecolclough on June 12, 2008, 10:25:25 am
haven't got time to play with this right now, but i'm going to have to have a go soon.  this looks brilliant!

- colclough
Title: Re: Script to Generate Snail Shells
Post by: Steve on June 13, 2008, 06:33:36 am
Cool script, NickE!  Is it OK if I post this in the scripts download page?
Title: Re: Script to Generate Snail Shells
Post by: NickE on June 13, 2008, 03:33:16 pm
I would be honored, but the honor is really yours, Steve, since all I did was slightly modify your spring script.
Title: Re: Script to Generate Snail Shells
Post by: csf on June 17, 2008, 07:11:02 pm
I m using 97.b and I cant get anim8or to load this script my other scripts are loading fine though.
Title: Re: Script to Generate Snail Shells
Post by: Steve on June 18, 2008, 05:18:55 am
csf: Have you put the script in the same directory as the others?  Enable the Script Console (in the File->Configure menu) and see if there are any errors reported when it tries to load it.  You'll have to exit Anim8ot and restart it to get the script loaded.\

NickE: Can you give me some good preset values for your script to make a snail like in your picture?  I want to change the defult values in the script so that it makes a good snail by default.  It's a little tricky to set everything just right.
Title: Re: Script to Generate Snail Shells
Post by: NickE on June 18, 2008, 06:37:31 am
Steve,
The initial post of this thread has two screen shots of the parameters used to create the shells shown in the render.  Did you want something different for the preset?
Title: Re: Script to Generate Snail Shells
Post by: csf on June 18, 2008, 06:39:20 am
Yep its in the same directory as the rest of the scripts (which are working) I enabled the Script Console and it does not load it up during start up. if I load it from load script it would compile with no error.

After some experimenting I realized the file was . A8S instead of .a8s once I fixed that it now works (not sure where the caps came from).
Title: Re: Script to Generate Snail Shells
Post by: Aarangend on August 06, 2008, 02:07:25 am
OKay... could someone please tell me how to use scripts? cuz I have like no idea!
Title: Re: Script to Generate Snail Shells
Post by: kreator on August 06, 2008, 06:47:37 am
Parametric scripts are the ones that appear on your GUI as little icons .

You need to make a folder on your compter like scripts  or (plugins) then put all your downloaded scripts into that folder.

Now you must load up anim8or and go file/configure

when the configuration editor appears you will see a box for scripts , just browse to the  folder that you have made, then make sure preload scripts is ticked.

Some scripts are not parametric and run from the menu Scripts.



Title: Re: Script to Generate Snail Shells
Post by: Aarangend on August 06, 2008, 06:24:46 pm
oookay... I will try that