sort / connect points to form clean polygons
Started by vectorblur, Jan 05 2012 02:07 AM
7 replies to this topic
#1
Posted 05 January 2012 - 02:07 AM
Hello Folks,
Given any random point order where points are located at the verts of an ngon in a plane (* attached image ) how to sort / connect points to form a closed clean surface.
I need it for a fun little thing "For any given platonic solid make the dual procedurally"
Converting Tetrahedron -> Inverted Tetrahedron, Cube -> Octahedron, Dodecahedron-> Icosahedron is real easy but i need to get the above sorting in place before i can make it work conversely.
i.e. Inverted tetra -> Tetra , Octa -> Cube , Icosa.->Dodeca.
Any Ideas on sort / connect ?
Given any random point order where points are located at the verts of an ngon in a plane (* attached image ) how to sort / connect points to form a closed clean surface.
I need it for a fun little thing "For any given platonic solid make the dual procedurally"
Converting Tetrahedron -> Inverted Tetrahedron, Cube -> Octahedron, Dodecahedron-> Icosahedron is real easy but i need to get the above sorting in place before i can make it work conversely.
i.e. Inverted tetra -> Tetra , Octa -> Cube , Icosa.->Dodeca.
Any Ideas on sort / connect ?
Eh *munch munch* what sop, doc?
#2
Posted 05 January 2012 - 04:32 AM
one possible solution is attached!
petz
petz
Attached Files
#4
Posted 05 January 2012 - 11:17 AM
Triangulate2d sop is another one, although is limited to convex shapes only.
#6
Posted 06 January 2012 - 02:19 AM
kubabuk, on 05 January 2012 - 11:17 AM, said:
Triangulate2d sop is another one, although is limited to convex shapes only.
You can group the polygon(s) and in the triangulate2D add the group to the "Constraint Primitives" and set "No New Points on Constraints" to off. Then you have Concave shapes as well. (no hole's though if you use it to combine multiple polygons)
Edited by kgoossens, 06 January 2012 - 03:59 PM.
“It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change.”
- Charles Darwin
- Charles Darwin
#7
Posted 11 January 2012 - 01:39 AM
kgoossens, on 06 January 2012 - 02:19 AM, said:
You can group the polygon(s) and in the triangulate2D add the group to the "Constraint Primitives" and set "No New Points on Constraints" to off. Then you have Concave shapes as well. (no hole's though if you use it to combine multiple polygons)
Hi!
Is there maybe way to combine multiple polygons with holes. Can i use also triangulate2D to do this!
Thank You!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












