News:

 

Topic: NvilClipboard (Maya)  (Read 12008 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 547
  • Administrator
  • Polygon
July 20, 2013, 08:58:51 pm
here it is just save 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.
« Last Edit: April 08, 2014, 01:01:02 pm by Passerby »

  • Posts: 547
  • Administrator
  • Polygon
September 18, 2013, 08:08:32 pm
updated with correct path from the September 18th 2013 update

  • No avatar
  • Posts: 162
  • Spline
    • Portfolio
March 25, 2015, 02:21:20 pm
Hey Passerby,  the link to your goNvil.py script is giving me a 404 not found.
Senior 3D Artist

  • No avatar
  • Posts: 306
  • Triangle
January 14, 2016, 06:00:00 pm
Not work in maya 2016 :'(

  • No avatar
  • Posts: 289
  • Triangle
    • Portfolio
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.

  • No avatar
  • Posts: 289
  • Triangle
    • Portfolio
March 15, 2016, 04:48:54 pm
Found it...see attachment

  • No avatar
  • Posts: 289
  • Triangle
    • Portfolio
April 07, 2018, 04:39:19 pm
Would love FBX support...because of the added features of this format.

  • No avatar
  • Posts: 976
  • Polygon
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.

  • No avatar
  • Posts: 289
  • Triangle
    • Portfolio

  • No avatar
  • Posts: 1
  • Vertex
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


  • No avatar
  • Posts: 176
  • Spline
    • White-creatures
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

and this is the link to the video:
https://youtu.be/Whj9iwwWno4



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.

  • No avatar
  • Posts: 289
  • Triangle
    • Portfolio
January 19, 2020, 01:10:32 pm
FBX support would be cool, as it supports creases , whereas obj does not support creases.

  • No avatar
  • Posts: 176
  • Spline
    • White-creatures
January 22, 2020, 02:21:35 am
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)