Skip to content

Commit

Permalink
Minor updates on the module name and header
Browse files Browse the repository at this point in the history
  • Loading branch information
ceoloide committed Jan 29, 2024
1 parent 4ecf493 commit 8f9bf5e
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 27 deletions.
1 change: 0 additions & 1 deletion ergogen/footprints/battery_connector_jst_ph_2.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
// at least once in the development of a board to confirm sufficient clearance for the
// connector and wires.


module.exports = {
params: {
designator: 'JST',
Expand Down
24 changes: 12 additions & 12 deletions ergogen/footprints/choc_v1_v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// With the set defaults it will include support for choc v1 and v2 hotswap, single side
// (Back).
//
// Nets
// Nets:
// from: corresponds to pin 1
// to: corresponds to pin 2
//
// Params
// Params:
// side: default is B for Back
// the side on which to place the single-side footprint and designator, either F or B
// reversible: default is false
Expand Down Expand Up @@ -59,20 +59,20 @@
// added above the hotswap holes.
//
// @infused-kim's improvements:
// - Added hotswap socket outlines
// - Moved switch corner marks from user layer to silk screen
// - Added option to adjust keycap size outlines (to show 1.5u outline)
// - Added option to add hotswap sockets and direct soldering holes at the
// - Add hotswap socket outlines
// - Move switch corner marks from user layer to silk screen
// - Add option to adjust keycap size outlines (to show 1.5u outline)
// - Add option to add hotswap sockets and direct soldering holes at the
// same time
// - Made hotswap pads not overlap holes to fix DRC errors
// - Make hotswap pads not overlap holes to fix DRC errors
// - Fixed DRC errors "Drilled holes co-located"
//
// @ceoloide's improvements:
// - Adjusted footprint to be Choc PG1353 (v2) compatible
// - Added option to hide corner marks, as they interfere with hotswap silkscreen
// - Added ability to specify board side
// - Added ability to include stabilizer pad
// - Added ability to use an oval stabilizer pad
// - Add option to hide corner marks, as they interfere with hotswap silkscreen
// - Add ability to specify board side
// - Add ability to include stabilizer pad
// - Add ability to use an oval stabilizer pad

module.exports = {
params: {
Expand All @@ -96,7 +96,7 @@ module.exports = {
},
body: p => {
const common_top = `
(module "ceoloide/choc_v1_v2" (layer F.Cu) (tedit 5DD50112)
(module "ceoloide:choc_v1_v2" (layer F.Cu) (tedit 5DD50112)
${p.at /* parametric position */}
(attr virtual)
Expand Down
6 changes: 3 additions & 3 deletions ergogen/footprints/combo_diode_sod123.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// Datasheet:
// https://cdn.shopify.com/s/files/1/0618/5674/3655/files/Semtech-1N4148W.pdf?v=1670451309
//
// Params
// Params:
// side: default is B for Back
// the side on which to place the single-side footprint and designator, either F or B
// reversible: default is false
Expand All @@ -31,16 +31,16 @@
module.exports = {
params: {
designator: 'D',
reversible: false,
side: 'B',
reversible: false,
include_tht: false,
from: undefined,
to: undefined
},
body: p => {

const standard_opening = `
(module "ceoloide/combo_diode_sod123" (layer ${p.side}.Cu) (tedit 5B24D78E)
(module "ceoloide:combo_diode_sod123" (layer ${p.side}.Cu) (tedit 5B24D78E)
${p.at /* parametric position */}
(fp_text reference "${p.ref}" (at 0 0) (layer ${p.side}.SilkS) ${p.ref_hide} (effects (font (size 1.27 1.27) (thickness 0.15))))
`
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/led_sk6812mini-e.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module.exports = {
}

const standard_opening = `
(module "ceoloide/led_SK6812mini-e (${p.reverse_mount ? "per-key" : "underglow"}${p.reversible ? ", reversible" : "single-side"})"
(module "ceoloide:led_SK6812mini-e (${p.reverse_mount ? "per-key" : "underglow"}${p.reversible ? ", reversible" : "single-side"})"
(layer ${p.side}.Cu) (tedit 5F70BC98)
${p.at /* parametric position */}
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/mounting_hole_npth.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = {
hole_drill: '2.2',
},
body: p => `
(module "ceoloide/mounting_hole_npth" (layer ${p.side}.Cu) (tedit 5F1B9159)
(module "ceoloide:mounting_hole_npth" (layer ${p.side}.Cu) (tedit 5F1B9159)
${p.at /* parametric position */}
(fp_text reference "${p.ref}" (at 0 2.55) (layer ${p.side}.SilkS) ${p.ref_hide} (effects (font (size 1 1) (thickness 0.15))))
(pad "" np_thru_hole circle (at 0 0) (size ${p.hole_size} ${p.hole_size}) (drill ${p.hole_drill}) (layers *.Cu *.Mask))
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/nice_nano.js
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ module.exports = {
}

const common_top = `
(module "ceoloide/nice_nano" (layer F.Cu) (tedit 6451A4F1)
(module "ceoloide:nice_nano" (layer F.Cu) (tedit 6451A4F1)
(attr virtual)
${p.at /* parametric position */}
(fp_text reference "${p.ref}" (at 0 -15) (layer F.SilkS) ${p.ref_hide}
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/nice_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ module.exports = {
}

const top = `
(module "ceoloide/nice_view" (layer ${p.side}.Cu) (tedit 6448AF5B)
(module "ceoloide:nice_view" (layer ${p.side}.Cu) (tedit 6448AF5B)
${p.at /* parametric position */}
(attr virtual)
(fp_text reference "${p.ref}" (at 0 20 ${p.rot}) (layer ${p.side}.SilkS) ${p.ref_hide}
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/power_switch_smd_side.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ module.exports = {
},
body: p => {
const common_start = `
(module "ceoloide/power_switch_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
(module "ceoloide:power_switch_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
${p.at /* parametric position */}
(attr smd)
(fp_text value "reset_button" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/reset_switch_smd_side.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
},
body: p => {
const common_start = `
(module "ceoloide/reset_button_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
(module "ceoloide:reset_button_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
${p.at /* parametric position */}
(attr smd)
(fp_text value "reset_button_smd_side" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/reset_switch_tht_top.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
},
body: p => {
const common_start = `
(module "ceoloide/reset_switch_tht_top" (layer ${p.side}.Cu) (tedit 5B9559E6) (tstamp 61905781)
(module "ceoloide:reset_switch_tht_top" (layer ${p.side}.Cu) (tedit 5B9559E6) (tstamp 61905781)
${p.at /* parametric position */}
(fp_text value "reset_switch_tht_top" (at 0 -2.55 90) (layer ${p.side}.Fab) (effects (font (size 1 1) (thickness 0.15))))
(fp_text reference "${p.ref}" (at 0 2.55 90) (layer ${p.side}.SilkS) ${p.ref_hide} (effects (font (size 1 1) (thickness 0.15))))
Expand Down
2 changes: 1 addition & 1 deletion ergogen/footprints/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// layer, and optionally make it reversible on the
// opposite side.
//
// Params
// Params:
// reversible: default is false
// Adds a mirrored text on the opposite side of the board
// thickness: default is 0.15
Expand Down
6 changes: 3 additions & 3 deletions ergogen/footprints/trrs.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
//
// Reversible & symmetrical
// _________________
// | ( A ) (C) (D)|
// | |
// | ( A ) (C) (D)|_
// | |_|
// |_( A )_(C)___(D)|
//
// Datasheet:
Expand Down Expand Up @@ -77,7 +77,7 @@ module.exports = {
}

const standard_opening = `
(module "ceoloide/${footprint_name}" (layer ${p.side}.Cu) (tedit 5970F8E5)
(module "ceoloide:${footprint_name}" (layer ${p.side}.Cu) (tedit 5970F8E5)
${p.at /* parametric position */}
Expand Down

0 comments on commit 8f9bf5e

Please sign in to comment.