discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] arcs everywhere

DS
Dan Shriver
Sat, Aug 5, 2017 7:49 PM

I'd be interested in looking at your code.  And any suggestions by anyone
else.

I think once someone suggested some module called something like "skins".

Any approaches to morphing are welcome...

On Fri, Aug 4, 2017 at 4:18 AM, Gadgetmind lists@foxhill.co.uk wrote:

On 04/08/17 03:05, Dan Shriver wrote:

I would like to play with other arch types (parabolic,
hyperbolic-catenoidal) but mainly the first two I described, and mainly
various types of transitions from one into the other.

Additionally I would lay the arches along an odd path that is itself a
group of arches.

Any suggestions?

I'm sure there will be other ideas, but I'd represent the arches as
vectors of points. You can generate these points algorithmically in
functions (see the "let" operator as it's pretty much essential for complex
functions), write additional functions to "tween" between two arches to
generate new ones, and then render the arches as polygons to be extruded or
hulled.

I use techniques like these to generate complex shapes based on things
like wing profiles and super ellipses (generated by functions) that I then
join together with splines to get the basic shapes, more splines at
(roughly!) right angles to get a set of skin points, and then use "skin"
from list comprehensions to create a 3D shape.

I've also done some conic sections by drawing cones (cylinders with one
diameter set to zero) and using the project operator.

I can point you to my code on Thingiverse if you like, but I'm new to
OpenSCAD and there are likely to be better ideas.

I'd be interested in looking at your code. And any suggestions by anyone else. I think once someone suggested some module called something like "skins". Any approaches to morphing are welcome... On Fri, Aug 4, 2017 at 4:18 AM, Gadgetmind <lists@foxhill.co.uk> wrote: > On 04/08/17 03:05, Dan Shriver wrote: > >> I would like to play with other arch types (parabolic, >> hyperbolic-catenoidal) but mainly the first two I described, and mainly >> various types of transitions from one into the other. >> >> Additionally I would lay the arches along an odd path that is itself a >> group of arches. >> >> Any suggestions? >> > > I'm sure there will be other ideas, but I'd represent the arches as > vectors of points. You can generate these points algorithmically in > functions (see the "let" operator as it's pretty much essential for complex > functions), write additional functions to "tween" between two arches to > generate new ones, and then render the arches as polygons to be extruded or > hulled. > > I use techniques like these to generate complex shapes based on things > like wing profiles and super ellipses (generated by functions) that I then > join together with splines to get the basic shapes, more splines at > (roughly!) right angles to get a set of skin points, and then use "skin" > from list comprehensions to create a 3D shape. > > I've also done some conic sections by drawing cones (cylinders with one > diameter set to zero) and using the project operator. > > I can point you to my code on Thingiverse if you like, but I'm new to > OpenSCAD and there are likely to be better ideas. > >