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

@@ -16,7 +16,8 @@ module bi_directional_idt(
// bond pad prams
has_bond_pads = false,
bond_pad_leg_length = 0.00005,
bond_pad_leg_width = 0.00001875,
bond_pad_leg_width = 0.00001875,
bond_pad_leg_width_overide = 0,
bond_pad_size = 0.000075,
bond_pad_angle = 45,
bond_pad_bond_pad_shape = "square",
@@ -29,7 +30,7 @@ module bi_directional_idt(
id_rot = [0, 0, 0],
// extra
post_scale = 1,
echo_stats = false,
echo_stats = true,
center = false
) {
@@ -38,7 +39,6 @@ module bi_directional_idt(
// dont worry about these magic fractions
length_of_input = n_fingers*lambda+1.74*lambda;
should_be_centered = center ? 1 : 0;
center_offset_y = length_of_input + distance * lambda/2;
center_offset_x = finger_length*lambda/2 + gap/2 + thickness;
@@ -72,14 +72,14 @@ module bi_directional_idt(
color([255/255, 255/255, 255/255]) {
bond_pad(
leg_length_tweak = lambda/4,
leg_width=c/f/4,
leg_width=(c/f/4*scale_unit)*(-bond_pad_leg_width_overide+1) + bond_pad_leg_width*bond_pad_leg_width_overide,
leg_length=length(
[0,0,0],
[bond_pad_leg_length, bond_pad_leg_length, 0]
[bond_pad_leg_length*scale_unit, bond_pad_leg_length*scale_unit, 0]
),
leg_angle = -bond_pad_angle,
size = bond_pad_size,
post_scale=scale_unit
size = bond_pad_size*scale_unit,
post_scale = 1
);
}
}
@@ -91,14 +91,14 @@ module bi_directional_idt(
if (has_bond_pads) {
bond_pad(
leg_length_tweak = lambda/5,
leg_width=c/f/4,
leg_width=(c/f/4*scale_unit)*(-bond_pad_leg_width_overide+1) + bond_pad_leg_width*bond_pad_leg_width_overide,
leg_length=length(
[0,0,0],
[bond_pad_leg_length, bond_pad_leg_length, 0]
[bond_pad_leg_length*scale_unit, bond_pad_leg_length*scale_unit, 0]
),
leg_angle = bond_pad_angle,
size = bond_pad_size,
post_scale=scale_unit
size = bond_pad_size*scale_unit,
post_scale = 1
);
}
}
@@ -110,14 +110,14 @@ module bi_directional_idt(
if (has_bond_pads) {
bond_pad(
leg_length_tweak = lambda/5,
leg_width=c/f/4,
leg_width=(c/f/4*scale_unit)*(-bond_pad_leg_width_overide+1) + bond_pad_leg_width*bond_pad_leg_width_overide,
leg_length=length(
[0,0,0],
[bond_pad_leg_length, bond_pad_leg_length, 0]
[bond_pad_leg_length*scale_unit, bond_pad_leg_length*scale_unit, 0]
),
leg_angle = bond_pad_angle,
size = bond_pad_size,
post_scale=scale_unit
size = bond_pad_size*scale_unit,
post_scale = 1
);
}
}
@@ -127,14 +127,14 @@ module bi_directional_idt(
if (has_bond_pads) {
bond_pad(
leg_length_tweak = lambda/4,
leg_width=c/f/4,
leg_width=(c/f/4*scale_unit)*(-bond_pad_leg_width_overide+1) + bond_pad_leg_width*bond_pad_leg_width_overide,
leg_length=length(
[0,0,0],
[bond_pad_leg_length, bond_pad_leg_length, 0]
[bond_pad_leg_length*scale_unit, bond_pad_leg_length*scale_unit, 0]
),
leg_angle = -bond_pad_angle,
size = bond_pad_size,
post_scale=scale_unit
size = bond_pad_size*scale_unit,
post_scale = 1
);
}
}