pre update
This commit is contained in:
parent
5060864b08
commit
73775d6999
6 changed files with 7685 additions and 27 deletions
107
23creus.yaml
107
23creus.yaml
|
@ -1,3 +1,4 @@
|
|||
# yaml-language-server: $schema=./meta/schema.json
|
||||
units:
|
||||
kx: cx
|
||||
ky: cy
|
||||
|
@ -67,6 +68,78 @@ points:
|
|||
|
||||
outlines:
|
||||
# outer border
|
||||
farouter:
|
||||
- what: polygon
|
||||
points:
|
||||
- ref: matrix_inner_num
|
||||
shift: [13, 13]
|
||||
- ref: matrix_middle_num
|
||||
shift: [13, 13]
|
||||
- ref: matrix_middle_num
|
||||
shift: [-13, 13]
|
||||
- ref: matrix_pinky_num
|
||||
shift: [-13, 13]
|
||||
- ref: matrix_pinky_bottom
|
||||
shift: [-13, -13]
|
||||
- ref: matrix_pinky_bottom
|
||||
shift: [13, -13]
|
||||
- ref: matrix_inner_bottom
|
||||
shift: [-13, -13]
|
||||
- ref: matrix_inner_bottom
|
||||
shift: [13, -13]
|
||||
- ref: mirror_matrix_inner_bottom
|
||||
shift: [13, -13]
|
||||
- ref: mirror_matrix_inner_bottom
|
||||
shift: [-13, -13]
|
||||
- ref: mirror_matrix_pinky_bottom
|
||||
shift: [13, -13]
|
||||
- ref: mirror_matrix_pinky_bottom
|
||||
shift: [-13, -13]
|
||||
- ref: mirror_matrix_pinky_num
|
||||
shift: [-13, 13]
|
||||
- ref: mirror_matrix_middle_num
|
||||
shift: [-13, 13]
|
||||
- ref: mirror_matrix_middle_num
|
||||
shift: [13, 13]
|
||||
- ref: mirror_matrix_inner_num
|
||||
shift: [13, 13]
|
||||
|
||||
compatouter:
|
||||
- what: polygon
|
||||
points:
|
||||
- ref: matrix_inner_num
|
||||
shift: [11, 11]
|
||||
- ref: matrix_middle_num
|
||||
shift: [11, 11]
|
||||
- ref: matrix_middle_num
|
||||
shift: [-11, 11]
|
||||
- ref: matrix_pinky_num
|
||||
shift: [-11, 11]
|
||||
- ref: matrix_pinky_bottom
|
||||
shift: [-11, -11]
|
||||
- ref: matrix_pinky_bottom
|
||||
shift: [11, -11]
|
||||
- ref: matrix_inner_bottom
|
||||
shift: [-11, -11]
|
||||
- ref: matrix_inner_bottom
|
||||
shift: [11, -11]
|
||||
- ref: mirror_matrix_inner_bottom
|
||||
shift: [11, -11]
|
||||
- ref: mirror_matrix_inner_bottom
|
||||
shift: [-11, -11]
|
||||
- ref: mirror_matrix_pinky_bottom
|
||||
shift: [11, -11]
|
||||
- ref: mirror_matrix_pinky_bottom
|
||||
shift: [-11, -11]
|
||||
- ref: mirror_matrix_pinky_num
|
||||
shift: [-11, 11]
|
||||
- ref: mirror_matrix_middle_num
|
||||
shift: [-11, 11]
|
||||
- ref: mirror_matrix_middle_num
|
||||
shift: [11, 11]
|
||||
- ref: mirror_matrix_inner_num
|
||||
shift: [11, 11]
|
||||
|
||||
outer:
|
||||
- what: polygon
|
||||
points:
|
||||
|
@ -112,14 +185,14 @@ outlines:
|
|||
aggregate.parts:
|
||||
- matrix_inner_bottom
|
||||
- mirror_matrix_inner_bottom
|
||||
shift: [0, 0]
|
||||
shift: [0, 40]
|
||||
|
||||
# 14mm holes for cherry switches
|
||||
keyholes:
|
||||
- what: rectangle
|
||||
where: true
|
||||
asym: source
|
||||
size: 13.5
|
||||
size: 13.8
|
||||
|
||||
# keycaps
|
||||
keycaps:
|
||||
|
@ -134,6 +207,21 @@ outlines:
|
|||
- -keyholes
|
||||
- -chip
|
||||
|
||||
# far outer switchplate
|
||||
farouterswitchplate:
|
||||
- farouter
|
||||
- -keyholes
|
||||
- -chip
|
||||
|
||||
cases:
|
||||
laser:
|
||||
- name: farouterswitchplate
|
||||
extrude: 6.5
|
||||
- name: compatouter
|
||||
extrude: 5.2
|
||||
shift: [0, 0, 1.3]
|
||||
operation: subtract
|
||||
|
||||
pcbs:
|
||||
main:
|
||||
outlines:
|
||||
|
@ -149,14 +237,7 @@ pcbs:
|
|||
to: "{{column_net}}"
|
||||
keycaps: true
|
||||
hotswap: true
|
||||
#led:
|
||||
# what: rgb
|
||||
# where: true
|
||||
# adjust:
|
||||
# shift: [0, -5]
|
||||
# params:
|
||||
# din: "{{label}}"
|
||||
# dout: P02
|
||||
|
||||
diode:
|
||||
what: diode
|
||||
where: true
|
||||
|
@ -164,8 +245,9 @@ pcbs:
|
|||
from: "{{colrow}}"
|
||||
to: "{{row_net}}"
|
||||
adjust:
|
||||
shift: [-8, -0]
|
||||
rotate: 90
|
||||
shift: [0, -5]
|
||||
rotate: 180
|
||||
|
||||
reset:
|
||||
what: button
|
||||
params:
|
||||
|
@ -177,6 +259,7 @@ pcbs:
|
|||
- matrix_inner_bottom
|
||||
- mirror_matrix_inner_bottom
|
||||
rotate: 90
|
||||
|
||||
mcu:
|
||||
what: promicro
|
||||
where:
|
||||
|
|
|
@ -145,6 +145,8 @@ outlines:
|
|||
- -keyholes
|
||||
- -chip
|
||||
|
||||
cases:
|
||||
|
||||
pcbs:
|
||||
main:
|
||||
outlines:
|
||||
|
|
4
Makefile
4
Makefile
|
@ -1,6 +1,6 @@
|
|||
all: node_modules
|
||||
node src/cli.js 23creus.yaml -o output
|
||||
cp output/pcbs/main.kicad_pcb kicad/45treus/
|
||||
node src/cli.js 23creus.yaml -d -o output
|
||||
cp output/pcbs/main.kicad_pcb kicad/23creus/
|
||||
|
||||
node_modules:
|
||||
npm ci
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
{
|
||||
"board": {
|
||||
"active_layer": 0,
|
||||
"active_layer": 37,
|
||||
"active_layer_preset": "All Layers",
|
||||
"auto_track_width": true,
|
||||
"hidden_netclasses": [],
|
||||
"hidden_nets": [],
|
||||
"high_contrast_mode": 0,
|
||||
"net_color_mode": 1,
|
||||
"opacity": {
|
||||
"images": 0.6,
|
||||
"pads": 1.0,
|
||||
"tracks": 1.0,
|
||||
"vias": 1.0,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"board": {
|
||||
"3dviewports": [],
|
||||
"design_settings": {
|
||||
"defaults": {
|
||||
"board_outline_line_width": 0.049999999999999996,
|
||||
|
@ -44,7 +45,6 @@
|
|||
"silk_text_thickness": 0.15,
|
||||
"silk_text_upright": false,
|
||||
"zones": {
|
||||
"45_degree_only": false,
|
||||
"min_clearance": 0.508
|
||||
}
|
||||
},
|
||||
|
@ -57,32 +57,43 @@
|
|||
"rule_severities": {
|
||||
"annular_width": "error",
|
||||
"clearance": "error",
|
||||
"connection_width": "warning",
|
||||
"copper_edge_clearance": "error",
|
||||
"copper_sliver": "warning",
|
||||
"courtyards_overlap": "error",
|
||||
"diff_pair_gap_out_of_range": "error",
|
||||
"diff_pair_uncoupled_length_too_long": "error",
|
||||
"drill_out_of_range": "error",
|
||||
"duplicate_footprints": "warning",
|
||||
"extra_footprint": "warning",
|
||||
"footprint_type_mismatch": "error",
|
||||
"footprint": "error",
|
||||
"footprint_type_mismatch": "ignore",
|
||||
"hole_clearance": "error",
|
||||
"hole_near_hole": "error",
|
||||
"invalid_outline": "error",
|
||||
"isolated_copper": "warning",
|
||||
"item_on_disabled_layer": "error",
|
||||
"items_not_allowed": "error",
|
||||
"length_out_of_range": "error",
|
||||
"lib_footprint_issues": "warning",
|
||||
"lib_footprint_mismatch": "warning",
|
||||
"malformed_courtyard": "error",
|
||||
"microvia_drill_out_of_range": "error",
|
||||
"missing_courtyard": "ignore",
|
||||
"missing_footprint": "warning",
|
||||
"net_conflict": "warning",
|
||||
"npth_inside_courtyard": "ignore",
|
||||
"padstack": "error",
|
||||
"padstack": "warning",
|
||||
"pth_inside_courtyard": "ignore",
|
||||
"shorting_items": "error",
|
||||
"silk_edge_clearance": "warning",
|
||||
"silk_over_copper": "warning",
|
||||
"silk_overlap": "warning",
|
||||
"skew_out_of_range": "error",
|
||||
"solder_mask_bridge": "error",
|
||||
"starved_thermal": "error",
|
||||
"text_height": "warning",
|
||||
"text_thickness": "warning",
|
||||
"through_hole_pad_without_hole": "error",
|
||||
"too_many_vias": "error",
|
||||
"track_dangling": "warning",
|
||||
|
@ -91,32 +102,75 @@
|
|||
"unconnected_items": "error",
|
||||
"unresolved_variable": "error",
|
||||
"via_dangling": "warning",
|
||||
"zone_has_empty_net": "error",
|
||||
"zones_intersect": "error"
|
||||
},
|
||||
"rules": {
|
||||
"allow_blind_buried_vias": false,
|
||||
"allow_microvias": false,
|
||||
"max_error": 0.005,
|
||||
"min_clearance": 0.0,
|
||||
"min_connection": 0.0,
|
||||
"min_copper_edge_clearance": 0.075,
|
||||
"min_hole_clearance": 0.25,
|
||||
"min_hole_to_hole": 0.25,
|
||||
"min_microvia_diameter": 0.19999999999999998,
|
||||
"min_microvia_drill": 0.09999999999999999,
|
||||
"min_resolved_spokes": 2,
|
||||
"min_silk_clearance": 0.0,
|
||||
"min_text_height": 0.7999999999999999,
|
||||
"min_text_thickness": 0.08,
|
||||
"min_through_hole_diameter": 0.3,
|
||||
"min_track_width": 0.19999999999999998,
|
||||
"min_via_annular_width": 0.049999999999999996,
|
||||
"min_via_annular_width": 0.09999999999999999,
|
||||
"min_via_diameter": 0.39999999999999997,
|
||||
"solder_mask_to_copper_clearance": 0.0,
|
||||
"use_height_for_length_calcs": true
|
||||
},
|
||||
"teardrop_options": [
|
||||
{
|
||||
"td_allow_use_two_tracks": true,
|
||||
"td_curve_segcount": 5,
|
||||
"td_on_pad_in_zone": false,
|
||||
"td_onpadsmd": true,
|
||||
"td_onroundshapesonly": false,
|
||||
"td_ontrackend": false,
|
||||
"td_onviapad": true
|
||||
}
|
||||
],
|
||||
"teardrop_parameters": [
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_round_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_rect_shape",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
},
|
||||
{
|
||||
"td_curve_segcount": 0,
|
||||
"td_height_ratio": 1.0,
|
||||
"td_length_ratio": 0.5,
|
||||
"td_maxheight": 2.0,
|
||||
"td_maxlen": 1.0,
|
||||
"td_target_name": "td_track_end",
|
||||
"td_width_to_size_filter_ratio": 0.9
|
||||
}
|
||||
],
|
||||
"track_widths": [],
|
||||
"via_dimensions": [],
|
||||
"zones_allow_external_fillets": false,
|
||||
"zones_use_no_outline": true
|
||||
},
|
||||
"layer_presets": []
|
||||
"layer_presets": [],
|
||||
"viewports": []
|
||||
},
|
||||
"boards": [],
|
||||
"cvpcb": {
|
||||
|
@ -338,7 +392,7 @@
|
|||
"net_settings": {
|
||||
"classes": [
|
||||
{
|
||||
"bus_width": 12.0,
|
||||
"bus_width": 12,
|
||||
"clearance": 0.2,
|
||||
"diff_pair_gap": 0.25,
|
||||
"diff_pair_via_gap": 0.25,
|
||||
|
@ -352,13 +406,276 @@
|
|||
"track_width": 0.25,
|
||||
"via_diameter": 0.8,
|
||||
"via_drill": 0.4,
|
||||
"wire_width": 6.0
|
||||
"wire_width": 6
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"version": 2
|
||||
"version": 3
|
||||
},
|
||||
"net_colors": null
|
||||
"net_colors": null,
|
||||
"netclass_assignments": null,
|
||||
"netclass_patterns": [
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": ""
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "pinky_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P21"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "pinky_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "pinky_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "pinky_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "ring_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P20"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "ring_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "ring_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "ring_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "middle_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P19"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "middle_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "middle_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "middle_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "index_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P18"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "index_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "index_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "index_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "inner_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P15"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "inner_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "inner_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "inner_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "thumb_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P14"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_pinky_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P2"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_pinky_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_pinky_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_pinky_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_ring_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P3"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_ring_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_ring_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_ring_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_middle_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P4"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_middle_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_middle_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_middle_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_index_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P5"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_index_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_index_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_index_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_inner_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P6"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_inner_home"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_inner_top"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_inner_num"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "mirror_thumb_bottom"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P7"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P16"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P10"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P9"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P8"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "RST"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "GND"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "RAW"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "VCC"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P1"
|
||||
},
|
||||
{
|
||||
"netclass": "Default",
|
||||
"pattern": "P0"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pcbnew": {
|
||||
"last_paths": {
|
||||
|
|
7254
kicad/23creus/main.kicad_pcb
Normal file
7254
kicad/23creus/main.kicad_pcb
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue