<p>I used the <a href="https://printer.tools/qrcode2stl/" rel="nofollow noreferrer">qrcore2stl</a> website for my WiFi access point.</p>
<p>You can easily change the parameters of the QR code and associated .stl, as well as add custom text and keychain holes.</p>
<p>For my WiFi access, I inserted a pause command at 1 mm height, and changed filament from white to black at that point.</p>

CC BY-SA 4.0
2021-11-04T17:01:50.997Z
Please don't flag this as a "link-only answer". Why? Because it is a valid link to an online conversion tool - plus the answer has *some* useful tips.
Greenonline
CC BY-SA 4.0
2021-11-04T12:07:50.920Z
2021-11-04T12:07:50.920Z
towe
<p>From the excellent Thingiverse link, <a href="https://www.thingiverse.com/thing:4967931" rel="nofollow noreferrer">Customizable QR Keyring or Tag</a> by <a href="https://www.thingiverse.com/outwardb/designs" rel="nofollow noreferrer"><em>OutwardB</em></a> - which was provided in the (now deleted) <a href="https://3dprinting.stackexchange.com/a/18296/4762">link-only answer</a>:</p>
<blockquote>
<ol>
<li><h3>Create the QR code</h3>
<ul>
<li><p>Go to <a href="https://qrcode-monkey.com" rel="nofollow noreferrer">QRCode Monkey</a></p>
</li>
<li><p><strong>Only change the Content settings</strong></p>
<p>DO NOT change the color, logo or design settings</p>
</li>
<li><p>Click <strong>Create QR Code</strong></p>
</li>
<li><p>Click <strong>Download PNG</strong> and wait for the file to download</p>
</li>
</ul>
</li>
<li><h3>Convert to SVG</h3>
<ul>
<li>Go to <a href="https://convertio.co/png-svg/" rel="nofollow noreferrer">PNG to SVG Converter</a> and convert the PNG image you just downloaded to a .SVG file</li>
</ul>
</li>
<li><h3>Customise in OpenSCAD</h3>
<p>You will need <a href="https://www.thingiverse.com/download:10312157" rel="nofollow noreferrer"><code>QR_Code_Customizer_V01_2.scad</code></a> from the <a href="https://www.thingiverse.com/thing:4967931/files" rel="nofollow noreferrer">files
repository on Thingverse</a></p>
<ol>
<li><p>Download OpenSCAD from here and install it - <a href="https://openscad.org/downloads.html" rel="nofollow noreferrer">https://openscad.org/downloads.html</a></p>
</li>
<li><p>Put the downloaded SVG file in the same folder as the .SCAD file from this page</p>
</li>
<li><p>Double-click the .SCAD file to open it</p>
</li>
<li><p>Click <strong>Window</strong>, then untick <strong>Hide Customizer</strong></p>
<p><em>Optional</em>: Click <strong>Window</strong>, then tick <strong>Hide Editor</strong></p>
</li>
<li><p>Enter the SVG file name in the basic settings tab (or rename the file to qr-code.svg before opening OpenSCAD)</p>
</li>
<li><p>Customize the settings. After changing a setting, you may need to click outside the text box to apply the change</p>
</li>
<li><p>Click <strong>Design</strong> &gt; <strong>Render</strong> and wait for the design to render</p>
</li>
<li><p>Click <strong>File</strong> &gt; <strong>Export</strong> &gt; <strong>Export to STL</strong></p>
</li>
<li><p>Save the file</p>
</li>
</ol>
<p><a href="https://i.sstatic.net/VyzXZ.gif" rel="nofollow noreferrer" title="QR Customisation - optional"><img src="https://i.sstatic.net/VyzXZ.gif" alt="QR Customisation - optional" title="QR Customisation - optional" /></a></p>
</li>
</ol>
<h3>Notes</h3>
<ul>
<li><strong>Raised</strong> and <strong>Cut-Out</strong> types are for changing filament at layer height</li>
<li><strong>Multi-color</strong> and <strong>Code</strong> are to be used together for inlay/multi-color printers</li>
<li>You can also set <em>Base Height</em> or <em>Code Height</em> to 0 and export each part on it's own</li>
<li>If you want to print a <strong>double sided tag</strong>, you can set <em>Base Height</em> to 0 and export the second side. Then just flip this over in
the slicer</li>
<li>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 <strong>Extra Size Setting</strong></li>
</ul>
<h3>Advanced Notes</h3>
<ul>
<li>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.</li>
<li>You can change the Customize Design settings before generating the QR Code (on <a href="https://qrcode-monkey.com" rel="nofollow noreferrer">QRCode Monkey</a>), but you'll need to set Line Size to 0
and there are no promises that it'll print well</li>
<li>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.</li>
<li>If you want to use a different source for the SVG file, there are instructions for working out the size in the code
(<a href="https://www.thingiverse.com/download:10312157" rel="nofollow noreferrer"><code>QR_Code_Customizer_V01_2.scad</code></a>) 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.</li>
</ul>
</blockquote>
<p>The linked to Thingiverse page also has some extra steps for adding an icon:</p>
<blockquote>
<h3>Add an icon</h3>
<p>You can import another SVG file as a logo or use logo fonts.</p>
<p>The below example uses an <a href="https://iconmonstr.com/?s=wifi" rel="nofollow noreferrer">wifi SVG file</a> from IconMonstr</p>
<ul>
<li>Download the wifi SVG file</li>
<li>Place it in the same folder as the .SCAD file</li>
<li>In the customizer:
<ul>
<li>Add some extra space to the top or bottom of the card under <strong>Extra Size Settings</strong></li>
<li>Go to SVG Logo Settings</li>
<li>Tick <strong>enable svg logo</strong></li>
<li>Enter the filename under <strong>svg logo name</strong></li>
<li>Set the <strong>svg y nudge</strong> position and <strong>svg logo scale</strong></li>
</ul>
</li>
</ul>
<p><a href="https://i.sstatic.net/A2xCK.png" rel="nofollow noreferrer" title="Adding Wi-Fi logo"><img src="https://i.sstatic.net/A2xCK.png" alt="Adding Wi-Fi logo" title="Adding Wi-Fi logo" /></a></p>
</blockquote>

