[ Last Package Update: 2008, Nov. 20th ]
Well, I think that after releasing this package I could take a break from ASL and dedicate my time to learn modelling, I severely need it.
Sorry for opening another topic, but once again I made quite some changes to the scripts, filenaming included, so I decided to post them separately, to avoid any confusion.
The attached zip contains the following files:
1 - Magnet Sphere.a8s
2 - Magnet Sphere Autodivide.a8s
3 - Magnet Cube.a8s
4 - Magnet Mesh.a8s
5 - Magnet Mesh Autodivide.a8s
6 - Magnet Mesh World.a8s
7 - Magnet Mesh + Origin.a8s
8 - Magnet Mesh + Range.a8s
9 - Align Cube.a8s
10 - Align Mesh.a8s
i - Magnet Tools readme.txt
All the scripts share the same "mag", "mag-xy" etc naming convention.
Align scripts use "ali" instead of "mag".
Some details:
Magnet Sphere.a8s
Magnet Sphere Autodivide.a8s
-- The original spherical magnet, with separate push/pull modes, the second
version subdivides the faces of mesh01 as you enlarge them.
Magnet Cube.a8s
-- The same of the Magnet Sphere, but here you use a cube converted to mesh.
You can n-scale the cube like a plane and use this script to flatten some faces on a mesh. You can also n-scale the cube as a pillar and use it to align some points on a line. Alignments are best done in pull mode, using one axis (to flatten points on a plane) or two axes (to align points on a line).
Align Cube.a8s
--- Same results of the Magnet Cube script except that this one aligns entire meshes by their origins. Align scripts use "ali" instead of "mag".
Both Cube scripts differ from all the others because the changes are made on the cube axes and not on the world coordinates.
These replace the "polimagnet" script:
Magnet Mesh.a8s
-- Checks if the points of mesh01 fall between the magnet's origin and the magnet's faces.
Magnet Mesh Autodivide.a8s
-- Same as above but subdividing "mesh01" in the same way of the Magnet Sphere Autodivide script.
Align Mesh.a8s
-- Same results of the Magnet Mesh but this time moving entire meshes by their origins. I tried it to align a wood of trees on top of a terrain, you can see the picture in the second post of this thread. Align scripts use "ali" instead of "mag".
Magnet Mesh World.a8s
-- Checks if the points of mesh01 fall between the world's origin and the magnet's faces.
Magnet Mesh + Origin.a8s
-- Checks if the points of mesh01 fall between the center of a sphere named "origin" and the magnet's faces.
Magnet Mesh + Range.a8s
-- Checks if the points of mesh01 fall between the center of a sphere named "range" and the magnet's faces, but only points and faces falling into that range sphere are considered.
Magnet Tools readme.txt
-- Contains all the instructions to run the scripts.
For the people who is seeing these scripts for the first time, you can take a look to their evolution in this thread:
Old Magnet ToolThere you can find some other ideas which have been implemented on the road but which have been left out in this release. The old, buggy and slow scripts are still there, if you care to know.
Also, that thread contains some examples of what can be done with these scripts.
I hope you'll find this package useful, I look forward to read your comments and critics, as well as to see some snapshot of the works you will eventually make using these tools.
Thank you for your attention, wish you lots of fun with Anim8or.