KeyV2 icon indicating copy to clipboard operation
KeyV2 copied to clipboard

Legend does not work as expected

Open ronsmits opened this issue 1 year ago • 1 comments

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.

ronsmits avatar Mar 15 '24 07:03 ronsmits

you can set depth manually e.g. to 0.4 in the call to artisan in key in key.scad. e.g. if(!inset) artisan(0.4) children(); its a hack, dont know what all this breaks

brytonsf avatar Oct 05 '25 19:10 brytonsf