CC BY-SA 4.0
2021-11-04T03:20:39.730Z
2021-11-04T05:14:59.667Z
2021-11-04T05:14:59.667Z
Greenonline
<p>Is it possible to 3D print a QR code? or to engrave it using a 3D printer? I tried to convert it to individual boxes but that takes too long and is very inaccurate. Is there a better way?</p>

CC BY-SA 4.0
2021-10-29T17:08:28.183Z
You could try this method on [Thingiverse](https://www.thingiverse.com/thing:4967931). It explains step by step how to create a QR code and print it. I used it recently to print 50 QR codes with a backplate red and the QR code in white and it works wonderfully: https://www.thingiverse.com/make:976685.
Jumper
CC BY-SA 4.0
2021-10-31T14:49:42.277Z
if inaccuracy is a function of your print rather than algorithm, you may need to print the code bigger.
Abel
CC BY-SA 4.0
2021-10-31T16:25:27.477Z
Could you [edit] your question and post photos of the prints with the issues that you have experienced? It might make your question a little clearer.
Greenonline
<3d-models>
QR code 3D printing
Varun W.
# QR code 3D printing

(Asked by: username_0 on 2021-10-29)

Is it possible to 3D print a QR code? or to engrave it using a 3D printer? I tried to convert it to individual boxes but that takes too long and is very inaccurate. Is there a better way?

**Tags:** 3d-models

> **Comments:**
> **username_1**: You could try this method on [Thingiverse](https://www.thingiverse.com/thing:4967931). It explains step by step how to create a QR code and print it. I used it recently to print 50 QR codes with a backplate red and the QR code in white and it works wonderfully: https://www.thingiverse.com/make:976685.  
> **username_2**: if inaccuracy is a function of your print rather than algorithm, you may need to print the code bigger.  
> **username_3**: Could you [edit] your question and post photos of the prints with the issues that you have experienced? It might make your question a little clearer.  

---

## 2 answers

### Answer by username_4 on 2021-11-04. Score: 1 | Accepted answer

I used the [qrcore2stl](https://printer.tools/qrcode2stl/) website for my WiFi access point.

You can easily change the parameters of the QR code and associated .stl, as well as add custom text and keychain holes.

For my WiFi access, I inserted a pause command at 1 mm height, and changed filament from white to black at that point.

> **Comments:**
> **username_3**: Please don't flag this as a "link-only answer". Why? Because it is a valid link to an online conversion tool - plus the answer has *some* useful tips.  

---

### Answer by username_3 on 2021-11-04. Score: 3

From the excellent Thingiverse link, [Customizable QR Keyring or Tag](https://www.thingiverse.com/thing:4967931) by [*OutwardB*](https://www.thingiverse.com/outwardb/designs) - which was provided in the (now deleted) [link-only answer](https://3dprinting.stackexchange.com/a/18296/4762):

> 1. ### Create the QR code
>
>    * Go to [QRCode Monkey](https://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
> 2. ### Convert to SVG
>
>    * Go to [PNG to SVG Converter](https://convertio.co/png-svg/) and convert the PNG image you just downloaded to a .SVG file
> 3. ### Customise in OpenSCAD
>
>    You will need [`QR_Code_Customizer_V01_2.scad`](https://www.thingiverse.com/download:10312157) from the [files
>    repository on Thingverse](https://www.thingiverse.com/thing:4967931/files)
>
>    1. Download OpenSCAD from here and install it - <https://openscad.org/downloads.html>
>    2. Put the downloaded SVG file in the same folder as the .SCAD file from this page
>    3. Double-click the .SCAD file to open it
>    4. Click **Window**, then untick **Hide Customizer**
>
>       *Optional*: Click **Window**, then tick **Hide Editor**
>    5. Enter the SVG file name in the basic settings tab (or rename the file to qr-code.svg before opening OpenSCAD)
>    6. Customize the settings. After changing a setting, you may need to click outside the text box to apply the change
>    7. Click **Design** > **Render** and wait for the design to render
>    8. Click **File** > **Export** > **Export to STL**
>    9. Save the file
>
>    [![QR Customisation - optional](https://i.sstatic.net/VyzXZ.gif "QR Customisation - optional")](https://i.sstatic.net/VyzXZ.gif "QR Customisation - optional")
>
> ### 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**
>
> ### 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 [QRCode Monkey](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
>   ([`QR_Code_Customizer_V01_2.scad`](https://www.thingiverse.com/download:10312157)) 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.

The linked to Thingiverse page also has some extra steps for adding an icon:

> ### Add an icon
>
> You can import another SVG file as a logo or use logo fonts.
>
> The below example uses an [wifi SVG file](https://iconmonstr.com/?s=wifi) from IconMonstr
>
> * 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**
>
> [![Adding Wi-Fi logo](https://i.sstatic.net/A2xCK.png "Adding Wi-Fi logo")](https://i.sstatic.net/A2xCK.png "Adding Wi-Fi logo")


---

