discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

polyhedron question

B
BramV
Thu, Mar 19, 2015 12:05 PM

Hello there,

There is one thing that's not clear to me about polyhedrons:
Is it neccesary that all points of the polyhedron are unique? Such as in the
example in the manual? Or would it also work when each face of the example
uses its own points, which would mean several points would be double or even
trippled.
I'm asking this because sometimes it's easier for generation to create
points for each face seperately, instead of having to reuse (some of) the
points of other faces that have bounderies with the face you are creating.

I hope I made my question clear enough :)

thanks!

Bram

--
View this message in context: http://forum.openscad.org/polyhedron-question-tp12085.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Hello there, There is one thing that's not clear to me about polyhedrons: Is it neccesary that all points of the polyhedron are unique? Such as in the example in the manual? Or would it also work when each face of the example uses its own points, which would mean several points would be double or even trippled. I'm asking this because sometimes it's easier for generation to create points for each face seperately, instead of having to reuse (some of) the points of other faces that have bounderies with the face you are creating. I hope I made my question clear enough :) thanks! Bram -- View this message in context: http://forum.openscad.org/polyhedron-question-tp12085.html Sent from the OpenSCAD mailing list archive at Nabble.com.
MK
Marius Kintel
Thu, Mar 19, 2015 2:37 PM

On Mar 19, 2015, at 08:05 AM, BramV bram.vaessen@gmail.com wrote:

Is it neccesary that all points of the polyhedron are unique? Such as in the
example in the manual? Or would it also work when each face of the example
uses its own points, which would mean several points would be double or even
trippled.

They don’t need to be unique, but they need to have the same ascii representation to ensure that they represent the same location in space.

-Marius

On Mar 19, 2015, at 08:05 AM, BramV <bram.vaessen@gmail.com> wrote: > Is it neccesary that all points of the polyhedron are unique? Such as in the > example in the manual? Or would it also work when each face of the example > uses its own points, which would mean several points would be double or even > trippled. They don’t need to be unique, but they need to have the same ascii representation to ensure that they represent the same location in space. -Marius