Yes, need some help (again) ...
From inside my CAD program, I like to export .mesh objects.
see example image below.
This is a fully math/algorithm created 3D object using LERP/CERP, that I like to integrate in my CAD program.
It's a rotated wedge with a programmable radius inside, radius outside, height and angle.
All vertices X,Y,Z positions are stored in an array()
1) calculated/created the bottom vertices (red)
2) calculated/created the inside vertices (yellow)
3) calculated/created the outside vertices (light blue)
4) calculated/created the top vertices (green)
5) calculated/created the side vertices (orange)
So, I have a lot of double vertices in my list/array.
Q1) Is there a simple way to create the needed triangles/faces to create a mesh ?
Q2) How can I best remove the doubles vertices in the list ?
I did some tests for the creation of the edges ... (see image)
but the next step to create the faces is a step to far ...
(or I'm to tired now after a day and night of work)
Greetings,
thanks,
marc
