QR code to OpenSCAD converter
Project description
qr2scad - Convert QR code images to OpenSCAD <http://github.com/l0b0/qr2scad>
Default syntax:
qr2scad < input_file
Description:
For each black pixel in the input, it will create a cube in the output.
The result can be used in an existing OpenSCAD file as follows: 1. Remove the QR code from a flat surface using the difference() function. 2. After printing, splash some removable paint or ink on the QR code holes. 3. Remove the residue around the holes with a piece of cloth, leaving the color in the holes intact.
This code does not optimize the output in any way. If you get a really big result file, try to scale it down and verify that it is still readable using <http://zxing.org/w/decode.jspx>.
Installation / upgrade:
sudo easy_install -U qr2scad
Examples:
- qr2scad < example.png > example.scad
Convert example.png to example.scad
<http://www.thingiverse.com/thing:4448>
Bugs:
Please email bug reports to victor dot engmark at gmail dot com.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qr2scad-0.6-py2.6.egg.
File metadata
- Download URL: qr2scad-0.6-py2.6.egg
- Upload date:
- Size: 6.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf7d7d0dee9748b614ebe426fc5473843d960c5f20faf92e53d1a897cb7b3a97
|
|
| MD5 |
5fec354d36e4603eb3149cc32b4b15d1
|
|
| BLAKE2b-256 |
5364f05604b67c8a9385cadee4dbd241fe5c99458e2a1451bdd3bfd6cc76395f
|