qr2scad
QR code to OpenSCAD converter
Why use this? If someone sees the QR code on your thing in real life, they can find the design and make their own copies with just a photo of it. Theoretically, you could even assign this job to a machine, looking around the web (or your tool box) for things that can be duplicated.
Installation / upgrade
pip install --upgrade https://github.com/l0b0/qr2scad/tarball/master
To install a specific version X.Y.Z
(only 0.6.2 onward):
pip install https://github.com/l0b0/qr2scad/tarball/vX.Y.Z
How to use
-
Create an OpenSCAD file with your QR code:
qr2scad < qr_code.png > qr_code.scad
-
include
qr_code.scad
in your OpenSCAD file. -
difference
theqr_code
module from a flat surface. - Create the thing.
- Use a marker, paint or other substance to fill the holes with a contrasting color.
- Clean off excess color to get a crisp, scannable QR code.