Styler

Maya AppLink

73 posts in this topic

Hi guys.
Here is my small contribution in 3DCoat. =).
You can also watch preview-tutorial, how to use it

 

 

Version: 2.1.1

New:
- Initial compatibility with 3D-Coat 4.7
- Added support for Maya 2017

Fixed:
- Issue with running applink on Mac OS platform

Supported Maya 2011+ (32/64) win/linux/osx (requires PyQt/PySide)

 

version_2_1_0.jpg

 

_3dcoat_for_maya_v1.06.zip

 

 

3dcoat_for_maya_v2.1.2.zip

Edited by Styler
upgrade to version 1.06

Share this post


Link to post
Share on other sites

There is something wrong with maya applink and v4. Could you check this please?

Share this post


Link to post
Share on other sites

I'm working on it. Update will be available soon.

Share this post


Link to post
Share on other sites

Great! Thanx!

Share this post


Link to post
Share on other sites

Applink for maya 2012 x64 worked fine until yesterday... weird enough, today it loads the plugin, but it fails to read any proc. ex: Error: Cannot find procedure "_3dcoatUI". And so on, for all procedures. It makes no sense, it's like twilight zone... So I've overwritten the old py file with a 'fresh copy', in bin/plug-ins, nothing. Since this is a python script I have no idea what's going on with it. : <

and... PS: 2013 support pls, if you have the time... thanks! :)

Share this post


Link to post
Share on other sites

New plugin will be released soon, in during 2 weeks.

Error: Cannot find procedure "_3dcoatUI"

This usually means that plugin itself is not loaded. Check it status in plugin manager.

Edited by Styler

Share this post


Link to post
Share on other sites

Hey, I am on v4 beta and there this menu item "open in original app" isnt there anymore. Anyone know how to get stuff from 3dcoat to Maya via appLink? Also wanted to mention that I have a background in Maya API stuff ( Python and C++ ) so if there is anything I can help out with, please let me know.

Share this post


Link to post
Share on other sites

Version 2.0a has arrived. Happy New Year for everyone!

Share this post


Link to post
Share on other sites

Did a quick test and export/import worked right out of the box! Thank you so much!!! And happy new year to you as well!

Share this post


Link to post
Share on other sites

Hi a few things.

I have a prop I am trying to unwrap, when I use this script. I check the box that says, "Perform UV-Mapping in 3DCoat" (checkered icon), when I check that on an object on my prop (which has multiple objects)

I get this error.

[ref] mode

// Error: line 1: line 1: No object matches name: .color //

// Error: line 1: line 1: No object matches name: .ambientColor //

// Error: line 1: line 1: No object matches name: .normalCamera //

export complete

// Error: line 1: AttributeError: file C:/Program Files/Autodesk/Maya2013.5/bin/plug-ins/3dc_connector.py line 1000: 'module' object has no attribute 'MStatus' //

What do the first 3 lines mean?

Either way it works...I loads up in 3DCoat.....So now I do all my unwrapping in, and save the UVS, and go to File> Open in original app

Now when I bring a piece of my prop back in, I chose the IMP icon on my 3DCoat tab, and all the options are checked. I choose ok, and my object is imported.....however....every other geometry in my scene dissapears, and is no longer in my outliner, every object, other than the one I brought in from 3Dcoat just GONE......WTH is that all about?

This is the message I get once I import my object back in from 3DCoat using your script.

C:/Users/Owner/Documents/maya/projects/default/3dcoat/import.obj

Import: can't parse SG

// Error: line 1: AttributeError: file C:/Program Files/Autodesk/Maya2013.5/bin/plug-ins/3dc_connector.py line 1053: 'module' object has no attribute 'MStatus' //

# Error: RuntimeError: file C:/Program Files/Autodesk/Maya2013.5/bin/plug-ins/3dc_connector.py line 641: Error occurred during execution of MEL script

line 1: AttributeError: file C:/Program Files/Autodesk/Maya2013.5/bin/plug-ins/3dc_connector.py line 1053: 'module' object has no attribute 'MStatus' #

Thanks,

Little frustrated, and lost on the matter.

Share this post


Link to post
Share on other sites

Hi:

The applink is working for i/o of the model, but when I import back to Maya, the textures are not included.

I have used both 'File/Open in original app', and 'export to Maya'. In both cases, an obj, mtl, and texture maps are saved to the 3DCoat folder. When I choose import, the obj is imported and deleted from the dir, so most of it seems to be working correctly.

In the video, you have a separate dialog for importing the textures, but I don't see that in the current version. I'm using Maya 2013, no SP.

Thanks.

Share this post


Link to post
Share on other sites

Ok guys. I just came back from vacation and ready to fix bugs.

Anthony Thomas

May I take a look hierarchy of your object? Will be nice to have a simple scene with the same object hierarchy that you used.

pixeldroid

thx for report, probably i found this broken place.

Share this post


Link to post
Share on other sites

Hey Neophyte,

Unfortunately I can't give you access to these files, as it is for a project under NDA. But if you feel it's a hierarchy issue, I can look through the hierarchy myself. What is it exactly I should be looking for?

Thanks!

:)

Share this post


Link to post
Share on other sites

Yes, i don't need your NDA scene, but with similar hierarchy =)

Share this post


Link to post
Share on other sites

I dont know why, but its not working on maya2013 for me, no textures when imports from 3dc, on maya2012 works fine :blink:

Share this post


Link to post
Share on other sites

Could you take a look into ScriptEditor? Is any warning message there?

Share this post


Link to post
Share on other sites

Could you take a look into ScriptEditor? Is any warning message there?

No warnings:

coatImport();
...........
file -import -type "OBJ" -ra true -options "mo=1" -pr -loadReferenceDepth "all" "F:/Docs/maya/projects/default/3dcoat/import.obj";
fileCmdCallback;
renameTextureViewPanel;
animationEditorFileCallback;
optionVar -exists dynPrefRunupToCurrentTime;
// Result: 1 //
optionVar -q dynPrefRunupToCurrentTime;
// Result: 0 //
proxyRefreshUI;
fileCmdRestoreCallback;
// Result: F:/Docs/maya/projects/default/3dcoat/import.obj //
[]
Edited by Lucoat

Share this post


Link to post
Share on other sites

When you just load the plugin, what Maya says?

Smth like:

------------------------------
maya.exe path: D:/Autodesk/Maya2014/bin/maya.exe
user docs path: d:/Documents/
3dcoat maya dir: d:/Documents/3D-CoatV3/Exchange/Maya/
maya project dir: E:/Projects/MayaTestCases/
maya 3dcoat dir: E:/Projects/MayaTestCases/3dcoat/
------------------------------
Edited by Styler

Share this post


Link to post
Share on other sites

Hah.. It seems like a have the same problem with Maya 2014. I'll fix it. Thanks for bug reporting

1 person likes this

Share this post


Link to post
Share on other sites


loadPlugin("3dc_applink.py");
------------------------------
maya.exe path: D:/Progs/Autodesk/Maya2013/bin/maya.exe
user docs path: F:/Docs/
3dcoat maya dir: F:/Docs/3D-CoatV4/Exchange/Maya/
maya project dir: F:/Docs/maya/projects/default/
maya 3dcoat dir: F:/Docs/maya/projects/default/3dcoat/
------------------------------
3dcoat connector successfully loaded.
// Result: 3dc_applink //

Share this post


Link to post
Share on other sites

Lucoat, I fixed that silly bug, take a new version.

Share this post


Link to post
Share on other sites

Hi. I am trying to install Ap link for maya 2014 however all the icons in the shelves do not appear? Any ideas for how to get these to appear and stay? I can load the icons in but they are not functional as I cannot tell what code to connect with which icon... also when I restart maya all the icons are gone again. 

 

Help!

 

-ethan Summers

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now