This commit is contained in:
sirlilpanda
2026-07-13 17:38:03 +12:00
parent 9f4ce14d35
commit 726bbd469e
45 changed files with 16366785 additions and 89 deletions

View File

@@ -23,7 +23,8 @@ $fs = 0.01;
// ================= meta =================
SCRIPT_VERSION="0.0.1";
// this really just need to be any mon font
FONT="Ubuntu Sans Mono:style=Regular";
// FONT="Ubuntu Sans Mono:style=Regular";
FONT="SquareFont:style=Regular";
test_number = 1;
// scale in m
scale_unit = 1e3;
@@ -73,6 +74,7 @@ info_block_scale=0.3;
title_text_size = 4;
prop_text_size = 2.5;
id_text_size = 1;
render_text = true;
// ================= text =================
// ================= IDT Pos =================
@@ -103,13 +105,16 @@ module params() {
str("size : ", size),
str("feat. size (mm): ", (c/freq)*1e3 / 4),
str("version : ", SCRIPT_VERSION)
]
],
font=FONT
);
}
translate([info_block_offset_x, -info_block_offset_y, 0])
scale([info_block_scale, info_block_scale, info_block_scale])
params();
if (render_text) {
translate([info_block_offset_x, -info_block_offset_y, 0])
scale([info_block_scale, info_block_scale, info_block_scale])
params();
}
wafer(wafer_size_inch*25.4);