OpenSCAD – Automatic Customizable QR Code Slabs, Multiple Qr Codes 3D Printer Model

Author: @
License: CC BY-NC-SA
File formats: scad,stl
Download type: zip
Size:1.5MB

The file 'OpenSCAD – Automatic Customizable QR Code Slabs, Multiple Qr Codes 3D Printer Model' is (scad,stl) file type, size is 1.5MB.

Summary

I'm too lazy to use Thinkercad so this project is born...

This project allows you to generate a slab with a custom QR code, without the need of any web service (no sign in, completly offline and privacy friendly) and without the need of manually joining the meshes together in a CAD application.

The only requirement is to have OpenSCAD installed, a lightweight software used for 3D modelling, but you must download and extract all the files to get it working (not only the openscad files)

Like the original post you can either print with two color filaments or print entirely with one color and paint the top surface later.

Features

Automatic, you only have to set the parameters for the QR code.

The script has customizer capable of generating QR codes for:

  • Text
  • Web links
  • WiFi authentication
  • Phone Call numbers
  • SMS and Whatsapp templates
  • E-Mail template
  • vCards

All the slab in the original thing are provided, so you can choose any of them in the menu

Furthermore the script allow you to customize the size of the qr code, its thickness and the thickness of the logo (I suggest a thickness between 0.5 and 1.0 mm for the QR code)

Instructions

  • Install OpenSCAD
  • Download all the files, extract them in the same folder
  • Open qr_slab.scad
  • Use the customizer on the right panel
  • In the first section choose the slab and QR type
  • Then fill the corresponding section of the chosen QR type
  • Press F5 to preview, if the results is OK press F6 to render, then F7 to save the mesh
  • There you go

I recommend disabling the automatic preview function because the rendering is anything but immediate, be patient, it could takes a couple of minutes

Secondary features

Custom slabs

I designed the customizer to be flexible so that if you want to use a custom logo either a custom slab:

  • You can download and modify the Blank Slab Fusion360 project here
  • Export as stl to the scad folder replacing the blank slab either fill the Custom Slab section
Custom logo

If you have a 2D svg logo, you can import it, but you don't always get the desired result.

Importing QR Codes (broken)

For flexibility tried to allow importing QR codes but with little success, it's probably better to use thinkercad:

  • you can use a low resolution png or it will take forever
  • a stl mesh, the mesh must be perfect, otherwise it will fails (you could use a web service or a repair function in a slicer)
  • svg seems not working

Update 2024/08/12

  • Updated scadqr library

Credits

Thanks to the library scadqr to allow generating qr codes

This is a remix of the Easy One-Color Custom QR Code for Wifi, Check-In, Menu, Website uploaded by wyqid

bits.scad 5.7KB
data.scad 14.2KB
qr.scad 17.8KB
qrcode_base_minimalist_vertical.stl 47.9KB
qrcode_base_tilted_minimalist.stl 192.9KB
qrcode_base_tilted_rounded_sides.stl 102.3KB
qrcode_base_tilted_trapezoid.stl 71.6KB
qrcode_base_vertical_rounded_sides.stl 94.3KB
qrcode_blank_slab.stl 158.7KB
qrcode_cashapp_slab.stl 150.5KB
qrcode_check_in_slab.stl 247.5KB
qrcode_email_slab.stl 212.9KB
qrcode_feedback_slab.stl 369.8KB
qrcode_feedback_slab_fixed.stl 428.7KB
qrcode_gps_location_checkmark_slab.stl 197.7KB
qrcode_restaurant_menu_slab.stl 231.4KB
qrcode_restaurant_menu_slab_fixed.stl 285.4KB
qrcode_vcard_slab.stl 149.9KB
qrcode_venmo_slab.stl 191.4KB
qrcode_website_slab.stl 271.9KB
qrcode_website_slab_fixed.stl 317.0KB
qrcode_wifi_slab.stl 105.6KB
QR_Card_Blank_v1.stl 165.5KB
qr_slab.scad 8.9KB