Have you ever wondered if there’s an easy way to create a QR code in SolidWorks?
Here’s possibly one.
Prompt for AI:
"
Generate a QR code from the following URL: [YOUR URL HERE]
Requirements:
1) Use the smallest QR Code version that fits the data with zero border (border = 0).
2) Report:
QR Code version used (e.g., "Version: 4"),
Module grid size N×N (e.g., "Size: 33×33"),
Scale factor s = [QR CODE SIZE HERE] mm / N (mm per module).
Coordinate extraction (strict):
Consider only black modules in the QR matrix; output exactly one coordinate per black module.
Coordinates must represent the TOP-LEFT CORNER of each black module.
Coordinate system:
Origin (0,0) is the top-left module corner of the QR matrix.
x increases to the right; y increases downward.
Physical scaling:
For a black module at matrix indices (i, j), compute:
x = i * s
y = j * s
where i and j are integers in [0, N-1].
Round x and y to 6 decimal places.
IMPORTANT: Do not output any coordinate with x == N * s or y == N * s (i.e., 35 mm). The maximum top-left corner value is (N-1) * s.
Output formatting (plain text file content):
One coordinate per line.
Use "." as the decimal separator.
x and y separated by a single TAB character.
No header row.
No explanations, no extra lines.
"