[OpenSCAD] procedurally generating polyhedra and non-uniform scaling

Owen Taylor otaylor at fishsoup.net
Fri Aug 27 02:58:00 CEST 2010


On Thu, Aug 26, 2010 at 6:31 PM, Owen Taylor <otaylor at fishsoup.net> wrote:
> But then you have to figure out what the slice looks like to extrude
> to get a desired result. Not too hard if you want to get something
> that is vaguely screwlike. But say you wanted to make a model of a
> #6-32 screw? Or maybe you just wanted to make a screw that looks like
> a normal screw with the 60 degree angle between the faces and cut off
> on the inside and outside. That's very hard for me to think about, and
> harder if I want to get exact parameters. And harder still if I want
> to change the parameters on the fly as I adjust the model.

As I was driving home, I realized there is nothing very mysterious
about the shape of the slice. It's just a polar plot of the vertical
profile. But even if it's easy to compute, I'd still want to do it in
code, rather than drawing a DXF file by hand.

- Owen

(Sorry for the noise)


More information about the OpenSCAD mailing list