1 / 1
helix_extrude();// module for OpenSCAD — image 1

helix_extrude();// module for OpenSCAD

Order a print of this model

We calculate the final price from your selected file. You review and accept it before payment.

Saved on this device.

module helix_extrude( points, pitch, loops, fn);

Rating
0 / 5
Likes
4
Downloads
50
Makes
0
Views
205
Reviews
0

Updated at source:

Model information

License
GNU Lesser General Public License

There is no built-in module for helical extrude. The twist function of linear_extrude starts to break at higher twist rates, like with threads. Uses polyhedron().

usage is:

helix_extrude(
   points, //2D pt array, the kind you would use with polygon(). Pts order should be CCW.
   pitch, //Distance from one point of the profile to the corresponding pt on the next.+RH, -LH.
   loops ,//How many times you want to want to wrap
   fn); //Number of facets per single turn, same as $fn

Loops cannot overlap, it will not render.

There might be some chaff in the script, won't affect much. It's just my programming style. I brainstorm, and blast as many variables and code as I can. Then I start putting things together.

Tags