-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Hi! I am new to this repo, and new to openscad. I was planning on building a script to make my keycaps on Blender, but stumbled upon this repo, and had a eureka moment.
I wanted to use the ROW feature, but it doesn't seem to be working. Can someone explain to me what am I doing wrong? Here's what I do:
➜ ROW='[["1", "|", "!"],["2", "@", "\""],["3", "#", "•"],["4", "$", "~"],["5", "", "%"],["6", "¬", "&"],["7", "", "/"],["8", "", "("],["9", "", ")"],["0", "", "="],["'"'"'", "", "?"],["¡", "", "¿"]];'
➜ openscad -o first.stl -D "ROW=${ROW}" keycap_playground.scadThe script runs. However, only one key is generated with the legends on the LEGENDS variable, which previews on jscad. I have my ROW defined as such on the script:
ROW=[["1", "|", "!"],["2", "@", "\""],["3", "#", "•"],["4", "$", "~"],["5", "", "%"],["6", "¬", "\&"],["7", "", "/"],["8", "", "("],["9", "", ")"],["0", "", "="],["\'", "", "?"],["¡", "", "¿"]];I don't think it is "colliding" because if I remove that, the same thing happens.
Also, I think that the keys are rotated. Because when previewing the key with a legend, it shows rotated 180 deg on the z-axis. I rotated the legends to get the correct view, but it is difficult to manipulate translations with that rotation.
Can you guys help me pls?