View Full Version : perform_NP_duplicateAlongCurve.mel

09 September 2010, 02:42 PM

I can not make this plug-in work and I don't know what I am doing wrong. Can someone help me? Video example on how the plug-in works:

(Plug in link: (

This script add in the standard duplicate options:
- duplicate total transform:
duplicate a single DAG object on a 1, 2 or 3 dimensional array with the 3 simple space description: "cubic", "cylindrical" and "spherical".
- duplicate along nurbs curves:
duplicate a single DAG object on a ensemble of selected nurbs curves.
- duplicate along nurbs surfaces:
duplicate a single DAG object on a ensemble of selected nurbs surfaces.
Put the 4 files:
- perform_NP_duplicate.mel
- perform_NP_duplicateAlongCurve.mel
- perform_NP_duplicateAlongSurface.mel
- perform_NP_duplicateTotalTransform.mel
that you find on the "_NP_duplicate.1.2.rar" on your mel scripts folder:
(Windows) drive:\Documents and Settings\username\My Documents\maya\scripts
(Mac OS X) Users/username/Library/Preferences/Alias/maya/6.0/scripts
(IRIX and Linux) ~username/maya/scripts
create or locate your userSetup.mel, by default on this folder:
(Windows) <drive>:\Documents and Settings\<username>\My Documents\maya\<Version>\scripts
(Mac) ~/Library/Preferences/Alias/maya/<version>/scripts
(Linux) ~/maya/<version>/scripts
or, if you use the BonusTool, in the script folder of it.
(Windows) <drive>:\Program Files\Alias\Maya<Version>\BonusTools
(Mac) /Users/Shared/Alias/maya/<Version>
(Linux) /usr/aw/maya<Version>/BonusTools
and put the command:
source perform_NP_duplicate;
save and close and restart maya...
Known Problems
- the "undo" doesn't work after the creation operation.
Total Transform
- the duplicated on the same position are not removed when the angle is set to a complete rotation.
- the refresh of the aim constraint is in some case not evaluated, move the locator or the parent group to obtain it.
on Curves
- the refresh of the animation snapshot is not correct when the number decrease.
- the "connect in/out meshes" is very impredictable (if you have any solution, mail me, thanks)

for more informations, see on:
for anything, contact me: n.pastrana(a)

CGTalk Moderation
09 September 2010, 02:42 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.