Git Product home page Git Product logo

openscad-qr's Introduction

QR Code generator for OpenSCAD

This project can generate OpenSCAD source code for a QR code encoding given value. There are already two projects on Thingiverse, but the first does not work properly and the second requires running executable on your machine. So I created third one.

How it works

This project works completely online in JavaScript. Go to https://ridercz.github.io/OpenSCAD-QR/ and enter the value of your code. The page will generate image of your code (so you can check it's working) and also OpenSCAD code, which will create array with 0 and 1, representing the code.

Also provided is simple OpenSCAD module (method) qr_render for drawing the encoded QR Code with given parameters:

  • module_size - the size of single square, default 1x1 mm
  • height - extrusion height, default 1 mm

The resulting code is not intended to be used 'as is', you are supposed to incorporate it to your own models. For example see the QR Code Dog Tag

Acknowledgements

The heavy lifting - QR Code generation itself - was done by the perfect qrcode-generator by Kazuhiko Arase. I just added OpenSCAD code generation and simple web interface.

Author

Developed by Michal Altair Valášek. For more information see:

This work is licensed under terms of the MIT License.

Contributor Code of Conduct

This project adheres to No Code of Conduct. We are all adults. We accept anyone's contributions. Nothing else matters.

For more information please visit the No Code of Conduct homepage.

openscad-qr's People

Contributors

ridercz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.