We're excited and proud to launch Thingiverse Apps. Learn More about what this means to you.
This is a QR code generator to make 3D printed tags, labels, and iPhone cases. Please follow the instructions below to generate the QR code data for input into the customizer. The objects generated are very customizable, this was done in the interest of making them as customizable as possible; however, this also results in a good amount of responsibility on the user to design a functional object. Just inputting the code data will not necessarily make the object you want, everything can be sized, located, rotated, etc. but it should be reasonably straightforward to get what you want to make.
Use this to make a custom iPhone case with your contact information encoded into it for easy sharing. Or a tag for your luggage so your personal data such as name, address, and phone number are not easily visible to criminals that may go break into your home while you are traveling. Make a business card that links to your website or has your business contact info. Make a simple tag for just about anything! From mounting it somewhere to carrying it with you a printed tag will be more durable and longer lasting than any paper code would be.
The QR code is generated with cubes; therefore, the code data geometry may be added or subtracted from the basic tag shape. The currently available object shapes are:
Iâ€™ve had a few ideas of how best to print a readable QR code.
-Suggested by Austin in the comments:
â€œAnother coloring method that has given me good results with small text/icons: Print in white or clear, and rub the raised surface with an angled fat-tip black sharpie. It takes a little bit of practice, but the normal "bleeding" that occurs between the print-layers is surprisingly invisible when done that way.
The technique works best if there's a small panel on the object that contains the inscription with sharp edges on the outside, such as the butt of a handle. In this case, I would assume it would mean putting the QR code in a raised square frame.â€
-The QR code geometry could be added to the object shape so it is raised above the top surface. Start the print, pause it once the base is finished but before all the code geometry has printed, switch to a contrasting color filament and finish the print.
-The QR code could be recessed into the object then filled with a colored resin / epoxy or you could print the positive geometry of the QR code separately and glue it into the recessed hole (this is what the tolerance option was created for).
-The tag or code could be printed with the QR code geometry completely removed from the tag with the perimeter activated. Then remove the build platform (or tape) with the print still attached. Then pour a clear or colored resin, using the perimeter as a mold edge. This same method could be used with printing just the QR code data geometry, effectively making a QR code floating in resin.
-I feel like this is begging for a dual extrusion printer. Iâ€™m interested in adding compatibility for dual extrusion but havenâ€™t found any information of what I would need to add for it to be integrated into customizer.
There are many more option; however, I still donâ€™t have a printer so havenâ€™t been able to try them out first hand. Just customize away and see what works. As far as I can tell there havenâ€™t been a lot of QR codes printed before so this may very well be new territory for all of us.
Iâ€™m planning on adding more object shapes so feel free to post what shapes you would like down below and Iâ€™ll try to add them if possible. Also Iâ€™m interested in adding a text option so that object could be made with both words and a QR code. I havenâ€™t found a good source of information on how text works so any help would be appreciated with that.
Finally the iPhone case models are not of my design. I got them from the makerbot customizable iPhone case for the customizer so canâ€™t take credit for the models.
NOTE: The program I created to generate data from the QR code image is a .exe file. I know this will run on window computers. You can likely run it on a mac through parallels or a similar windows emulation program. I am unsure about running it in linux. I am interested in getting the image analysis program into a more compatible format but donâ€™t know how. I am open to any help if someone know how to achieve this.
UPDATE (3): The wonderful Thingiverse support staff updated the customizer to add support for the QR code data entry size / type in less than 24 hours! This thing is now fully functional! Follow the instructions below to generate the data for your own QR code and plug it right into the customizer to see it in the preview. Wanna test it out without printing? Simply rotate to the top most view and try scanning the QR code with your phone or tablet right off of the computer monitor. Give it a try on the top down view (pictures 3 and 4) in the sample pictures posted above on this page if you don't believe me (I hid a little message for you there as well!).
The iPhone cases when subtracting the code geometry appear a little buggy in the customizer, I'm looking into fixing this but still need to find the exact cause.
DESIGN NOTE: Don't have faces intersecting in the customizer or it won't render the stl. i.e., don't have the QR code geometry bottom set to 0 as this would mean the faces on the bottom of the code geometry and the face on the bottom of the object shape were occupying the same space causing a render error.
Long winded directions:
Follow these steps to generate a QR code and get the data from it into OpenSCAD. You could design your object in the customizer using the bounding box of the QR code then add the data as the last step or add the data then manipulate all the variables. Both ways should work but the customizer may run faster with the bounding box than with the QR code, just remember to enter the Qr Size so the bounding box will be sized appropriately but it will be slightly larger than the Qr code geometry will be.
First, you need to pick what data you want to put into your QR code. Small (less characters) is preferable as the size (number of pixels) of the QR code will be smaller. The pixel dimension of the QR code will be directly reflected in the number of cubes required to print the code in 3D, leading to a direct change in size the QR code must be printed in order for it to be printable. If you are imbedding a web site into your code it is advisable to use a URL shorting service first to limit the number of character needed. Just google to find one as there are many free ones online.
Second, you will need to generate the QR code with the data that you want it to hold. I have located a free online QR code generator that you should use. It can be found here ( http://www.free-qr-code.net/ ). You must use this code generator as it has the option to adjust the number of pixels per data block (we want this to be a value of 1). This is shown in the second dropdown box from the top. It has a default value of â€œ7â€ CHANGE THIS VALUE TO â€œ1â€ (ONE) TO GENERATE YOUR QR CODE. Donâ€™t change any other values on this web site when generating the QR code, except entering your data in the data entry box of course.
Third, save the QR code generated on the above website as a png file (right click -> save as -> etc.). You must save the QR code with the file name â€œqrcodeâ€ it must be all lower case and all one word. The whole file name for your QR code image should then be â€œqrcode.pngâ€ note this is including the file extension, you shouldnâ€™t have to type that if saved it as a png already.
Fourth, download and unzip the folder â€œQR Code Data Generatorâ€. Open this folder. It will contain many files; please donâ€™t do anything to any of these files unless directed to (you absolutely can if you want to, but it could easily make things not work right). There will already be a png file called â€œqrcodeâ€ in this folder. Replace that file with the QR code file you saved earlier, double checking that the png file you are replacing it with has the same name (the name being the same is important if you didnâ€™t notice by now :) ).
Fifth, double click the file called â€œQR Data Generatorâ€ this is a .exe application that will read your qrcode.png file and generate two output files called â€œQR DATA.txtâ€ and â€œQR SIZE.exeâ€. These files will likely already be in the folder. Just make sure to double click on the QR Data Generator a few times to ensure that any old data in those files is erased. Note, a command prompt window or something like that will likely pop up for a short period and then close itself, this is a normal part of the application.
Sixth, open â€œQR SIZE.txtâ€ it should contain a single number like 33 or 45 or something like that. This number is the dimension of the image you uploaded indicating the image was 33x33 pixels for example. Copy and paste this value into Qr Size box in the customizer.
Seventh, open â€œQR DATA.txtâ€ it should contain a very large vector (the qr size squared to be exact). This is a list of the black and white pixel values from your QR code image. Copy and paste the entire thing (brackets, zeros, commas, and ones, just copy and paste the whole thing) into the Qr Data box in the customizer. This will allow the algorithm to generate your QR code in geometry.
Finally, download STL and print.
QR Code Generator for Customizer by mcg1355 is licensed under the Creative Commons - Attribution - Non-Commercial license.
So what's this mean?
We're sure mcg1355 would love to see what you've printed - take a photo and share it on Thingiverse as a Make.
To post a Make simply visit this Thing again and click I Made One to start uploading your photo. You can also download the Thingiverse Mobile app (available via Google Play and Apple App Store) to take a photo and upload your Make right from the app!