QR codes can of course also be printed with a 3D printer - the corresponding 3D models can be created with the help of TinkerCAD and its shape generator for QR codes.
If you download the 3D model from TinkerCAD as an STL file and feed it into a "slicer", you get a "G-code" file with instructions for the 3D printer. Alternatively, any program for controlling 3D printers is suitable, provided it can also save the generated G-code as a file.
Status: choose a file to be uploaded
The path data actually comes from the G-code output of a slicer for the underlying 3D model, but only one of the two uppermost layers is alternately displayed.
The G-code was processed using the form shown above and stored in a JSON file - the actual visualization is done using Processing.
Processing Sketch and a matching sample JSON file can be downloaded from here as a ZIP archive:
This web page uses the following third-party libraries, assets or StackOverflow answers:
The author would like to thank the developers and authors of the above-mentioned contributions for their effort and willingness to make their works available to the general public.