[OpenSCAD] module [maybe later function] spiral(rev, hfac, wfac, base_r, sp_r)
rcmpersiano at gmail.com
Sun Sep 9 13:39:20 EDT 2018
> This one might make more sense.
> coil.scad <http://forum.openscad.org/file/t2140/coil.scad>
> There may be some other way to do things, but this calculates the path the
> spring is on and then 'extrudes' along that path.
The coil code is indeed a specific sweep of a circle along a path. It has
however many cracks and it is inadequate for 3d printing for instance. There
are many codes out there aiming to sweep a planar section along a path. The
following is one more version that resorts to the heterodox hull of a
degenerated polyhedron that some people would argue against but which
simplifies the code a lot. For simplicity, this sweep does not avoid
undesirable twists along the path as can be seen by running
Sent from: http://forum.openscad.org/
More information about the Discuss