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

@@ -1,6 +1,7 @@
include <../modules/bidirectional_idt.scad>
include <../modules/parameter_text.scad>
include <../modules/wafer.scad>
include <../common_paramas.scad>
// ================= README =================
// these are the normal parameters used by
@@ -23,7 +24,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;
@@ -76,6 +78,7 @@ info_block_scale=0.3;
title_text_size = 4;
prop_text_size = 2.5;
id_text_size = 1;
render_text = true;
// ================= text =================
@@ -107,13 +110,17 @@ 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);