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: New ASL Functions in v0.97b update  (Read 3694 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1547
    • View Profile
New ASL Functions in v0.97b update
« on: June 05, 2008, 07:07:09 am »

There are some new functions in the v0.97b update that might be useful:

1. shape.GetNumEdges(), etc.

2. write to the console: open("$console", "w");

3. mesh.DeletePoint(), etc.

4. functions to access to attributes,

5. Spline access functions.  You can make cool looking chains and ropes that follow the shape of a spline!



Logged

CobraSpectre

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: New ASL Functions in v0.97b update
« Reply #1 on: June 06, 2008, 02:15:58 am »

Does the console write only work from an export script?
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: New ASL Functions in v0.97b update
« Reply #2 on: June 06, 2008, 03:10:47 am »

That spline access function looks awesome!  I definitely look forward to some scripts for that one!  It could make things like chains much easier.  Congratulations Steve, this is looking wonderful.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1547
    • View Profile
Re: New ASL Functions in v0.97b update
« Reply #3 on: June 06, 2008, 05:22:17 am »

The console write works for export scripts and command scripts (including those with a .txt suffix that you run by selecting the file).  No IO works for parameteric scripts - but I could make an exception for the console.  File IO would slow parameteric scripts down a lot because they are run over and over as you drag the mouse.

hihosilver - I'm glad you like the spline funstions.  DoctorStopMo ought to as well judging from his post.  That's what inspired me to add the spline stuff :)
Logged