• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Helix library for OpenSCAD 3D Printer File Image 1
Helix library for OpenSCAD 3D Printer File Image 2
Helix library for OpenSCAD 3D Printer File Thumbnail 1
Helix library for OpenSCAD 3D Printer File Thumbnail 2

Helix library for OpenSCAD

Gael Lafond avatarGael Lafond

August 22, 2022

printables-icon
DescriptionCommentsTags

Description

Yet another OpenSCAD library to create helices.

There is plenty of libraries out there, but most of them are unpredictable. The height, width, angle, etc are not respected, making it very hard to create precise model.

This library is very precise, flexible and easy to use. It takes a 2D polygon and extrude it just like linear_extrude and rotate_extrude.

2018-02-24: Added a default value for the number of segments (precision) when $fn is not defined.

Issues

Using hull() to join polygons has some downsides:

  • Polygons needs to be extruded into 3D shape for hull to work properly.
  • Concave polygons are made convex.
  • Hull is overkill for what I'm doing, it takes too long to render.

The only way I can see to fix this without changing the API is to iterate through points of the polygon, and create the polyhedron manually. Unfortunately, this is not possible with the current version of OpenSCAD.

I could change the API and expect an array of points representing the polygon, but I don't like that idea. I want it to works like the other extrude functions.

A workaround for the concave issue is to create a convex polygon and extrude it with helix_extrude. Then create another polygon, extrude it with helix_extrude and create a difference between the two helices.

Usage

include helix_extrude() translate([10, 0, 0]) circle(r=3);

Category: Other

License:

Creative Commons — Public Domain

Related Models

Thor Mjolnir Hammer Bic Pen preview image

Thor Mjolnir Hammer Bic Pen

effektz profile image

effektz

9,096

Diverse Schilder / various labels  for hobby & makers preview image

Diverse Schilder / various labels for hobby & makers

RPK profile image

RPK

2

Cute Fluffy Puppy Figurine to Print preview image

Cute Fluffy Puppy Figurine to Print

bonowski. profile image

bonowski.

3

Vorpal The Hexapod Walking Robot preview image

Vorpal The Hexapod Walking Robot

vorpal profile image

vorpal

4,987

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi preview image

MakerZ – Open Source 1/28 RC Drift Chassis by Fails & Makes | Açık Kaynak 1/28 RC Drift Şasisi

Fails&Makes profile image

Fails&Makes

Customizable EU License Plate Keychain preview image

Customizable EU License Plate Keychain

John_M profile image

John_M

45

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED preview image

Snap-Together Mini Minecraft Jack-O-Lantern with integrated LED

scottrlindsey profile image

scottrlindsey

4,457

Small Parts Storage Drawers - Organizer preview image

Small Parts Storage Drawers - Organizer

GT 3D Makers profile image

GT 3D Makers

30

10