Member cread Posted September 4, 2025 Member Share Posted September 4, 2025 Hi, I have some questions about python scripting in the uv room (although C++ is fine too). 1. I'd like to precisely scale the islands and the UI gizmo only appears to support mouse input which is too inexact for my needs. How can i get the selected UV islands via API? the uv_rotation sample shows how to get ALL islands by count but not by selected islands. There is a function called coat.uv.selectedToMesh which is probably more efficient than the sample (since the mesh is backed by a c++ object) but i don't see how to get any transformed results BACK to the selected UV islands. I don't see any "ID" (such as objectID) that one could use to take the transforms and insert them back similar to coat.uv.meshToIsland (). 2. I'd also like to use the coat.uv.toUvSet function which appears to work fine EXCEPT that it does not remove the UV islands from the source material. Is there a way to delete from the source material after i've called coat.uv.toUvSet ()? ex. coat.uv.deleteIsland () 3. Finally, there appears to be a bug (3dcoat 2025.10) with coat.uv.uvSetsCount () which appears to be returning a stale value. Say i have 3 materials and add a new blank one. Initially uvSetSCount() is returning 3 unless i save my 3dc file and reload it. After reload the API correctly reports 4. i.e. coat.uv.uvSetCount () == 4. Thanks for 3dcoat - it's amazing. 1 Quote Link to comment Share on other sites More sharing options...
Carlosan Posted September 4, 2025 Share Posted September 4, 2025 Hi Please contact @carrots asking for this support. Thanks 1 Quote Link to comment Share on other sites More sharing options...
Member cread Posted September 4, 2025 Author Member Share Posted September 4, 2025 done, thanks! 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.