File tree Expand file tree Collapse file tree 9 files changed +1171
-0
lines changed Expand file tree Collapse file tree 9 files changed +1171
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ all-tags :
13
+ name : Make all tags
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - name : Install OpenSCAD
20
+ run : sudo apt install --yes openscad
21
+
22
+ - name : Make all tags
23
+ run : ./make-all.sh
Original file line number Diff line number Diff line change
1
+ * .stl
Original file line number Diff line number Diff line change
1
+ # Maker Space wiki QR code tags
2
+
3
+ Small 3D printable QR code plates that link to the wiki for attaching to things.
4
+
5
+ ## What do I need?
6
+
7
+ - Bash
8
+ - OpenSCAD
9
+
10
+ ## How do I do it?
11
+
12
+ 1 . Add/edit/modify/mutilate the list in [ ` make-all.sh ` ] ( ./make-all.sh ) as required
13
+ 1 . ` ./make-all.sh `
14
+ 1 . In Bambu Studio, import all three files in the directory of the tag you want to print
15
+ 1 . Select "Yes, load as one multi-part object"
16
+ 1 . Switch to "Object" view in the left hand side bar
17
+ 1 . Set materials appropriately for each layer
18
+ 1 . Flip the model so that it prints with the QR code and text face down
19
+ 1 . Slice and verify the QR code works and is correct (just use your phone camera pointed at the screen)
20
+ 1 . Print
21
+ 1 . ???
22
+ 1 . Profit
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # The OpenSCAD binary, set this appropriately
4
+ OPENSCAD=" openscad"
5
+ # OPENSCAD="org.openscad.OpenSCAD"
6
+
7
+ # Make output directory
8
+ out=" ./out"
9
+ mkdir -p " $out "
10
+
11
+ # Build the main body and text parts once since they are the same for all tags
12
+ $OPENSCAD tag_body.scad -o " $out /0-body.stl"
13
+ $OPENSCAD tag_text.scad -o " $out /2-text.stl"
14
+
15
+ make-tag () {
16
+ # Generate the URL to encode in the QR code
17
+ url=" https://wiki.makerspace.org.uk/$1 "
18
+
19
+ # Make output directory for this tag
20
+ tag_out=" $out /$1 "
21
+ mkdir -p " $tag_out "
22
+
23
+ # Copy the common models into the tag output directory
24
+ cp " $out /0-body.stl" " $tag_out /0-body.stl"
25
+ cp " $out /2-text.stl" " $tag_out /2-text.stl"
26
+
27
+ # Build the tag specific QR code model
28
+ $OPENSCAD -D " url=\" $url \" " tag_qrcode.scad -o " $tag_out /1-qrcode.stl"
29
+ }
30
+
31
+ # Make tags for all of the pages
32
+ make-tag " equipment/laser_cutter"
33
+ make-tag " equipment/bambulab_p1s"
34
+ make-tag " equipment/prusa_mk3"
35
+ make-tag " equipment/duratool_desolder_station"
36
+ make-tag " equipment/axminster_bandsaw"
37
+ make-tag " equipment/record_power_drill_press"
38
+ make-tag " equipment/record_power_belt_and_disc_sander"
39
+ make-tag " equipment/metal_lathe"
You can’t perform that action at this time.
0 commit comments