Ir para conteúdo
3DFinder
Entrar

Você está no 3DFinder

Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.

Buscar mais como este
Modelo 3D qr2cad por polymaker no Thingiverse

Descrição

Python library to generate .scad, .stl, or .dxf representation of a qr code given contents for the qr code (URL, email address, etc). You will need an internet connection since this script uses the google charts API to generate the qr code.

Up to date code will be kept here: https://github.com/brad/qr2cad

This was also partially derived from http://www.thingiverse.com/thing:10370

TODO:

  • auto encode urls
  • data matrix support
  • Different size options
  • Add option for rounded corners
  • Add option to embed .dxf logo

Instruções

Just run "python qr2cad.py CONTENT" to create a .scad file. Add "-m" to make a .stl, "-mx" to make a .dxf

========================= brad@inspiration:~/code/qr2cad$ ./qr2cad.py -h usage: qr2cad.py [-h] [-x] [-m] [-d MAXDIM] [-z ZHEIGHT] CONTENT

Convert qr codes to CAD objects

positional arguments: CONTENT The content you want to create a qr code for.

optional arguments: -h, --help show this help message and exit -x Defaults to .stl by default, this option changes output to .dxf -m Outputs qr2cad.scad by default, this options makes the result into a .dxf or .stl -d MAXDIM The maximum size in mm to make the x or y dimension. -z ZHEIGHT The max z-height of the text, defaults to 5. Not relevant for .dxf files

============================= Examples: qr2cad.stl ./qr2cad.py -m http://www.thingiverse.com/thing:10408

qr2cad.dxf ./qr2cad.py -mx http://www.thingiverse.com/thing:10408 ============================= More info on possible qr code contents: http://code.google.com/p/zxing/wiki/BarcodeContents

62
Curtidas
0
Downloads
43
Coleções
1
Impressões
Tags
2D 3D bokode openscad python qrcode
Licença Creative Commons - Attribution - Share Alike
Arquivos (1)
qr2cad.stl 462.4 KB
Ver no Thingiverse (abre em nova aba)

Gostou deste modelo? Crie uma conta grátis para salvar seus favoritos e voltar a eles depois.

Criar conta