NVil Forum
General Category => NVILL Discussion => Topic started by: Passerby on July 20, 2013, 08:58:51 pm
-
here it is just save goNvil.py (http://cmcproductions.co.uk/files/goNvil.py) to your maya scripts directory and make to python shelf buttons like these
send to nvil:
import goNvil
goNvil.exportObj()
get from nvil:
import goNvil
goNvil.importObj()
Will add some new features later, since i got a few workflow improvement ideas, but here is code i banged out in 2 minutes that works.
you can run the export like goNvil.exportObj(center=True) if you are exporting 1 object and would like it to be centered in your nvil scene when brought in.
-
updated with correct path from the September 18th 2013 update
-
Hey Passerby, the link to your goNvil.py script is giving me a 404 not found.
-
Not work in maya 2016 :'(
-
anyone have a backup of the script? I have been on haitus and seem to have lost the py script.
-
Found it...see attachment
-
Would love FBX support...because of the added features of this format.
-
Would love FBX support...because of the added features of this format.
Probably a matter of replacing a couple of lines in this Python script. I can't tell which ones though, because all links are 404.
-
https://www.dropbox.com/s/cq4gd5to33abekm/goNvil.py?dl=0
-
https://www.dropbox.com/s/cq4gd5to33abekm/goNvil.py?dl=0
Copy code lines in notpad and save goNvil.py file in Documents>>maya2018>> script folder.
open maya>> shelf editor >>shelf contents>> add button
after click command tab
language select pyhton
Get nvil code
import goNvil
goNvil.importObj();
Save All shelves
when u object done in nvil. File>>Clipboard>>copy(obj)
open maya and click your shelf button
its works MAYA2018
-
Hi! I want to share my script, I wrote it a long long time ago and using it for years but it wasn't really polished and sophisticated, so I keep putting it off until recently I finally squeezed some time and make myself to rewrite it so it was more presentable and more useful for public. I also created a video showing how to setup the script and using it.
You can get the scripts at my github:
https://github.com/miica37/miica-scripts/tree/master/Nvil (https://github.com/miica37/miica-scripts/tree/master/Nvil)
and this is the link to the video:
https://youtu.be/Whj9iwwWno4 (https://youtu.be/Whj9iwwWno4)
(https://www.dropbox.com/s/hh3cisle39anvv9/Nvil-Maya-Copy-Paste-Script%20Thumbnail%20Small.jpg?raw=1)
I hope you find it useful as much as I did. Please reply here if you found any bugs, problems or if you have any suggestion to improve the script, I will really appreciate it, Thanks!
I also have another script (with an UI) that are also for importing and exporting objs, not neccessarily for Nvil but more of a tool to manage your import export location, I haven't polish it yet but I really hope to share it soon and make another video.
-
FBX support would be cool, as it supports creases , whereas obj does not support creases.
-
Yes! I will look into fbx as soon as I find the time, I remember facing some problems last time using fbx to transfer object between maya and nvil and just go back to use obj because I couldn't solve the problem, but I will try again 8)