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

[Blender <> UVLayout ] Bridge

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



Posts: 3
Joined: 05 Dec 2017

PostPosted: Tue Dec 05, 2017 1:19 am    Post subject: [Blender <> UVLayout ] Bridge Reply with quote

Hi there!

It's a Blender bridge add-on between two programs Blender and Headus UVLayout for UV maps editing.

Description:
Bridge Settings:
- Mode: UVLayout modes Poly or SUBD.
- UV: Editing type, just New or Edit for selected UV channel
- UV channel: Blender's UV map index.
And UVLayout send button.

How to install:
Blender>User Preferences >Add-ons>Install add-on from file>Select uvLayout_Bridge.py

And it will appeared in UV category.
Then you have to make it active and select path to UVLayout.

------Download-----

https://gumroad.com/l/Blender2UVLayoutBridge

Have a nice day and donate if you enjoy it!
Back to top
View user's profile Send private message
headus
Site Admin


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

PostPosted: Tue Dec 05, 2017 4:21 pm    Post subject: Reply with quote

Thanks for sharing you work on the Blender plugin!

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



Posts: 3
Joined: 05 Dec 2017

PostPosted: Wed Dec 06, 2017 7:09 am    Post subject: Reply with quote

headus wrote:
Thanks for sharing you work on the Blender plugin!

Phil


You are welcome!
Back to top
View user's profile Send private message
dela



Posts: 20
Joined: 06 Dec 2017

PostPosted: Wed Dec 06, 2017 9:49 am    Post subject: Reply with quote

I tried this but its written for Windows i see. Im trying to get it to work on OSX but im running into issues.

I can get to open using Headus-UVlayout-Pro.app but then nothing happens. When i try to use uvlayout_proc = subprocess.Popen(["/bin/bash","-c","open "+appOpen ,'--args', path + file_Name])

Whee appOpen = '/Applications/headus-UVLayout-Pro.app/Contents/MacOS/uvlayout-plugin' i get a error, "uvlayoutP: Need to define plugin transfer file in args."

How can we pass the arguments to that plugin?
Back to top
View user's profile Send private message
dela



Posts: 20
Joined: 06 Dec 2017

PostPosted: Wed Dec 06, 2017 10:17 am    Post subject: Reply with quote

I got it sort of working but now get errors in the terminal. Ive searched the forum about this OSX issue. Not very clear whats happening. First i thought its due too permission, so i tried hardcoding a different file on the desktop. But still i get this error in below in the terminal.

Code:
arning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:      ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':<Key>osfBeginLine:      ManagerGadgetTraverseHome()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:   ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:   ManagerGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:   MenuBarGadgetSelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:   ManagerParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:      MenuHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:         ManagerGadgetHelp()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:   PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfHelp
Warning: ... found while parsing ':<Key>osfHelp:      Help()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:   PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfCancel
Warning: ... found while parsing ':<Key>osfCancel:   MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:   ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:      PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:      PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:      PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfActivate
Warning: ... found while parsing ':<Key>osfActivate:   PrimitiveParentActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:   ArmAndActivate()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfPrimaryPaste
Warning: ... found while parsing ':m <Key>osfPrimaryPaste:cut-primary()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfBeginLine
Warning: ... found while parsing ':s c <Key>osfBeginLine:      ListBeginDataExtend()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfCancel
Warning: ... found while parsing '<Key>osfCancel:         MenuEscape()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:   KeySelect()'
Warning: String to TranslationTable conversion encountered errors
Warning: translation table syntax error: Unknown keysym name:  osfSelect
Warning: ... found while parsing ':<Key>osfSelect:   KeySelect()'
Warning: String to TranslationTable conversion encountered errors


When i load the model manual with that plugin menu open it loads just fine
Back to top
View user's profile Send private message
dela



Posts: 20
Joined: 06 Dec 2017

PostPosted: Wed Dec 06, 2017 1:11 pm    Post subject: Reply with quote

I got it working now in OSX, though i can seem to pass the Poly/subd or Edit / new variables yet. I try to get that working as well.

PS you dont have a check for when nothing is selected. It will export but UVlayout gives error about empty mesh. Ive added a check for that. Now i only need to add a fix for import part.
Back to top
View user's profile Send private message
Titus



Posts: 3
Joined: 05 Dec 2017

PostPosted: Thu Dec 07, 2017 11:16 am    Post subject: Reply with quote

Yep, I think we can dig here http://www.uvlayout.com/doc/Installation_Guide:_OS_X
Back to top
View user's profile Send private message
dela



Posts: 20
Joined: 06 Dec 2017

PostPosted: Thu Dec 07, 2017 11:59 am    Post subject: Reply with quote

It will open the UVlayout but keeps opening in 'regular' modus. only when i run the plugin direct and pass the file does it work. It does catch the arguments because when i add them i get this warning;

Code:
uvlayoutP: Need to define plugin transfer file in args.
Back to top
View user's profile Send private message
dela



Posts: 20
Joined: 06 Dec 2017

PostPosted: Thu Dec 07, 2017 12:05 pm    Post subject: Reply with quote

What is the tilde (~) icon do in the those panels? When i click it changes to a V, i cant find the meaning of this in the manual
Back to top
View user's profile Send private message
dela



Posts: 20
Joined: 06 Dec 2017

PostPosted: Thu Dec 07, 2017 2:19 pm    Post subject: Reply with quote

Okay it remember panel location, thats handy. Was not in the manual though
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 can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group