you can get the models by using
http://www.3dcg-arts.net/api/model/get/ ... ormat/XXXX
were you replace XXXX with the number of the model
for example I used
http://www.3dcg-arts.net/art/3687
so the link to the model would be
http://www.3dcg-arts.net/api/model/get/ ... ormat/3687
Anyway, looking in the file and sorting the numbers after "faces:" I get something like
Code: Select all
43, 2,3,1,0 ,1, 0,1,2,3,0,0,0,0,
42, 5,6,4 ,2, 4,5,6,1,1,1,
42, 6,7,4 ,2, 5,7,6,1,1,1,
42, 7,8,4 ,2, 7,8,6,1,1,1,
42, 8,9,4 ,2, 8,9,6,1,1,1,
42, 9,10,4 ,2, 9,10,6,1,1,1,
42, 10,5,4 ,2, 10,4,6,1,1,1,
43, 13,14,12,11 ,2, 11,12,13,14,2,2,2,2,
43, 15,16,14,13 ,2, 15,15,12,11,3,3,3,3,
43, 19,20,18,17 ,2, 11,12,13,14,4,4,4,4,
43, 21,22,20,19 ,2, 15,15,12,11,5,5,5,5,
43, 25,26,24,23 ,2, 11,12,13,14,6,6,6,6,
43, 27,28,26,25 ,2, 15,15,12,11,3,3,3,3,
43, 31,32,30,29 ,2, 11,12,13,14,7,7,7,7,
43, 33,34,32,31 ,2, 15,15,12,11,5,5,5,5,
43, 37,38,36,35 ,2, 11,12,13,14,8,8,8,8,
43, 39,40,38,37 ,2, 15,15,12,11,3,3,3,3,
43, 43,44,42,41 ,2, 11,12,13,14,9,9,9,9,
43, 45,46,44,43 ,2, 15,15,12,11,10,10,10,10
3/3/3 4/4/4 2/2/2 1/1/1
For every 42 I want it to do the same except only to the first 3 numbers after it.
So doing that to the text above I should get
Code: Select all
3/3/3 4/4/4 2/2/2 1/1/1
6/6/6 7/7/7 5/5/5
7/7/7 8/8/8 5/5/5
8/8/8 9/9/9 5/5/5
9/9/9 10/10/10 5/5/5
10/10/10 11/11/11 5/5/5
11/11/11 6/6/6 5/5/5
14/14/14 15/15/15 13/13/13 12/12/12
16/16/16 17/17/17 15/15/15 14/14/14
20/20/20 21/21/21 19/19/19 18/18/18
22/22/22 23/23/23 21/21/21 20/20/20
26/26/26 27/27/27 25/25/25 24/24/24
28/28/28 29/29/29 27/27/27 26/26/26
32/32/32 33/33/33 31/31/31 30/30/30
34/34/34 35/35/35 33/33/33 32/32/32
38/38/38 39/39/39 37/37/37 36/36/36
40/40/40 41/41/41 39/39/39 38/38/38
44/44/44 45/45/45 43/43/43 42/42/42
46/46/46 47/47/47 45/45/45 44/44/44



