fixed feature size

This commit is contained in:
sirlilpanda
2026-02-26 11:23:07 +13:00
parent 9918d2b064
commit 9f4ce14d35
7 changed files with 11 additions and 44 deletions

View File

@@ -25,7 +25,11 @@ SCRIPT_VERSION="0.0.1";
// this really just need to be any mon font
FONT="Ubuntu Sans Mono:style=Regular";
test_number = 1;
// scale in m
// 1e3 : mm
// 1e6 : um
// 1e9 : nm
scale_unit = 1e3;
// ================= meta =================
@@ -101,7 +105,7 @@ module params() {
str("leg_length : ", leg_length),
str("leg_angle : ", leg_angle),
str("size : ", size),
str("feat. size (mm): ", (c/freq)*1e3),
str("feat. size (mm): ", (c/freq)*1e3 / 4),
str("version : ", SCRIPT_VERSION)
]
);