Skip to content

OpenSCAD tools for generating physical keys

Notifications You must be signed in to change notification settings

Spartacus1066/keygen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

keygen

Tools for generating physical keys.

Key in Inkscape Key in OpenSCAD

How to use it

usage: keygen.py [-h] [-b BITTING] [-u OUTLINE] [-w WARDING] [-o OUTPUT]
                 filename

Generates keys.

positional arguments:
  filename              OpenSCAD source file for the key

optional arguments:
  -h, --help            show this help message and exit
  -b BITTING, --bitting BITTING
                        Key bitting
  -u OUTLINE, --outline OUTLINE
                        Key blank outline
  -w WARDING, --warding WARDING
                        Key warding
  -o OUTPUT, --output OUTPUT
                        Output file (defaults to a.stl)

All remaining arguments are passed to OpenSCAD.

Examples

bin/keygen.py scad/kwikset.scad --bitting 25536 -o housekey.stl

bin/keygen.py scad/schlage_classic.scad -u 6-pin -w L -b 999999 -o all_section_bump_key.stl

bin/keygen.py scad/schlage_classic.scad -o key.png --render

Contributing

There is a very limited selection of keys right now, to help out, see the guide on how to model keys.

Music

There is no keygen music yet, in the meantime, try here

About

OpenSCAD tools for generating physical keys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 42.6%
  • OpenSCAD 33.7%
  • JavaScript 16.6%
  • HTML 3.7%
  • CSS 2.2%
  • Makefile 1.2%