headus 3D tools headus 3D tools / 3D scans
Support Forums
 
 FAQFAQ   SearchSearch    UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
headus 3D scans

Maya Plugin v2
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Tue Nov 06, 2007 11:55 pm    Post subject: Reply with quote

"has it been updated/tested ok with 2008? "

No sorry, I haven't gotten round to doing that yet. One thing you should check is that you've changed the uvlayout_home() return value in uvlayout_open.mel. By default its "C:/Program Files/headus UVLayout" so you'll need to change it to "C:/Program Files/headus UVLayout v2 Professional". And if I remember correctly, MEL needs uniz style forward slashes in those paths too.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 12:07 am    Post subject: Reply with quote

Hey Phil, a good idea, I changed the slashes but no luck still. So in theory it can now see the correct DIR, but still no luck with loading.

I will keep trying and if I get it working I`ll post how Cool

Hope it will work soon tho!

Ta,
Paul
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 12:16 am    Post subject: Reply with quote

Edit uvlayout_open.mel and look for the debug variable ... set it to "1", reload the script, then you'll hopefully get something like the attached image in the Script Editor window when you try and "Run UVLayout". It confirms the setting of the "home" variable, then checks that uvlayout.exe exists in that folder, then shows the "start" command used to run UVLayout.

Phil



plugin-debug.jpg
 Description:
 Filesize:  82.08 KB
 Viewed:  33309 Time(s)

plugin-debug.jpg


Back to top
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 5:16 pm    Post subject: Reply with quote

Hey Phil, thanks for the help! I was looking for a debugging line to see what was going on, but I`m no scripter, just simple artist Smile

This is whats going on when I click on RUN.

Code:
uvlayout_run;
uvlayout -plugin uvl4128.obj > /dev/null 2>&1 &


Sort of says something is bad to me, as its not like your image.
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 5:28 pm    Post subject: Reply with quote

Interesting ... thats the Linux start up call. Are you doing this under Linux, or Windows? It could be that the code in the script that detects the OS is broken under Maya 2008.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 5:39 pm    Post subject: Reply with quote

Ah, I should have said at first, WinXp here!

Thanks,
Paul
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 5:55 pm    Post subject: Reply with quote

OK, that must be the problem then! The MEL script uses this line to use different code for Windows or Linux ...

if( `exists Win32Init`)

... so that mustn't be working correctly under Maya 2008.

I'll get Maya 2008 installed here so I can find the correct solution, but in the meantime you could edit uvlayout_open.mel and change the 3 occurrences of "`exists Win32Init`" to "1". So those lines should look like this ...

if( 1)

... and that'll force it to run the Windows code.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BigErn



Posts: 20
Joined: 06 Nov 2007
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 6:08 pm    Post subject: Reply with quote

and now its working! Excellent work Smile

thanks Phil ! : Very Happy Very Happy Very Happy
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Wed Nov 07, 2007 6:31 pm    Post subject: Reply with quote

Great! I'm downloading 2008 now, so should hopefully have a fixed script ready sometime in the next couple of days.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pietro



Posts: 3
Joined: 09 Nov 2007
Location: London

PostPosted: Fri Nov 09, 2007 3:23 am    Post subject: send back to maya not working Reply with quote

Hi guys, I installed the plugin for the Linux version, and everything works fine except for the point where I'm supposed to return my uvd mesh to maya.

I don't know how to do it, since my UVlayout interface doesn't have any "SEND" button but it looks like the interface when you start it from a shell...

i tried to send via the shelf button or the SEND MESH button in the info pane, but I'll never goes back to maya and when i press the X key to retrieve it i don't get anything...

Where can it be that I made a mistake??

Thanks
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Sun Nov 11, 2007 5:20 pm    Post subject: Reply with quote

" my UVlayout interface doesn't have any "SEND" button "

Thats odd. If the mesh got loaded automatically into UVLayout when you did the "Send" from Maya, then its definitely running in plugin mode, so should be showing the Send button in the UVLayout GUI too.

Which version of UVLayout are you running?

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pietro



Posts: 3
Joined: 09 Nov 2007
Location: London

PostPosted: Mon Nov 12, 2007 2:26 am    Post subject: Reply with quote

Hi Phil,

thanks for your answer.

I'm running version 2.00.02

I tried also to run it for a shell with the flag -plugin, but it opens as usual with no Send button but only Load Save and Update.

Can it be that is missing something from the installation??

Thanks
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Mon Nov 12, 2007 3:33 am    Post subject: Reply with quote

"I'm running version 2.00.02 "

I did some work on the plugin code right after that release, so it is possible that something was broken in the Linux v2.00.02 build that got fixed with v2.00.03. You can get the latest release (v2.00.04) from your Support Download page at www.uvlayout.com.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pietro



Posts: 3
Joined: 09 Nov 2007
Location: London

PostPosted: Mon Nov 12, 2007 3:49 am    Post subject: Reply with quote

Right!

Thanks, I'll let you know if it works better for me.
Back to top
View user's profile Send private message
headus
Site Admin


Posts: 2899
Joined: 24 Mar 2005
Location: Perth, Australia

PostPosted: Mon Nov 12, 2007 8:00 pm    Post subject: Reply with quote

"has it been updated/tested ok with 2008? "

Now it has, and there's a new download for the fixed script at the beginning of this topic.

Phil
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 2 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group