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

@@ -12,7 +12,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;
@@ -56,6 +57,7 @@ bond_pad_shape = "square";
// ================= bond pad =================
// ================= text =================
render_text = true;
info_block_offset_x=7;
info_block_offset_y=30;
info_block_scale=0.3;
@@ -75,6 +77,8 @@ idt_y_spacing = 12.5;
wafer_size_inch = 4;
// ================= wafers =================
module params() {
parameter_text(
str("IDT ", substrate, "#", test_number),
@@ -91,18 +95,20 @@ 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]) {
rotate([0, 0, -90])
scale([info_block_scale, info_block_scale, info_block_scale]) {
if (render_text) {
translate([info_block_offset_x, -info_block_offset_y, 0])
scale([info_block_scale, info_block_scale, info_block_scale])
params();
}
}
rotate([0, 0, 180])
translate([info_block_offset_x, -info_block_offset_y, 0]) {