pix3l
07-12-2009, 08:54 PM
Hello scripterz
i'm working on something and have a question on how to create a surface/polys
what i have now is a script that reads a txt file and create a empty poly filled with vertex points.
from the top view is something like this:
...........
...........
...... ....
.... ....
..... .....
...........
now i want create a surface or create polys for my object and well i'm a bit stuck.
the reference : polyop.createPolygon <poly> <vertex array>
But how do i get a vertex array?
i would like to do something like this:
for each vert in obj:
get surrounding vert points
make poly
perhaps any of you have done this or has some pointers. i searched this forum and on scriptspot but i could not find anything helpfull....
is a bit in the direction of pointcloud meshing/visualizing....
oh yeah in this particular case the vertex are 1m for each other in x and y. the z changes.
but a sollution that is more general is better :)
Well hope any1 has some ideas!
Thx in advance
i'm working on something and have a question on how to create a surface/polys
what i have now is a script that reads a txt file and create a empty poly filled with vertex points.
from the top view is something like this:
...........
...........
...... ....
.... ....
..... .....
...........
now i want create a surface or create polys for my object and well i'm a bit stuck.
the reference : polyop.createPolygon <poly> <vertex array>
But how do i get a vertex array?
i would like to do something like this:
for each vert in obj:
get surrounding vert points
make poly
perhaps any of you have done this or has some pointers. i searched this forum and on scriptspot but i could not find anything helpfull....
is a bit in the direction of pointcloud meshing/visualizing....
oh yeah in this particular case the vertex are 1m for each other in x and y. the z changes.
but a sollution that is more general is better :)
Well hope any1 has some ideas!
Thx in advance
