refactored files add some new ones

This commit is contained in:
2026-02-23 20:46:02 +13:00
parent ade276e1ec
commit 3a634cdb18
5 changed files with 293 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
module parameter_text(
heading,
params,
heading_size = 4,
param_size = 2.5,
font = "Ubuntu Sans Mono:style=Regular",
center = false
) {
text(heading, size=heading_size, font=FONT, halign = center ? "center" : "left");
for (i=[0:len(params)]) {
translate([0, -heading_size*(i+1), 0])
text(params[i], size=param_size, font=FONT, halign = center ? "center" : "left");
}
}