Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: Script to Generate Snail Shells  (Read 8932 times)

NickE

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Script to Generate Snail Shells
« 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.


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.
Logged

lynn22

  • Sr. Member
  • ****
  • Posts: 591
    • View Profile
    • 3D Animation
Re: Script to Generate Snail Shells
« Reply #1 on: June 12, 2008, 08:18:16 am »

The shells look lovely, thank you for letting us have this script.
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: Script to Generate Snail Shells
« Reply #2 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.
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1114
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Script to Generate Snail Shells
« Reply #3 on: June 12, 2008, 09:02:35 am »

another great script .....based on spring script I notice ?
Logged
O

thecolclough

  • Sr. Member
  • ****
  • Posts: 828
  • 3D Ignoramus 1988-2002, Anim8or User 2002-present.
    • View Profile
    • www.mattghc.com
Re: Script to Generate Snail Shells
« Reply #4 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
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: Script to Generate Snail Shells
« Reply #5 on: June 13, 2008, 06:33:36 am »

Cool script, NickE!  Is it OK if I post this in the scripts download page?
Logged

NickE

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Script to Generate Snail Shells
« Reply #6 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.
Logged

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Re: Script to Generate Snail Shells
« Reply #7 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.
Logged
AKA coaster sim. fan on the old boards

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
Re: Script to Generate Snail Shells
« Reply #8 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.
Logged

NickE

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Script to Generate Snail Shells
« Reply #9 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?
Logged

csf

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • CSF On The Web
Re: Script to Generate Snail Shells
« Reply #10 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).
Logged
AKA coaster sim. fan on the old boards

Aarangend

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Script to Generate Snail Shells
« Reply #11 on: August 06, 2008, 02:07:25 am »

OKay... could someone please tell me how to use scripts? cuz I have like no idea!
Logged

kreator

  • Hero Member
  • *****
  • Posts: 1114
  • Anim8or, Blender, & Carrara. A Great Combination!
    • View Profile
    • Anim8orWorld
Re: Script to Generate Snail Shells
« Reply #12 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.



« Last Edit: August 06, 2008, 08:44:18 pm by kreator »
Logged
O

Aarangend

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Script to Generate Snail Shells
« Reply #13 on: August 06, 2008, 06:24:46 pm »

oookay... I will try that
Logged