NVil Forum

General Category => NVILL Discussion => Topic started by: Passerby on July 20, 2013, 08:58:51 pm

Title: NvilClipboard (Maya)
Post 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:
Code: [Select]
import goNvil
goNvil.exportObj()

get from nvil:
Code: [Select]
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.
Title: Re: goNvil(Maya)
Post by: Passerby on September 18, 2013, 08:08:32 pm
updated with correct path from the September 18th 2013 update
Title: Re: NvilClipboard (Maya)
Post by: ghib on March 25, 2015, 02:21:20 pm
Hey Passerby,  the link to your goNvil.py script is giving me a 404 not found.
Title: Re: NvilClipboard (Maya)
Post by: Darcvizer on January 14, 2016, 06:00:00 pm
Not work in maya 2016 :'(
Title: Re: NvilClipboard (Maya)
Post by: Mason on March 15, 2016, 04:31:07 pm
anyone have a backup of the script?  I have been on haitus and seem to have lost the py script.
Title: Re: NvilClipboard (Maya)
Post by: Mason on March 15, 2016, 04:48:54 pm
Found it...see attachment
Title: Re: NvilClipboard (Maya)
Post by: Mason on April 07, 2018, 04:39:19 pm
Would love FBX support...because of the added features of this format.
Title: Re: NvilClipboard (Maya)
Post by: rubberDuck on April 10, 2018, 02:29:10 pm
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.
Title: Re: NvilClipboard (Maya)
Post by: Mason on September 20, 2018, 12:06:06 pm
https://www.dropbox.com/s/cq4gd5to33abekm/goNvil.py?dl=0
Title: Re: NvilClipboard (Maya)
Post by: XratedManfanser on January 13, 2019, 10:46:14 pm
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

Title: Re: NvilClipboard (Maya)
Post by: miica on October 11, 2019, 01:08:02 pm
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.