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