discuss@lists.openscad.org

OpenSCAD general discussion

View all threads

Building a polyhedron from 4 groups of points - a library to recommend?

BR
Baudoux Roald
Tue, Jan 4, 2022 1:53 PM

Hello,

Is there some library which could be used to automatically build a
volume from 4 groups of 3D points, each group representing an edge of
the polyhedron?

Here's a caption of the four groups of points (made with BOSL's
polyline). The global shape is a kind of donut with some sinusoidal
modulations.

Thank you.

Hello, Is there some library which could be used to automatically build a volume from 4 groups of 3D points, each group representing an edge of the polyhedron? Here's a caption of the four groups of points (made with BOSL's polyline). The global shape is a kind of donut with some sinusoidal modulations. Thank you.
TP
Torsten Paul
Tue, Jan 4, 2022 4:54 PM

On 04.01.22 14:53, Baudoux Roald wrote:

Is there some library which could be used to automatically
build a volume from 4 groups of 3D points, each group
representing an edge of the polyhedron?

I think the ClosePoints library is specifically meant to do
that. See https://openscad.org/libraries.html for links.

I have not directly used it myself though.

ciao,
Torsten.

On 04.01.22 14:53, Baudoux Roald wrote: > Is there some library which could be used to automatically > build a volume from 4 groups of 3D points, each group > representing an edge of the polyhedron? I think the ClosePoints library is specifically meant to do that. See https://openscad.org/libraries.html for links. I have not directly used it myself though. ciao, Torsten.
AM
Adrian Mariano
Tue, Jan 4, 2022 9:32 PM

I don't understand what you are trying to do.  Perhaps BOSL2 skin()
can do what you need?  Or maybe just vnf_vertex_array()?  Possibly
also path_sweep() or sweep() may be useful for solving your problem.

On Tue, Jan 4, 2022 at 8:53 AM Baudoux Roald roald.baudoux@brutele.be wrote:

Hello,

Is there some library which could be used to automatically build a
volume from 4 groups of 3D points, each group representing an edge of
the polyhedron?

Here's a caption of the four groups of points (made with BOSL's
polyline). The global shape is a kind of donut with some sinusoidal
modulations.

Thank you.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I don't understand what you are trying to do. Perhaps BOSL2 skin() can do what you need? Or maybe just vnf_vertex_array()? Possibly also path_sweep() or sweep() may be useful for solving your problem. On Tue, Jan 4, 2022 at 8:53 AM Baudoux Roald <roald.baudoux@brutele.be> wrote: > > Hello, > > Is there some library which could be used to automatically build a > volume from 4 groups of 3D points, each group representing an edge of > the polyhedron? > > Here's a caption of the four groups of points (made with BOSL's > polyline). The global shape is a kind of donut with some sinusoidal > modulations. > > Thank you. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
SP
Sanjeev Prabhakar
Wed, Jan 5, 2022 2:12 AM

Is this what you are looking for?
Attached file has a module named swp().

On Tue, 4 Jan 2022 at 22:24, Torsten Paul Torsten.Paul@gmx.de wrote:

On 04.01.22 14:53, Baudoux Roald wrote:

Is there some library which could be used to automatically
build a volume from 4 groups of 3D points, each group
representing an edge of the polyhedron?

I think the ClosePoints library is specifically meant to do
that. See https://openscad.org/libraries.html for links.

I have not directly used it myself though.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Is this what you are looking for? Attached file has a module named swp(). On Tue, 4 Jan 2022 at 22:24, Torsten Paul <Torsten.Paul@gmx.de> wrote: > On 04.01.22 14:53, Baudoux Roald wrote: > > Is there some library which could be used to automatically > > build a volume from 4 groups of 3D points, each group > > representing an edge of the polyhedron? > > I think the ClosePoints library is specifically meant to do > that. See https://openscad.org/libraries.html for links. > > I have not directly used it myself though. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >