rsheldiii / KeyV2

KeyV2: A Parametric Mechanical Keycap Library
GNU General Public License v3.0
1.45k stars 187 forks source link

Legend does not work as expected #205

Open ronsmits opened 6 months ago

ronsmits commented 6 months ago

What version of OpenSCAD are you on? version 2021.01

Describe the bug adding two legends does not position correectly:

$outset_legends = true;
oem_row(3) legend("a",size=4,[0,-1]) legend("b",size=4,[0,1]) key();

The console shows:

[WARNING: undefined operation (-undefined) in file key.scad, line 180](https://github.com/rsheldiii/KeyV2/issues/180,/home/ron/src/ergodox/openSCAD-projects/key/src/key.scad) 
[WARNING: Unable to convert translate([0, 4.01429, undef]) parameter to a vec3 or vec2 of numbers in file key.scad, line 180](https://github.com/rsheldiii/KeyV2/issues/180,/home/ron/src/ergodox/openSCAD-projects/key/src/key.scad) 
[WARNING: undefined operation (-undefined) in file key.scad, line 180](https://github.com/rsheldiii/KeyV2/issues/180,/home/ron/src/ergodox/openSCAD-projects/key/src/key.scad) 
[WARNING: Unable to convert translate([0, -4.01429, undef]) parameter to a vec3 or vec2 of numbers in file key.scad, line 180](https://github.com/rsheldiii/KeyV2/issues/180,/home/ron/src/ergodox/openSCAD-projects/key/src/key.scad)

I am using the master branch, checked it out this morning

To Reproduce see above Additional context Add any other context about the problem here.