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

UV layout duplicates mesh and sends nothing from Maya

 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cgbeige



Posts: 52
Joined: 20 May 2009

PostPosted: Mon Jun 08, 2009 1:36 pm    Post subject: UV layout duplicates mesh and sends nothing from Maya Reply with quote

I have this odd problem that comes back every once in a while. I will hit Send to UV Layout from Maya 2009 and the mesh will simply be duplicated and then there will be an error like this:

// Error: No object matches name: uvlayout_EARTHQUAKE8:polySurface1 //

any ideas how to avoid this?
Back to top
View user's profile Send private message
headus
Site Admin


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

PostPosted: Mon Jun 08, 2009 8:07 pm    Post subject: Reply with quote

The plugin makes a copy of the selected objects before sending them to UVLayout, so that's why you're getting the duplicate, but something is being messed up with the names, so the copy doesn't get deleted and the rest of the script fails.

Maybe its something to do with your scene structure? Next time it happens, can you save out the scene, zip it up and email it to me?

Thanks,

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



Posts: 52
Joined: 20 May 2009

PostPosted: Tue Jun 09, 2009 9:00 am    Post subject: Reply with quote

I suspect it might be because the name already has headus or whatever in it - I'll try a few tests out.
Back to top
View user's profile Send private message
headus
Site Admin


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

PostPosted: Tue Jun 09, 2009 3:48 pm    Post subject: Reply with quote

Thanks! I'm travelling at the moment, and didn't bring my Maya dongle with me, so cant do any testing myself until next week.

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



Posts: 52
Joined: 20 May 2009

PostPosted: Tue Jun 09, 2009 5:49 pm    Post subject: Reply with quote

ok - I found the source of the problem. When Maya imports pasted meshes, appends the project name and a colon before the object and when UV layout tries to send the file, it chokes because OS X doesn't like colons in filenames (they are used instead of / or
\ on the Mac). The fix is easy – just rename the object and remove the colon – but I think that most people won't know this workaround so I suggest adding a check to the object name and making colons underscores or something if possible.
Back to top
View user's profile Send private message
headus
Site Admin


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

PostPosted: Wed Jun 10, 2009 5:21 pm    Post subject: Reply with quote

Excellent debugging! Thanks for finding that, and I probably wouldn't have myself because I'd have been using the Windows version of Maya to try and duplicate the problem.

I'll update the script once I get back to the office.

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



Posts: 52
Joined: 20 May 2009

PostPosted: Wed Jun 10, 2009 5:58 pm    Post subject: Reply with quote

well I beta test for Autodesk and Adobe so I'm a trouble-shooting ninja. if you ever need a beta tester, I'd be in for a free Pro license Razz
Back to top
View user's profile Send private message
DragoCG



Posts: 3
Joined: 26 Jul 2010

PostPosted: Mon Jul 26, 2010 12:15 pm    Post subject: Reply with quote

This is the same problem I just posted about an hour ago, but it's happening to me on a pc and I don't have any strange naming structures. The objs are objects I imported after export from Mudbox, but not sure if that would change anything.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT - 8 Hours
Page 1 of 1

 
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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group