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: Multiply (duplicate) objects along a guide  (Read 1783 times)

Helen-SBA

  • Newbie
  • *
  • Posts: 3
    • View Profile
Multiply (duplicate) objects along a guide
« on: May 10, 2025, 05:08:15 am »

Hi all!

Help me, please.

How can I automate the placement of copies of objects along the coordinate axes, specified guides, or along the edge of an object?

For example, I'd like to make a fence near a factory and need to place many identical posts along the perimeter of a rectangle.
Another example is to place posts along a road.
Another example is to place beads along the edge of a dress.
« Last Edit: May 10, 2025, 07:31:42 pm by Helen-SBA »
Logged

Gyperboloid

  • Sr. Member
  • ****
  • Posts: 285
  • It's better not to do anything, than to do nothing
    • View Profile
Re: Multiply (duplicate) objects along a guide
« Reply #1 on: May 16, 2025, 02:05:45 pm »

The basic way to place copies along an axis is actually to use copy/paste. You copy/paste the original object and then move it with the use of "SNAP to GRID" tool. Set the spacing as needed. Then select the two objects, copy/paste again, calculate the new spacing needed, change it in "Snap to Grid" spacing Grid settings and move. Repeat as many times needed. In some easy situations it is a solution.
Anim8or doesn't have a built in command for automation like this. But there are scripts ! You can use a "path" tool to set a path along which your object will be duplicated. Also there's a script for copying mesh ( source ) along another mesh ( target ), but I think the one with the path is what you need.

Here are the links : a) For the path script Animating Tank Treads in Anim8or ( use the first script )
b) For the mesh to mesh ( most likely not for your case ) Script: Copy "Source" mesh to "Target" mesh
Logged

Helen-SBA

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Multiply (duplicate) objects along a guide
« Reply #2 on: May 19, 2025, 09:24:17 am »

Thank you very much, this looks like what I need. I will try to figure out the scripts and how it works. You have been very helpful!
Logged