GuitarModels/common.scad

4 lines
162 B
OpenSCAD
Raw Normal View History

2023-06-13 21:21:33 +09:30
Guitar_Scale_Length_mm = 648;
function fret_scale_length(n) = Guitar_Scale_Length_mm * 2^(-n/12);
function lerp(start, end, amount) = start + (end-start)*amount;