Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: New ASL Functions in v0.97b update  (Read 10294 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
New ASL Functions in v0.97b update
« on: June 05, 2008, 03: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 05, 2008, 10:15:58 pm »

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 05, 2008, 11:10:47 pm »

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: 2124
    • View Profile
Re: New ASL Functions in v0.97b update
« Reply #3 on: June 06, 2008, 01: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