cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

19-Tanzanite

## How to "Fill Surface" a Hexagon in 3-D ?

Hello, Everyone.

From the following :

Best Regards.

Loi.

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:Werner_E)

To close this thread (for me), here is a function to implement #4 in my list above. #1 - #3 will be up to you ore somebody else 😉

11 REPLIES 11
24-Ruby V
(To:lvl107)

The attached should do the job. Works for exactly six points only and the order the points are given is important. So its very specialized and thats the reason I did not made any attempts to make the program ORIGIN independent.

19-Tanzanite
(To:lvl107)

Hi, Everyone again.

From the following:

And if we get the input with random order of the points, and how to sort them for the program function always is true. And my belief is going to have a program function apply for any polygon, any order of the points and sorting say: Pentagon, Seven-Edge . . .

Best Regards

Loi.

24-Ruby V
(To:lvl107)

And my belief is going to have a program function apply for any polygon, any order of the points and sorting say: Pentagon,

If you change the order, you get a different polygon!

19-Tanzanite
(To:Werner_E)

Yeah ! you're right. A pentagon must be convex, and sorting that five points in accordance with certain rule, and Fill Surface !

Best Regards.

Loi.

19-Tanzanite
(To:lvl107)

19-Tanzanite
(To:lvl107)

Hi Everyone, again.
From related query as the following :

How to create that program function ?

Best Regards.
Loi.

24-Ruby V
(To:lvl107)

Like this?

19-Tanzanite
(To:Werner_E)

Clear and neat answer !, Werner. 🙂🙂🙂

Best Regards.

Loi.

19-Tanzanite
(To:lvl107)

For generalizing the problem:

How to Fill Surface a (convex) Pentagon ?

Best, Best Regards.

Loi.

24-Ruby V
(To:lvl107)

How to Fill Surface a (convex) Pentagon ?

Probably like outlined here: Solved: Re: Rotate a quadrilateral in 3-D ? - PTC Community

But you will have to

1) Check, if all points are in the same plane and at least one is not on the same line as the others - Otherwise: error

2) Check if its possible to form a convex polygon using the given points - Otherwise: error OR you find a decent method how to fill a concave polygon, too.

3) If a convex polygon is possible, you have to find a way to arrange the order of the points so they form the convex polygon in that order

4) Now you can follow with the method outlined in the thread mentioned above, creating for example the structure where all points from #3 to #n-2 are connected with point #1 (last picture in that thread).

Sure a task for some cold winter days ...

24-Ruby V
(To:Werner_E)

To close this thread (for me), here is a function to implement #4 in my list above. #1 - #3 will be up to you ore somebody else 😉

Announcements