Adverti horiz upsell

Create dynamic chain from curve 2.0.4 for Maya (maya script)

Generate chains from selected curves, ready for animation and very fast (but realistic) dynamic simulation.

License
Button download
11,329 Downloads

Compatibility

  • 2014, 2013, 2012, 2011

Operating Systems

  • Irix
  • Linux
  • Mac
  • Solaris
  • Windows

History

Created:09/22/2011
Last Modified:06/01/2013
File Size: 19.4 KB

Q/A

Help getting the script to work

Date:12/04/2012
Submitted by: Nicholas Cheveldave Nicholas Cheveldave
This script looks amazing but I can't seem to get it to work. I am new with the program and currently getting my way around it, I have folllowed many tutorial about how to get these to run but it still gives me an error. I am running a new MAC with Maya 2013, perhaps there are compatibility issues, or my coding knowledge is terrible. Perhaps someone knows of a video totorial I could look through in order to get it running, or some steps to get on my way?

Replies to this question:

  • Replyindent
    DARKREGARD

    DARKREGARD said almost 12 years ago:

    I have the same problem, the solution, copy only this code in the python tab: from chainCreator import * chainCreator() enjoy! Thank Valerio, great script!
  • Replyindent
    Valerio Di Napoli

    Valerio Di Napoli said almost 12 years ago:

    The error means that Maya doesn't find the script file. Maybe wrong folder or wrong maya.env settings. You can read about environment variables in Maya documentation: goo.gl/z4enO Try this code: import sys sys.path.append("[FULL PATH TO FOLDER HOLDING SCRIPT (for example /User/Library/Preferences/Autodesk/Maya2013 64X/Scripts)]") from chainCreator import * chainCreator()
  • Replyindent
    MeshWoods14

    MeshWoods14 said almost 12 years ago:

    Wow thanks for the fast response I went to the python tab and entered it middle mouse dragged it to my shelf and then it went on to say # Error: NameError: name 'chainCreator' is not defined. I hate to bother you again, and its probably some silly mistake but would you be able to tell me what this would mean? Sorry to bother again and thanks for any help you can give -MeshWood14
  • Replyindent
    Valerio Di Napoli

    Valerio Di Napoli said almost 12 years ago:

    You cannot run python code from MEL tabs. Just type the code in a python tab (or command line) instead.
  • Replyindent
    MeshWoods14

    MeshWoods14 said almost 12 years ago:

    Oh and i have a Mac...I dont know if that matters because i noticed that platforms you run it on.
  • Replyindent
    MeshWoods14

    MeshWoods14 said almost 12 years ago:

    Hi im some one who is kinda new to scripts and managed to put yours in my User>Library>Preferences>Autodesk>Maya2013 64X>Scripts folder and then i restarted Maya and entered your script in the MEL line and hit enter then i typed it a second time and middle mouse clicked it to my shelf. Now it showed up, but when i went to click it this showed up: # Error: SyntaxError: invalid syntax Would you know what it means did i go to the wrong scripts folder? Any help is greatly appreciated thanks -MeshWood14
  • Replyindent
    Valerio Di Napoli

    Valerio Di Napoli said almost 12 years ago:

    Hi Hicholas, during last year many users told me that the script works even in Maya 2013. If you paste here the error from the script editor, I'll try to help you. V.

Post a reply: