led-boards: Optimize layout for milling, Add pcb2gcode config

This commit is contained in:
jonny 2024-11-14 11:06:57 +01:00
parent 57e54e98d2
commit ffc3829ca3
7 changed files with 2769 additions and 2913 deletions

View File

@ -70,18 +70,7 @@
(attr exclude_from_pos_files exclude_from_bom) (attr exclude_from_pos_files exclude_from_bom)
(fp_circle (fp_circle
(center 0 0) (center 0 0)
(end 1.9 0) (end 2.3 0)
(stroke
(width 0.15)
(type solid)
)
(fill none)
(layer "Cmts.User")
(uuid "25e60c30-c624-4df4-a7c5-120301308130")
)
(fp_circle
(center 0 0)
(end 2.15 0)
(stroke (stroke
(width 0.05) (width 0.05)
(type solid) (type solid)
@ -103,23 +92,23 @@
) )
(pad "" np_thru_hole circle (pad "" np_thru_hole circle
(at 0 0) (at 0 0)
(size 3.8 3.8) (size 3.4 3.4)
(drill 2.2) (drill 2.2)
(layers "F&B.Cu" "*.Mask") (layers "F&B.Cu")
(clearance 0.1) (clearance 0.1)
(uuid "09a1171c-5923-4d70-9fb7-dde883bdb35f") (uuid "09a1171c-5923-4d70-9fb7-dde883bdb35f")
) )
(pad "1" smd circle (pad "1" smd circle
(at 0 0) (at 0 0)
(size 4.5 4.5) (size 4.2 4.2)
(layers "F.Cu" "F.Paste" "F.Mask") (layers "F.Cu")
(zone_connect 2) (zone_connect 2)
(uuid "a8156d5a-43b4-444d-a7df-ef57fab42114") (uuid "a8156d5a-43b4-444d-a7df-ef57fab42114")
) )
(pad "1" smd circle (pad "1" smd circle
(at 0 0) (at 0 0)
(size 4.5 4.5) (size 4.2 4.2)
(layers "B.Cu" "F.Paste" "F.Mask") (layers "B.Cu")
(zone_connect 2) (zone_connect 2)
(uuid "0e7dffd8-5d13-4641-b66f-fe5e339a6d05") (uuid "0e7dffd8-5d13-4641-b66f-fe5e339a6d05")
) )

View File

@ -0,0 +1,150 @@
(footprint "MountingHole_2.2mm_NPTH-with-pad_ring-del"
(version 20240108)
(generator "pcbnew")
(generator_version "8.0")
(layer "F.Cu")
(descr "Mounting Hole 2.2mm, M2, ISO14580")
(tags "mounting hole 2.2mm m2 iso14580")
(property "Reference" "REF**"
(at 0.5 -3.25 0)
(layer "F.SilkS")
(uuid "63757711-de90-44be-a5aa-2c095f96adc5")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Value" "MountingHole_2.2mm_NPTH-with-pad_ring-del"
(at 0 3.5 0)
(layer "F.Fab")
(hide yes)
(uuid "2ee11917-7b71-4fa5-a06f-767d17b31f62")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "02b4afe3-5c4b-44e5-97d6-58e1ea9289b4")
(effects
(font
(size 1.27 1.27)
(thickness 0.15)
)
)
)
(property "Datasheet" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "c22bc492-c970-43fb-b605-5ef0cf77c4ef")
(effects
(font
(size 1.27 1.27)
(thickness 0.15)
)
)
)
(property "Description" ""
(at 0 0 0)
(unlocked yes)
(layer "F.Fab")
(hide yes)
(uuid "ca695e4b-06f5-4e77-a4b7-5bd2d5c091ef")
(effects
(font
(size 1.27 1.27)
(thickness 0.15)
)
)
)
(attr exclude_from_pos_files exclude_from_bom)
(fp_circle
(center 0 0)
(end 2.15 0)
(stroke
(width 0.05)
(type solid)
)
(fill none)
(layer "F.CrtYd")
(uuid "2ce6d3de-4552-4923-b122-afa6f194b79f")
)
(fp_circle
(center 0 0)
(end 2.5 0)
(stroke
(width 0.05)
(type default)
)
(fill none)
(layer "F.CrtYd")
(uuid "b6d5a4f4-47ab-4f85-9d1f-efcb15a9ddc5")
)
(fp_text user "${REFERENCE}"
(at 0.5 5 0)
(layer "F.Fab")
(uuid "b1c5e93f-e81f-4617-8d73-599505372613")
(effects
(font
(size 1 1)
(thickness 0.15)
)
)
)
(pad "" np_thru_hole circle
(at 0 0)
(size 2.5 2.5)
(drill 2.5)
(layers "F&B.Cu" "*.Mask")
(zone_connect 2)
(uuid "09a1171c-5923-4d70-9fb7-dde883bdb35f")
)
(pad "1" smd custom
(at 0 -1.75)
(size 0.5 0.5)
(layers "F.Cu")
(zone_connect 2)
(options
(clearance outline)
(anchor circle)
)
(primitives
(gr_circle
(center 0 1.75)
(end 1.75 1.75)
(width 1)
(fill no)
)
)
(uuid "92828eed-42e2-487b-bcf2-4047c587a444")
)
(pad "1" smd custom
(at 0 -1.75)
(size 0.5 0.5)
(layers "B.Cu")
(zone_connect 2)
(options
(clearance outline)
(anchor circle)
)
(primitives
(gr_circle
(center 0 1.75)
(end 1.75 1.75)
(width 1)
(fill no)
)
)
(uuid "e0510ba4-d0b2-4880-b61e-b6671dcd3a1a")
)
)

View File

@ -1,4 +1,4 @@
24202781203177898 24204512933258749
Audio_Module Audio_Module
Reverb_BTDR-1H Reverb_BTDR-1H
Digital Reverberation Unit, http://www.belton.co.kr/inc/downfile.php?seq=17&file=pdf (footprint from http://www.uk-electronic.de/PDF/BTDR-1.pdf) Digital Reverberation Unit, http://www.belton.co.kr/inc/downfile.php?seq=17&file=pdf (footprint from http://www.uk-electronic.de/PDF/BTDR-1.pdf)
@ -97976,7 +97976,14 @@ MountingHole_2.2mm_NPTH-with-pad
Mounting Hole 2.2mm, M2, ISO14580 Mounting Hole 2.2mm, M2, ISO14580
mounting hole 2.2mm m2 iso14580 mounting hole 2.2mm m2 iso14580
0 0
2
1 1
custom-footprints1
MountingHole_2.2mm_NPTH-with-pad_ring-del
Mounting Hole 2.2mm, M2, ISO14580
mounting hole 2.2mm m2 iso14580
0
2
1 1
custom-footprints1 custom-footprints1
WAGO 231-533 Print-Stiftleiste, Midi, RM 5,08, gewinkelt, 3-polig WAGO 231-533 Print-Stiftleiste, Midi, RM 5,08, gewinkelt, 3-polig

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"board": { "board": {
"active_layer": 0, "active_layer": 35,
"active_layer_preset": "", "active_layer_preset": "",
"auto_track_width": false, "auto_track_width": false,
"hidden_netclasses": [], "hidden_netclasses": [],
@ -15,17 +15,17 @@
"zones": 0.6000000238418579 "zones": 0.6000000238418579
}, },
"selection_filter": { "selection_filter": {
"dimensions": true, "dimensions": false,
"footprints": true, "footprints": true,
"graphics": true, "graphics": false,
"keepouts": true, "keepouts": false,
"lockedItems": false, "lockedItems": false,
"otherItems": true, "otherItems": false,
"pads": true, "pads": false,
"text": true, "text": false,
"tracks": true, "tracks": false,
"vias": true, "vias": false,
"zones": true "zones": false
}, },
"visible_items": [ "visible_items": [
0, 0,

View File

@ -58,33 +58,7 @@
"width": 0.0 "width": 0.0
} }
], ],
"drc_exclusions": [ "drc_exclusions": [],
"clearance|138734800|48361600|8c3b2f59-f661-44f6-854e-c2e89805983d|5a59b82a-69ee-42f7-8631-090ef74836b6",
"clearance|179730400|48361600|a52caa32-a4c7-4882-827e-0754c08c0451|0b0e0518-5cca-487b-9fda-600de2dff016",
"copper_edge_clearance|136388000|87172800|813fa3ec-ce49-4480-8cd6-32557a2478be|ed25b296-a677-4b15-b29b-9b53a2288bc4",
"copper_edge_clearance|136420150|48361600|b8494fbc-30ab-4882-937c-6e4d280f9305|8c3b2f59-f661-44f6-854e-c2e89805983d",
"copper_edge_clearance|136420150|67564000|842000a4-db08-453d-b6d2-50d6d034af3a|ebfa23e1-1d19-4bee-87ab-e4a6b6748600",
"copper_edge_clearance|179730400|84709000|813fa3ec-ce49-4480-8cd6-32557a2478be|121d1095-4e34-4fe8-b9a1-b8c35ca3fc16",
"copper_edge_clearance|182140150|48361600|b8494fbc-30ab-4882-937c-6e4d280f9305|a52caa32-a4c7-4882-827e-0754c08c0451",
"copper_edge_clearance|182140150|67564000|842000a4-db08-453d-b6d2-50d6d034af3a|bd28b9be-9fd7-41d0-bbc5-131bded77d46",
"copper_edge_clearance|222250000|71452000|c1bbddcf-32ab-486d-82d1-1685ecbb2717|e3336106-6954-4a7c-ba73-da8db93aee0b",
"copper_edge_clearance|239014000|71452000|c1bbddcf-32ab-486d-82d1-1685ecbb2717|1340c5f9-0c34-41be-8e18-88696013a536",
"shorting_items|138684000|67564000|678d8469-3a28-402d-abbe-7ff258e6b648|ebfa23e1-1d19-4bee-87ab-e4a6b6748600",
"shorting_items|138785600|87172800|2f773815-122e-4676-b4f1-e9ed9e2bf6cc|ed25b296-a677-4b15-b29b-9b53a2288bc4",
"shorting_items|179730400|87172800|be862fca-6bc0-46a9-a984-ce589510ed40|121d1095-4e34-4fe8-b9a1-b8c35ca3fc16",
"shorting_items|179832000|67564000|031d8862-d7a6-4b6a-86ce-4ef61a54b7a2|bd28b9be-9fd7-41d0-bbc5-131bded77d46",
"shorting_items|230632000|68072000|bc7343c7-75ca-4a2c-9cce-8e0d0c95da6e|ad0b6a79-e368-471b-a25b-6feb171c764a",
"shorting_items|230632000|85344000|2fe34613-2977-4f47-b914-df58365f6bde|2021e1f5-9e87-4ee3-9d37-5e7f70c9fe5b",
"solder_mask_bridge|138684000|67564000|678d8469-3a28-402d-abbe-7ff258e6b648|ebfa23e1-1d19-4bee-87ab-e4a6b6748600",
"solder_mask_bridge|138734800|48361600|8c3b2f59-f661-44f6-854e-c2e89805983d|5a59b82a-69ee-42f7-8631-090ef74836b6",
"solder_mask_bridge|138785600|87172800|2f773815-122e-4676-b4f1-e9ed9e2bf6cc|ed25b296-a677-4b15-b29b-9b53a2288bc4",
"solder_mask_bridge|179730400|48361600|a52caa32-a4c7-4882-827e-0754c08c0451|0b0e0518-5cca-487b-9fda-600de2dff016",
"solder_mask_bridge|179730400|87172800|be862fca-6bc0-46a9-a984-ce589510ed40|121d1095-4e34-4fe8-b9a1-b8c35ca3fc16",
"solder_mask_bridge|179832000|67564000|031d8862-d7a6-4b6a-86ce-4ef61a54b7a2|bd28b9be-9fd7-41d0-bbc5-131bded77d46",
"solder_mask_bridge|230632000|68072000|bc7343c7-75ca-4a2c-9cce-8e0d0c95da6e|ad0b6a79-e368-471b-a25b-6feb171c764a",
"solder_mask_bridge|230632000|85344000|2fe34613-2977-4f47-b914-df58365f6bde|2021e1f5-9e87-4ee3-9d37-5e7f70c9fe5b",
"starved_thermal|230590000|62438124|e547a277-9476-4d58-9a3d-c06d179ba03d|b5f07a8d-0292-44ce-9980-1050cc4a9678|F.Cu"
],
"meta": { "meta": {
"version": 2 "version": 2
}, },
@ -520,7 +494,7 @@
"plot": "export/", "plot": "export/",
"pos_files": "", "pos_files": "",
"specctra_dsn": "freerouting.dsn", "specctra_dsn": "freerouting.dsn",
"step": "export/supply.step", "step": "export/led-board_Relays.step",
"svg": "", "svg": "",
"vrml": "export/8x-led.wrl" "vrml": "export/8x-led.wrl"
}, },

