Jump to content
3DCoat Forums

[SCRIPT] ajz_toOneSet_uvRoom


ajz3d
 Share

Recommended Posts

  • Contributor

ajz_toOneSet_uvRoom

WHAT DOES IT DO?: The script will move all islands from all UV-sets of all objects to a single UV-set.

 

HOW DO I USE IT?: Switch to UV room, if you aren't already in it. Start the script (Scripts->Move all islands to a single UV-set). You will be presented with a dialog window where you can choose to perform the following commands:

- Delete unused UV-sets - this will automatically trigger Apply UV-set command at the very end.

- Auto Scale - calls Auto Scale tool. This will scale all islands to equal proportions.

- Pack UVs - calls PackUV2 tool.

The order of operations: Move->Auto Scale->Pack UVs->Delete unused UV-sets.

 

INSTALLATION:
1. Unpack both files to %USERPROFILE%/Documents/Scripts/ExtraMenuItems/.
2. Start 3D Coat.
3. You will find the script in Scripts->Move all islands to a single UV-set.
 
DOWNLOAD: ajz_toOneSet_v1.01.zip

 

I didn't have time to test it much, so use at your own risk.

  • Like 2
Link to comment
Share on other sites

  • Contributor

Yes, but I would like to simplify it first. It was written before Andrew added the SelectAllVisibleFaces() function (or at least I didn't notice this function back then), so the script is currently overcomplicated.

Ideally, I'd like to use one script for both rooms.

Edited by ajz3d
Link to comment
Share on other sites

  • Contributor

Ok, the script only needed a few changes to become compatible with the Retopo room.

Now it works in both: Retopo and UV rooms. Hidden retopo groups will not be processed by the script.

Here's the hot bun from the oven: ajz_toOneSet_v1.01.zip ;)

 

IF YOU'RE UPGRADING FROM THE INITIAL VERSION, make sure to remove older version from %USERPROFILE%/Documents/Scripts/ExtraMenuItems/ before unpacking the new one.

  • Like 2
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
  • Contributor
14 hours ago, Michaelgdrs said:

Is it possible to do a small mod in the script?

Can we have an option to put the uv islands  in one uvset as it does now , but also have the option to keep the separate materials???

At the moment I don't think it's possible. Unfortunately for the time being scripting covers only some aspects of 3D-Coat and the support of UV-sets and materials is incomplete IMHO.

  • Like 1
Link to comment
Share on other sites

  • 10 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...