Get UV-s from the UV room and convert them to the sculpt room objects.
Get UV-s from the UV room and convert them to the sculpt room objects
1import coat
2
3
6print("n_sets: " + str(n_sets) + "\n")
7
8
9for s in range(n_sets):
11
12 for i in range(n_islands):
13 print("uv_" + str(s) + "_island_"+str(i))
14
16
18
19 v.toSurface()
20
21 island_mesh.shell(0.02, 0.02, 4)
22
24
25
SceneElement sculptRoot()
get the root of all sculpt objects
Definition coat.py:2687
mat4 Scaling(float XYZ)
Definition coat.py:578
toRoom(str name, bool Force=False)
switch to the room
Definition coat.py:3284
int islandsCount(int uv_set)
get the islands count over the current uv-set
Definition coat.py:3971
int uvSetsCount()
get the UV-sets count.
Definition coat.py:3954
Mesh islandToMesh(int uv_set, int island_index)
get the mesh that contains the island, xy of each point is the UV coordinate.
Definition coat.py:3977