Add mounting holes on the pcb

This commit is contained in:
2024-02-20 02:12:32 +01:00
parent 85077033d3
commit e11855bca7
3 changed files with 357 additions and 1 deletions
+31
View File
@@ -224,6 +224,37 @@ pcbs:
ref: matrix_inner_home
shift: [0, 0.75ky]
rotate: 90
mounts_top_left:
what: infused-kim/mounting_hole
where:
ref: matrix_middle_top
shift: [-2.5kx, 0.5ky]
mounts_top_right:
what: infused-kim/mounting_hole
where:
ref: matrix_middle_top
shift: [2.5kx + mc_width - px, 0.5ky]
mounts_middle_right:
what: infused-kim/mounting_hole
where:
ref: matrix_middle_bottom
shift: [2.5kx + mc_width - px, -1.25ky]
mounts_bottom_left:
what: infused-kim/mounting_hole
where:
ref: matrix_middle_bottom
shift: [-2.5kx, -1.25ky]
mounts_thumb_left:
what: infused-kim/mounting_hole
where:
ref: thumb_left_cluster
shift: [-0.5kx - 0.25px, -0.5ky - 0.25py]
mounts_thumb_right:
what: infused-kim/mounting_hole
where:
ref: thumb_right_cluster
shift: [-0.5kx - 1.25px, -0.5ky]
cases:
plate:
- name: board
+84
View File
@@ -3697,6 +3697,90 @@
(segment (start 173.800 56.500) (end 172.000 56.500) (width 0.25) (layer "F.Cu") (net 65))
(segment (start 173.800 56.500) (end 172.000 56.500) (width 0.25) (layer "B.Cu") (net 65))
(module mounting_hole (layer F.Cu) (tedit 64B5A986)
(at 91 44.75 0)
(fp_text reference "H1" (at 0 3) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0 180) (size 3.8000000000000003 3.8000000000000003) (drill 2.2) (layers *.Cu *.Mask))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer B.CrtYd) (width 0.05))
)
(module mounting_hole (layer F.Cu) (tedit 64B5A986)
(at 197 44.75 0)
(fp_text reference "H2" (at 0 3) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0 180) (size 3.8000000000000003 3.8000000000000003) (drill 2.2) (layers *.Cu *.Mask))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer B.CrtYd) (width 0.05))
)
(module mounting_hole (layer F.Cu) (tedit 64B5A986)
(at 197 108.5 0)
(fp_text reference "H3" (at 0 3) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0 180) (size 3.8000000000000003 3.8000000000000003) (drill 2.2) (layers *.Cu *.Mask))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer B.CrtYd) (width 0.05))
)
(module mounting_hole (layer F.Cu) (tedit 64B5A986)
(at 91 108.5 0)
(fp_text reference "H4" (at 0 3) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0 180) (size 3.8000000000000003 3.8000000000000003) (drill 2.2) (layers *.Cu *.Mask))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer B.CrtYd) (width 0.05))
)
(module mounting_hole (layer F.Cu) (tedit 64B5A986)
(at 135 130.75 0)
(fp_text reference "H5" (at 0 3) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0 180) (size 3.8000000000000003 3.8000000000000003) (drill 2.2) (layers *.Cu *.Mask))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer B.CrtYd) (width 0.05))
)
(module mounting_hole (layer F.Cu) (tedit 64B5A986)
(at 187.72396099999997 148.4395207 60)
(fp_text reference "H6" (at 0 3) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(pad "" thru_hole circle (at 0 0 180) (size 3.8000000000000003 3.8000000000000003) (drill 2.2) (layers *.Cu *.Mask))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer F.CrtYd) (width 0.05))
(fp_circle (center 0 0) (end -2.1500000000000004 0) (layer B.CrtYd) (width 0.05))
)
(gr_line (start 87 108.5) (end 87 44.75) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 91 40.75) (end 197 40.75) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 201 44.75) (end 201 108.00980148898975) (angle 90) (layer Edge.Cuts) (width 0.15))
+242 -1
View File
@@ -175,6 +175,217 @@
"cvpcb": {
"equivalence_files": []
},
"erc": {
"erc_exclusions": [],
"meta": {
"version": 0
},
"pin_map": [
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
1,
0,
1,
2
],
[
0,
1,
0,
0,
0,
0,
1,
1,
2,
1,
1,
2
],
[
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
],
[
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
2
],
[
0,
0,
0,
1,
0,
0,
1,
0,
0,
0,
0,
2
],
[
0,
2,
1,
2,
0,
0,
1,
0,
2,
2,
2,
2
],
[
0,
2,
0,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
0,
2,
1,
1,
0,
0,
1,
0,
2,
0,
0,
2
],
[
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
],
"rule_severities": {
"bus_definition_conflict": "error",
"bus_entry_needed": "error",
"bus_to_bus_conflict": "error",
"bus_to_net_conflict": "error",
"conflicting_netclasses": "error",
"different_unit_footprint": "error",
"different_unit_net": "error",
"duplicate_reference": "error",
"duplicate_sheet_names": "error",
"endpoint_off_grid": "warning",
"extra_units": "error",
"global_label_dangling": "warning",
"hier_label_mismatch": "error",
"label_dangling": "error",
"lib_symbol_issues": "warning",
"missing_bidi_pin": "warning",
"missing_input_pin": "warning",
"missing_power_pin": "error",
"missing_unit": "warning",
"multiple_net_names": "warning",
"net_not_bus_member": "warning",
"no_connect_connected": "warning",
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"power_pin_not_driven": "error",
"similar_labels": "warning",
"simulation_model_issue": "ignore",
"unannotated": "error",
"unit_value_mismatch": "error",
"unresolved_variable": "error",
"wire_dangling": "error"
}
},
"libraries": {
"pinned_footprint_libs": [],
"pinned_symbol_libs": []
@@ -487,8 +698,38 @@
"page_layout_descr_file": ""
},
"schematic": {
"annotate_start_num": 0,
"drawing": {
"dashed_lines_dash_length_ratio": 12.0,
"dashed_lines_gap_length_ratio": 3.0,
"default_line_thickness": 6.0,
"default_text_size": 50.0,
"field_names": [],
"intersheets_ref_own_page": false,
"intersheets_ref_prefix": "",
"intersheets_ref_short": false,
"intersheets_ref_show": false,
"intersheets_ref_suffix": "",
"junction_size_choice": 3,
"label_size_ratio": 0.375,
"pin_symbol_size": 25.0,
"text_offset_ratio": 0.15
},
"legacy_lib_dir": "",
"legacy_lib_list": []
"legacy_lib_list": [],
"meta": {
"version": 1
},
"net_format_name": "",
"page_layout_descr_file": "",
"plot_directory": "",
"spice_current_sheet_as_root": false,
"spice_external_command": "spice \"%I\"",
"spice_model_current_sheet_as_root": true,
"spice_save_all_currents": false,
"spice_save_all_voltages": false,
"subpart_first_id": 65,
"subpart_id_separator": 0
},
"sheets": [],
"text_variables": {}