added more comments
This commit is contained in:
@@ -24,7 +24,9 @@ module bi_directional_idt(
|
||||
// id number prams
|
||||
id_number = 0,
|
||||
has_id = false,
|
||||
id_flip_dir = [1, 1, 1],
|
||||
id_scale = [1, 1, 1],
|
||||
id_translate = [0, 0, 0],
|
||||
id_rot = [0, 0, 0],
|
||||
// extra
|
||||
post_scale = 1,
|
||||
echo_stats = false,
|
||||
@@ -46,7 +48,9 @@ module bi_directional_idt(
|
||||
if (has_id) {
|
||||
color([255/255, 0/255, 255/255])
|
||||
translate([finger_length*lambda/2, has_bond_pads ? -(bond_pad_leg_length * post_scale * cos(bond_pad_angle)) : -lambda*finger_length/2, 0])
|
||||
scale(id_flip_dir)
|
||||
translate(id_translate)
|
||||
rotate(id_rot)
|
||||
scale(id_scale)
|
||||
text(str(id_number), size=id_text_size, halign="center");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user