- Install font Quinze Narrow.
- Install Python. This script has been tested with Python 3.11.
- Under Windows, make sure that you select the option to add Python to PATH during the installation.
- Install OpenScad
- go to Start -> Settings -> Control Panel -> System -> Advanced tab -> Environment Variables -> System Variables
- select Path
- click Edit
- click New
- enter the path to the OpenScad main executable
- press ENTER
- click on OK and on OK again
- You need to close all related windows. If that does not help, restart Windows
-
Empty lines and lines starting with
\\
will be ignored. -
The format of a line in tags.txt is
"line 1","line 2"
- line1 and line2 are the texts that will be printed on the respective lines of the tag.
-i --inputfile [file]:
The file from where the labels will be read.
The default is "tags.txt"
-o --outputdir [directory]:
the directory where the stl files will be written to.
The default is "outdir"
-l --line ["line1","line2"]:
Directly pass the two lines that will be put on a label. This will disable -i.
-bh --base_height [height in mm]:
Height of the base plate.
The Default is 1.5.
-lh --letter_height [height in mm]
Height of the letters.
The Default is 0.3.
-f --font_size [size]:
The font size of the tag. Currently the following values are valid:
2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 16
The default is 5.
-hx --hole_size_x [size in mm]:
Horizontal size of the tag's hole.
The default is 3;
-hy --hole_size_y [size in mm]:
Vertical size of the tag's hole.
The default is 5;
-q --quiet [true|false]:
Do not show OpenScad output.
The default is true.
-t --thread_count [number]:
The number of simultaneous instances of OpenScad that this script is allowed to start.
The default is max(1, [cpu thread count]-1)
This means that you will have one thread less than the maximum of your CPU working simultaneously
or one if your CPU is single threaded.
-h --help:
Show this help.