Notifications
Clear all
[Closed] Create vertices at some distance
May 01, 2015 11:53 am
Hello Everybody,
i am using SDK, maxscript and C++. 3ds max version 2013 and visual studio 2010.
I am having a plane, and i am creating a snapshot mesh of that, converting that to Editable poly.
Now in the snapshot mesh, i am having vertices only in the edge segments.
I need to create vertices inside the plane along with each edge vertices at a distance 0.1 inches.
for eg.
one of the edge vertex is at [-10,-9.5,0.0], the inner vertex should be at [-9.9,-9.5,0.0]
and for vertex at position [-8.4, -10.0, 0.0], inner vertex should at [-8.4, -9.9, 0.0]
i am creating inner vertex by adding or subtracting 0.1 to x axis according to the x value (+ve or -ve).
see the image
http://postimg.org/image/twnwbdmiv/
all the inner vertices are created according to the x axis value only.
i would like to know in which axis i need to set 0.1 value as difference (either in x or y - no need for z, because my plane is at floor only)
Thanks in advance.
Regards,
Gopi.