View File

@ -0,0 +1,81 @@
# === USAGE ===
# simply run pcb2gcode in terminal while being in this folder.
# pcb2gcode will use "millproject" in current folder for parameters by default
#
# === Notes ===
# web based gcode viewer:
# https://ncviewer.com/
# === CONFIG ===
# Configuration file generated by pcb2gcodeGUI version 0.1 on Wed Apr 6 15:40:16 2022
# stopped using gui and customized parameters manually since then...
back=../export/led-boards_v0.1-B_Cu.gbr
front=../export/led-boards_v0.1-F_Cu.gbr
outline=../export/led-boards_v0.1-Edge_Cuts.gbr
#note: running for each drill file separately and merging the gcode manually (4 mounting holes are in a separate gerber file)
drill=../export/led-boards_v0.1-PTH.drl
#drill=../export/led-boards_v0.1-NPTH.drl
output-dir=./out
# Common options
metric=true
metricoutput=true
nog64=false
#set optimized to default value, because when it was set to 0 (disable) it caused crash (runs till ram full) for some reason, since adding text to center of pcb ==> set to default
optimise=0.00000254 #default
backtrack=0 #if default/undefined caused unwanted moves in copper without retracting, especially at letters (seen in gcode viewer) - thus disabled this feature
tile-x=1
tile-y=1
tolerance=0.0500
zchange=30.0000
zchange-absolute=false
zero-start=true
zsafe=2.6000 #head mounting screw=1.8 #3mm to be able to cross mounting screws
# Mill options
extra-passes=0
mill-feed=400 #default 600mm/min
mill-speed=20000
offset=0.400 #intentional bigger offset than necessary, using 0.4 there were almost no small strips beeing left over between insolation lines.
voronoi=false
zwork=-0.2000 #usin 60degree cutter resulted in ~0.42mm line
# Drill options
drill-feed=200
drill-side=front
drill-speed=20000
milldrill=false
#@#milldrill-diameter=3.0000
nog81=false
nog91-1=true
onedrill=false
zdrill=-1.900 #1.75 slightly too short
drills-available=0.8, 1, 1.2, 1.5, 2, 3
# Outline options
bridges=1.0000
bridgesnum=2
cut-feed=200
cut-infeed=0.5000
cut-side=front
cut-speed=10000
cut-vertfeed=60
cutter-diameter=1.0000
fill-outline=true
zbridges=-0.6000
zcut=-1.9000 #actual: 1.7
# Autoleveller options
al-back=false
al-front=false
al-probecode=G31
al-probefeed=100
al-probevar=2002
al-setzzero=G92 Z0
al-x=15.0000
al-y=15.0000
software=custom