
QR Code Key-ring or Tag
Features:
- Multiple tag/key-ring options
- Multi-color options (change at layer, inlay or multi-color printers)
- Add some text
- Line size setting for FDM optimization
- Add a holder for the code
- SVG logo import
How To Customize:
Create the QR Code
- Go to this site - https://www.qrcode-monkey.com/
- Only change the Content settings
DO NOT change the color, logo or design settings - Click Create QR Code
- Click Download PNG and wait for the file to download
Convert it to a SVG file
- Go to this site - https://convertio.co/png-svg/ and convert the PNG image you just downloaded to a .SVG file
I'm aware you can download the code as a SVG file from the first site, but this will not be formatted properly for our uses.
Customize with OpenSCAD
- Download OpenSCAD from here and install it - https://openscad.org/downloads.html
- Put the downloaded SVG file in the same folder as the .SCAD file from this page
- Double-click the .SCAD file to open it
- Click Window, then untick Hide Customizer
Optional: Click Window, then tick Hide Editor - Enter the SVG file name in the basic settings tab (or rename the file to qr-code.svg before opening OpenSCAD)
- Customize the settings. After changing a setting, you may need to click outside the text box to apply the change
- Click Design > Render and wait for the design to render
- Click File > Export > Export to STL
- Save the file
Note: I've update the script since recording the video, so there are more features in the current version. To see a larger view of the below image - Right Click > Open in new tab
Notes
Raised and Cut-Out types are for changing filament at layer height
Multi-color and Code are to be used together for inlay/multi-color printers
You can also set Base Height or Code Height to 0 and export each part on it's own
If you want to print a double sided tag, you can set Base Height to 0 and export the second side. Then just flip this over in the slicer
- The text options are a okay for basic text, but if you want to use another program to add some, you can add extra height to the top/bottom of the card under Extra Size Setting
Add an icon
You can import another SVG file as a logo or use logo fonts.
The below example uses an wifi SVG file from IconMonstr - https://iconmonstr.com/?s=wifi
- Download the wifi SVG file
- Place it in the same folder as the .SCAD file
- In the customizer:
- Add some extra space to the top or bottom of the card under Extra Size Settings
- Go to SVG Logo Settings
- Tick enable svg logo
- Enter the filename under svg logo name
- Set the svg y nudge position and svg logo scale
Right-Click > Open In New Tab to see a large view of the image
You can install any fonts to OpenSCAD, this allows us to use Icon Fonts:
A good place to start looking is here - https://www.dafont.com/theme.php?cat=717&page=1
The wifi icon in the title image is from here
Once you've downloaded one you want:
- Go to C:\Users\YOUR-USERNAME.fonts
If the folder doesn't exist, create it (there is a fullstop in front of the word font, don't miss it)
Copy the font file into that folder
If you have OpenSCAD open, close it and re-open the file.
- Change the Font setting in the customizer and type the character for the logo you want into the text field
Advanced Notes
There is some logic in the script that stop you from making the size too small if you have Line Size set, you can set Line Size to 0 or half your line size value if you really want to override this
You can change the Customize Design settings before generating the QR Code (on https://qrcode-monkey.com), but you'll need to set Line Size to 0 and there are no promises that it'll print well
If you want to use a different site to create the QR code, resize the image to 1147x1147 pixels before converting it to an SVG. Or if the QR code in the image doesn't have a border, resize it to 1000x1000 px.
- If you want to use a different source for the SVG file, there are instructions for working out the size in the code at line 215. You'll need to export it as a STL and measure it outside of OpenSCAD, then enter the values into the script.
Customizable QR Code Keyring or Tag
by OutwardB · original on Printables ↗
Fashion / Other Fashion Accessories
♥ 147⬇ 708🖨 5 prints
Print profiles
Example_03_Invert_Multi-Color_Printers.stl
⏱ time and weight estimated after preparation · 1 material(s)
Made to order: we prepare this file when you order, which adds a few minutes before printing starts.
Prints on: A1 mini 0.4PLA
Order this print
Example_01_Raised_Change_at_Layer.stlDEFAULT
⏱ time and weight estimated after preparation · 1 material(s)
Made to order: we prepare this file when you order, which adds a few minutes before printing starts.
Prints on: A1 mini 0.4PLA
Order this print
Example_02_Cut-Out_Change_at_Layer.stl
⏱ time and weight estimated after preparation · 1 material(s)
Made to order: we prepare this file when you order, which adds a few minutes before printing starts.
Prints on: A1 mini 0.4PLA
Order this print