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:2843
mat4 Scaling(XYZ=float)
Definition coat.py:614
toRoom(name=str)
switch to the room
Definition coat.py:3251
Mesh islandToMesh(uv_set=int, island_index=int)
get the mesh that contains the island, xy of each point is the UV coordinate.
Definition coat.py:3991
int islandsCount(uv_set=int)
get the islands count over the current uv-set
Definition coat.py:3985
int uvSetsCount()
get the UV-sets count.
Definition coat.py:3968