Adverti horiz upsell

PinToCurve 1.10.2 for Maya (maya script)

Script pack for modelling via using curves

License
$20.00
(qty: 1)

  • Check 16 Future Updates Included
  • Check 16 Highend3d Quality Checked
  • Check 16 Purchase Guarantee
  • Check 16 Support Included

Compatibility

  • 2018, 2017, 2016

Operating Systems

  • Linux
  • Mac
  • Windows

History

Created:02/25/2015
Last Modified:06/26/2020
File Size: 128 KB

Q/A

Installation Problem

Date:11/04/2016
Submitted by: PixelParticles PixelParticles
I just purchased PinToCurve. I installed it under (macOS):
~/Library/Preferences/Autodesk/maya/2017/scripts/PinToCurve

I go to execute the commands, and it looks like there is a hardcoded path. See Attachment. What is going on?

Replies to this question:

  • Replyindent
    FormJune

    FormJune said about 5 years ago:

    I didn't test but my friend would say if it didn't work. Besides it gives an error itself not inside module. Can you try: import PinToCurve help(PinToCurve) or try extract folder modules into script folder, remove __init__ and use the code above again. It will check whether python can't read module or find it.
  • Replyindent
    PixelParticles

    PixelParticles said about 5 years ago:

    Thanks, but unfortunately this doesn't work either. Are you sure it works on macOS and Maya 2017 as stated in the summary? Here is some output: import platform import PinToCurve print(platform.python_version()) print dir(PinToCurve) 2.7.11 ['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__', 'alongCurve', 'curveMaker', 'ui'] from PinToCurve.PinToCurve import PinToCurveUI PinToCurveUI() # Error: line 1: ImportError: file line 1: No module named PinToCurve #
  • Replyindent
    FormJune

    FormJune said about 5 years ago:

    Hi, Kleanthis I suppose this might be related to Python looks for absolute class not related. At least my python interpreter (win, Maya 2016) gives same error when I try on console. Try use the next python code: from PinToCurve.PinToCurve import PinToCurveUI PinToCurveUI() Hope it gives the solution. Please respond if the error lasts. thanks, Andrey
  • FormJune

    FormJune said about 5 years ago:

    Just tested with my friend who has similar error. And there're two solutions: 1st: add PinToCurve into sys.path import sys, os, PinToCurve sys.path.append(os.path.dirname(PinToCurve.__file__)) PinToCurve.ui() 2nd: extract all containing data from "PinToCurve" into "maya/scripts" folder and using the next code: from PinToCurve import PinToCurveUI PinToCurve() Hope it'll help. Andrey
  • Replyindent
    PixelParticles

    PixelParticles said about 5 years ago:

    Yes, now it works. Thanks.
  • Replyindent
    FormJune

    FormJune said about 5 years ago:

    Looks like I've committed old version. My bad. Reuploaded with new one which was tested on Maya 2017 - it's working. Please, check now.
  • Replyindent
    PixelParticles

    PixelParticles said about 5 years ago:

    Are you testing it against Maya 2017? Doing either of those, gives the same error, which now is: # Error: line 1: ImportError: file C:/Users/Andrey/Documents/maya/scripts\PinToCurve\PinToCurve.py line 1: No module named PySide # Support for PySide and PyQt4 has changed in Maya 2017. Have a look at this: https://fredrikaverpil.github.io/2016/07/25/dealing-with-maya-2017-and-pyside2/

Post a reply: