C4DLounge.eu - Cinema 4D Gebruikers Forum  

Go Back   C4DLounge.eu - Cinema 4D Gebruikers Forum > RESOURCES > Recources, Tips >>> > Plugins & Scripts/Python

Reply
 
Thread Tools Display Modes
  #1  
Old 15th May 2019
blastframe blastframe is offline
Junior Member
 
Join Date: May 2019
Posts: 1
Question Splitting Selections maintaining Point Order

Hello,
I’m trying to combine UVW tags so I can use one texture for several objects. I have found a method that is successful:
  1. Run the Connect command on the objects
  2. Run the UVCommand “Realign”
  3. Separate the objects
  4. Copy the UVW tag of the separated object to the original object

I’m trying to write a script that does this. The trouble comes with step 3: Separate the objects. When I use the “Polygon Groups to Objects” command, this method works.


Often, though, I don’t want to explode the object into smaller objects; I just want to realign the existing UV islands and keep the polygon groups as one object. So I tried a different method: combining them with polygon Selection Tags for each object, selecting each object with a Selection Tag, then running the Split modeling command (as described for scripting in this forum post).

For some reason, this script’s method seems to rearrange the points, because when I drag the split object’s UVW tag to the original geometry, many of the points jump to the same UV space.


Can you please help me separate objects using Selection Tags (or another method) without separating all the polygon groups while maintaining the point order so I can copy the UVW tag to the original object? My scene file is here.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT +2. The time now is 12:31.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Met trots gehost door Webdesign bureau Graphic Violence.
(c) C4DLounge.eu . All documents on this forum are owned by their respective creators and may not be sold or republished in any way.