Skip to main content
F3D
Mô-đun extrude xoắn ốc cho OpenSCAD 1

1 image

Giáo Dục

Mô-đun extrude xoắn ốc cho OpenSCAD

By spingoogL_755417

Files 1 6.6 KB

  • helix_extrude_1767688733.scadSCAD · 6.6 KB

Make a variant with AI

Build another version of this model.

Open Studio

Description

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.

Read more Show less

Print spec

Formats
scad
Model files
1
Total size
6.6 KB
Largest file
6.6 KB

0 comments

See all