supply: Add text, Optimize for milling, Add pcb2gcode config

This commit is contained in:
jonny 2024-11-14 16:39:34 +01:00
parent caf302322b
commit be913e386b
5 changed files with 6784 additions and 5876 deletions

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/power-supply-board_v1.0-B_Cu.gbr
front=../export/power-supply-board_v1.0-F_Cu.gbr
outline=../export/power-supply-board_v1.0-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/power-supply-board_v1.0-PTH.drl
#drill=../export/power-supply-board_v1.0-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.500 #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=back
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=back
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

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"board": { "board": {
"active_layer": 31, "active_layer": 0,
"active_layer_preset": "", "active_layer_preset": "",
"auto_track_width": false, "auto_track_width": false,
"hidden_netclasses": [], "hidden_netclasses": [],
@ -8,24 +8,24 @@
"high_contrast_mode": 0, "high_contrast_mode": 0,
"net_color_mode": 1, "net_color_mode": 1,
"opacity": { "opacity": {
"images": 0.6, "images": 0.5,
"pads": 1.0, "pads": 1.0,
"tracks": 1.0, "tracks": 1.0,
"vias": 1.0, "vias": 1.0,
"zones": 0.20000000298023224 "zones": 0.4000000059604645
}, },
"selection_filter": { "selection_filter": {
"dimensions": false, "dimensions": false,
"footprints": true, "footprints": true,
"graphics": true, "graphics": false,
"keepouts": false, "keepouts": false,
"lockedItems": false, "lockedItems": false,
"otherItems": false, "otherItems": false,
"pads": false, "pads": false,
"text": false, "text": true,
"tracks": true, "tracks": false,
"vias": true, "vias": false,
"zones": true "zones": false
}, },
"visible_items": [ "visible_items": [
0, 0,

View File

@ -48,7 +48,7 @@
"silk_text_thickness": 0.1, "silk_text_thickness": 0.1,
"silk_text_upright": false, "silk_text_upright": false,
"zones": { "zones": {
"min_clearance": 0.5 "min_clearance": 0.9
} }
}, },
"diff_pair_dimensions": [ "diff_pair_dimensions": [
@ -60,57 +60,37 @@
], ],
"drc_exclusions": [ "drc_exclusions": [
"clearance|106688664|72941409|2af473c2-78d7-4921-87aa-02d24dffb3c3|c35d82dd-13a4-4020-98d8-81aa0f857338", "clearance|106688664|72941409|2af473c2-78d7-4921-87aa-02d24dffb3c3|c35d82dd-13a4-4020-98d8-81aa0f857338",
"clearance|90170000|37338000|633f42e5-30de-4c14-bbe8-128be0c07972|2a77198e-4c08-4bbd-a4ac-8375b0a703ed", "clearance|116789200|52679600|6e801f63-9d72-431d-b39b-9223e433d241|d7fee2c2-0995-4e1e-9250-d5ad092b62b1",
"clearance|90170000|37338000|bc458a32-4390-49a4-b6f8-a3332fef0445|2a77198e-4c08-4bbd-a4ac-8375b0a703ed", "clearance|116789200|52679600|fd5eea6b-93b8-4845-8e7f-74944d29a613|d7fee2c2-0995-4e1e-9250-d5ad092b62b1",
"copper_edge_clearance|179578000|35063262|76d27667-210c-473e-8125-6979f0d7e9d7|5789b48a-d814-46ae-a2fe-ad63cfae778d", "copper_edge_clearance|179578000|35063262|76d27667-210c-473e-8125-6979f0d7e9d7|b1c719b0-dd9e-4bf5-a4c3-f888a476393d",
"copper_edge_clearance|179578000|35063262|76d27667-210c-473e-8125-6979f0d7e9d7|72ab1955-28f8-4a8a-825c-1b5ca7500ac9", "copper_edge_clearance|179578000|35063262|76d27667-210c-473e-8125-6979f0d7e9d7|e1d3cba6-7edf-48d9-ad6e-64df8cf16ef9",
"copper_edge_clearance|181776000|117348000|76d27667-210c-473e-8125-6979f0d7e9d7|8b5feeca-e69c-4d24-867f-0782f1be5901", "copper_edge_clearance|181655404|99672573|76d27667-210c-473e-8125-6979f0d7e9d7|8e83f854-a74a-478c-b6e5-9a214295cae8",
"copper_edge_clearance|181776000|117348000|76d27667-210c-473e-8125-6979f0d7e9d7|c5e9300b-7b0c-4155-bbe3-be33753b6ef5", "copper_edge_clearance|181776000|117348000|76d27667-210c-473e-8125-6979f0d7e9d7|d32a6e2f-4715-4da5-ab0e-74a12f4267cc",
"copper_edge_clearance|87850800|117348000|76d27667-210c-473e-8125-6979f0d7e9d7|9fdb6601-effa-4e07-b692-2589fb56f723", "copper_edge_clearance|181776000|117348000|76d27667-210c-473e-8125-6979f0d7e9d7|eb0ff54a-1a19-47b1-813e-744c272f80e8",
"copper_edge_clearance|87850800|117348000|76d27667-210c-473e-8125-6979f0d7e9d7|d6ebc11f-2364-4605-932b-8d9f5be6fa94", "copper_edge_clearance|90170000|35063262|76d27667-210c-473e-8125-6979f0d7e9d7|805ee5a6-2c84-4738-aeae-245276448e36",
"copper_edge_clearance|87850800|37338000|76d27667-210c-473e-8125-6979f0d7e9d7|633f42e5-30de-4c14-bbe8-128be0c07972", "copper_edge_clearance|90170000|35063262|76d27667-210c-473e-8125-6979f0d7e9d7|bdc07af3-cfa2-48ea-8437-42e6ff35c321",
"copper_edge_clearance|87850800|37338000|76d27667-210c-473e-8125-6979f0d7e9d7|bc458a32-4390-49a4-b6f8-a3332fef0445", "courtyards_overlap|109414989|95596244|3e12b180-088b-46cd-b5c6-9617c716b1a6|e4ff6d46-1a14-45c1-8d35-a1c797a17787",
"courtyards_overlap|105358073|97226788|3e12b180-088b-46cd-b5c6-9617c716b1a6|e4ff6d46-1a14-45c1-8d35-a1c797a17787", "courtyards_overlap|116638611|50382063|9a187e3c-fc65-4b8c-8706-5ac25cbb308a|fe66ab34-cdaf-422d-9589-3764cdd0c89d",
"courtyards_overlap|152106900|81687538|0eb34544-6fed-42e5-9be0-cdd7338c4dc0|d4b243e3-5d66-45b6-9d57-8ee04832ba7d", "courtyards_overlap|142684999|56205927|65c553db-7e53-4ccb-8467-d00250864cae|fa405362-6ddd-49e4-8234-3ea5bf2d2fc5",
"courtyards_overlap|154490644|84240463|1e71b6d9-4997-406e-a014-cd46964f7287|d4b243e3-5d66-45b6-9d57-8ee04832ba7d", "courtyards_overlap|152249411|81522463|0eb34544-6fed-42e5-9be0-cdd7338c4dc0|d4b243e3-5d66-45b6-9d57-8ee04832ba7d",
"courtyards_overlap|98004900|68352538|7317f689-727f-4dbe-b8d4-8d072ccd9d7a|fe66ab34-cdaf-422d-9589-3764cdd0c89d", "courtyards_overlap|154643856|84240463|1e71b6d9-4997-406e-a014-cd46964f7287|d4b243e3-5d66-45b6-9d57-8ee04832ba7d",
"shorting_items|107442000|96774000|79cbb324-fc17-42ac-9934-1ce4fde81fc0|0e1cc6e8-0c70-4b56-8b41-d9eda4629539", "courtyards_overlap|92314088|38151484|9a187e3c-fc65-4b8c-8706-5ac25cbb308a|eef6acb8-c399-4d51-9454-6aec1f34f11f",
"shorting_items|107442000|96774000|79cbb324-fc17-42ac-9934-1ce4fde81fc0|b6f99ca0-059e-4279-ba20-288d3de0bbe7", "shorting_items|107442000|96774000|87bb653f-4b19-445c-9924-f3d13dd96a45|4510154d-9d7c-42fe-8273-5239f2f8496c",
"shorting_items|145034000|56134000|0b30ecc7-4768-4035-b745-34d554608e13|5b2d9ee3-6a2a-4825-9ce8-c37eab7c874e", "shorting_items|107442000|96774000|87bb653f-4b19-445c-9924-f3d13dd96a45|75e7212c-fd53-4cfb-a5be-6f1b9a640466",
"shorting_items|145034000|56134000|0b30ecc7-4768-4035-b745-34d554608e13|e8848195-1082-4a42-ad2d-04883b81bb4e", "shorting_items|144881600|55575200|2b0fc490-2edb-4b35-b7a1-d0a6f3f0a3b9|5eed56f5-5846-4b9d-8fa0-7520080ad9f3",
"shorting_items|152400000|83820000|bcfe33ba-a304-47fe-a9d2-a38ab0609a0e|1accff5f-f7ac-43a3-aea6-57dfcf1c598b", "shorting_items|144881600|55575200|2b0fc490-2edb-4b35-b7a1-d0a6f3f0a3b9|dad49cfe-39a1-4278-aa14-f45bf11335e2",
"shorting_items|152400000|83820000|bcfe33ba-a304-47fe-a9d2-a38ab0609a0e|830a7605-22bc-4bfc-b099-fa1ef88b0b02", "shorting_items|152400000|83820000|1f47ea4f-a4f4-497a-892f-14284a732160|159d225f-d3b9-48c2-aa67-c4da2e28ac28",
"shorting_items|179578000|117348000|25f55821-66db-4606-b2d0-b2324fa99c1d|8b5feeca-e69c-4d24-867f-0782f1be5901", "shorting_items|152400000|83820000|1f47ea4f-a4f4-497a-892f-14284a732160|3bd0ebdc-633c-46ea-8845-1e38d691b9d9",
"shorting_items|179578000|117348000|25f55821-66db-4606-b2d0-b2324fa99c1d|c5e9300b-7b0c-4155-bbe3-be33753b6ef5", "shorting_items|179578000|117348000|5d825ac3-0881-41d0-bc26-5fe01adbff11|d32a6e2f-4715-4da5-ab0e-74a12f4267cc",
"shorting_items|179578000|37338000|8259c981-c012-46b9-a9e9-78b2ba70a05e|5789b48a-d814-46ae-a2fe-ad63cfae778d", "shorting_items|179578000|117348000|5d825ac3-0881-41d0-bc26-5fe01adbff11|eb0ff54a-1a19-47b1-813e-744c272f80e8",
"shorting_items|179578000|37338000|8259c981-c012-46b9-a9e9-78b2ba70a05e|72ab1955-28f8-4a8a-825c-1b5ca7500ac9", "shorting_items|179578000|37338000|1f8cd708-0fa1-48b3-84b9-380c95b3097d|b1c719b0-dd9e-4bf5-a4c3-f888a476393d",
"shorting_items|90170000|117348000|93f0e007-5f64-458f-840e-9f4d36f5440e|9fdb6601-effa-4e07-b692-2589fb56f723", "shorting_items|179578000|37338000|1f8cd708-0fa1-48b3-84b9-380c95b3097d|e1d3cba6-7edf-48d9-ad6e-64df8cf16ef9",
"shorting_items|90170000|117348000|93f0e007-5f64-458f-840e-9f4d36f5440e|d6ebc11f-2364-4605-932b-8d9f5be6fa94", "shorting_items|90170000|117348000|7d39a08b-f5d8-4477-aaff-2f8d11dac156|0273e193-afa6-4a9b-a36d-f6d419bf227b",
"shorting_items|98298000|70485000|1c468560-1228-4bca-8e9f-e0f550e34494|2bf6851f-fec2-45eb-853b-a9bef305b52e", "shorting_items|90170000|117348000|7d39a08b-f5d8-4477-aaff-2f8d11dac156|4423f1be-f71b-4571-8653-909808d1dce3",
"shorting_items|98298000|70485000|1c468560-1228-4bca-8e9f-e0f550e34494|dbce2b13-2886-4191-b345-dd887cd71160", "shorting_items|90170000|37338000|358befd7-83da-4c59-98d7-cebd28c44b36|805ee5a6-2c84-4738-aeae-245276448e36",
"solder_mask_bridge|107442000|96774000|0e1cc6e8-0c70-4b56-8b41-d9eda4629539|79cbb324-fc17-42ac-9934-1ce4fde81fc0", "shorting_items|90170000|37338000|358befd7-83da-4c59-98d7-cebd28c44b36|bdc07af3-cfa2-48ea-8437-42e6ff35c321",
"solder_mask_bridge|107442000|96774000|79cbb324-fc17-42ac-9934-1ce4fde81fc0|0e1cc6e8-0c70-4b56-8b41-d9eda4629539", "starved_thermal|128016000|82489962|788aea07-6e37-4773-9ce0-6e0ce96eed61|70eda6b8-2d85-4b0b-95d8-c2a404933812|B.Cu",
"solder_mask_bridge|107442000|96774000|79cbb324-fc17-42ac-9934-1ce4fde81fc0|b6f99ca0-059e-4279-ba20-288d3de0bbe7", "starved_thermal|163764200|59119800|788aea07-6e37-4773-9ce0-6e0ce96eed61|4592f844-8442-4d78-82bc-200bf161cee4|B.Cu"
"solder_mask_bridge|145034000|56134000|0b30ecc7-4768-4035-b745-34d554608e13|5b2d9ee3-6a2a-4825-9ce8-c37eab7c874e",
"solder_mask_bridge|145034000|56134000|0b30ecc7-4768-4035-b745-34d554608e13|e8848195-1082-4a42-ad2d-04883b81bb4e",
"solder_mask_bridge|145034000|56134000|e8848195-1082-4a42-ad2d-04883b81bb4e|0b30ecc7-4768-4035-b745-34d554608e13",
"solder_mask_bridge|152400000|83820000|1accff5f-f7ac-43a3-aea6-57dfcf1c598b|bcfe33ba-a304-47fe-a9d2-a38ab0609a0e",
"solder_mask_bridge|152400000|83820000|bcfe33ba-a304-47fe-a9d2-a38ab0609a0e|1accff5f-f7ac-43a3-aea6-57dfcf1c598b",
"solder_mask_bridge|152400000|83820000|bcfe33ba-a304-47fe-a9d2-a38ab0609a0e|830a7605-22bc-4bfc-b099-fa1ef88b0b02",
"solder_mask_bridge|179578000|117348000|25f55821-66db-4606-b2d0-b2324fa99c1d|8b5feeca-e69c-4d24-867f-0782f1be5901",
"solder_mask_bridge|179578000|117348000|25f55821-66db-4606-b2d0-b2324fa99c1d|c5e9300b-7b0c-4155-bbe3-be33753b6ef5",
"solder_mask_bridge|179578000|117348000|8b5feeca-e69c-4d24-867f-0782f1be5901|25f55821-66db-4606-b2d0-b2324fa99c1d",
"solder_mask_bridge|179578000|37338000|72ab1955-28f8-4a8a-825c-1b5ca7500ac9|8259c981-c012-46b9-a9e9-78b2ba70a05e",
"solder_mask_bridge|179578000|37338000|8259c981-c012-46b9-a9e9-78b2ba70a05e|5789b48a-d814-46ae-a2fe-ad63cfae778d",
"solder_mask_bridge|179578000|37338000|8259c981-c012-46b9-a9e9-78b2ba70a05e|72ab1955-28f8-4a8a-825c-1b5ca7500ac9",
"solder_mask_bridge|90170000|117348000|93f0e007-5f64-458f-840e-9f4d36f5440e|9fdb6601-effa-4e07-b692-2589fb56f723",
"solder_mask_bridge|90170000|117348000|93f0e007-5f64-458f-840e-9f4d36f5440e|d6ebc11f-2364-4605-932b-8d9f5be6fa94",
"solder_mask_bridge|90170000|117348000|9fdb6601-effa-4e07-b692-2589fb56f723|93f0e007-5f64-458f-840e-9f4d36f5440e",
"solder_mask_bridge|90170000|37338000|633f42e5-30de-4c14-bbe8-128be0c07972|2a77198e-4c08-4bbd-a4ac-8375b0a703ed",
"solder_mask_bridge|90170000|37338000|bc458a32-4390-49a4-b6f8-a3332fef0445|2a77198e-4c08-4bbd-a4ac-8375b0a703ed",
"solder_mask_bridge|98298000|70485000|1c468560-1228-4bca-8e9f-e0f550e34494|2bf6851f-fec2-45eb-853b-a9bef305b52e",
"solder_mask_bridge|98298000|70485000|1c468560-1228-4bca-8e9f-e0f550e34494|dbce2b13-2886-4191-b345-dd887cd71160",
"solder_mask_bridge|98298000|70485000|dbce2b13-2886-4191-b345-dd887cd71160|1c468560-1228-4bca-8e9f-e0f550e34494"
], ],
"meta": { "meta": {
"version": 2 "version": 2
@ -294,7 +274,12 @@
"equivalence_files": [] "equivalence_files": []
}, },
"erc": { "erc": {
"erc_exclusions": [], "erc_exclusions": [
"pin_not_connected|431800|1892300|b044b2ea-4b0c-4cae-8747-02b2fc7ffab4|00000000-0000-0000-0000-000000000000|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|",
"pin_not_connected|876300|2514600|5f755a0e-7cff-4e66-b17e-ee0be99505d2|00000000-0000-0000-0000-000000000000|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|",
"pin_not_driven|431800|1892300|b044b2ea-4b0c-4cae-8747-02b2fc7ffab4|00000000-0000-0000-0000-000000000000|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|",
"pin_not_driven|876300|2514600|5f755a0e-7cff-4e66-b17e-ee0be99505d2|00000000-0000-0000-0000-000000000000|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|/af4d11a6-73e1-4c39-a25e-5fe7dfa07237|"
],
"meta": { "meta": {
"version": 0 "version": 0
}, },
@ -544,7 +529,7 @@
"gencad": "", "gencad": "",
"idf": "", "idf": "",
"netlist": "", "netlist": "",
"plot": "", "plot": "export/",
"pos_files": "", "pos_files": "",
"specctra_dsn": "freerouting.dsn", "specctra_dsn": "freerouting.dsn",
"step": "export/supply.step", "step": "export/supply.step",

File diff suppressed because it is too large Load Diff