Skip to content

Python code to generate scad files for parametric horns

Notifications You must be signed in to change notification settings

pneumaticdeath/parametricHorns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Parametric horns

Based on horn3.py by Tom P. (user tpchuckles on Thingiverse

The original code can be found at the files tab of his thing.

Modified by Mitch Patenaude Contact [email protected] user pneumaticdeath on Thingiverse.

The script takes several arguments to allow you to tweak the look of the horns:

usage: make_horn.py [-h] [-d SPIRAL_DIAMETER] [-D CONE_DIAMETER] [-H HEIGHT] [-r RIBS] [-R ROTATIONS] [-N LAYERS] [-n SPIRALS] [-t TWISTS]
                    [--output OUTPUT]

optional arguments:
  -h, --help            show this help message and exit
  -d SPIRAL_DIAMETER, --spiral-diameter SPIRAL_DIAMETER
                        base diameter of the spiral going up the suface of the cone (default 25)
  -D CONE_DIAMETER, --cone-diameter CONE_DIAMETER
                        base diameter of the cone (default 35)
  -H HEIGHT, --height HEIGHT
                        height of the cone (default 100)
  -r RIBS, --ribs RIBS  number of ribs per rotation (default 10)
  -R ROTATIONS, --rotations ROTATIONS
                        rotations around the cone (default 2)
  -N LAYERS, --layers LAYERS
                        (default 200)
  -n SPIRALS, --spirals SPIRALS
                        (default 20)
  -t TWISTS, --twists TWISTS
                        (default 3)
  --output OUTPUT

Check out some examples!

About

Python code to generate scad files for parametric horns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages