changed JST connector to horizontal, 5V -> 24V
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
# Install kikit
|
||||

|
||||
|
||||
# Install kikit
|
||||
Install `kikit`:
|
||||
```bash
|
||||
pipx install --system-site-packages kikit
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
# KiKit Fixture Processor
|
||||
|
||||
Processing script for KiKit panelizes PCBs and draws a fixture sketch and positions the whole panel for easy CNC processing.
|
||||
|
||||
The script:
|
||||
@@ -23,6 +20,8 @@ The resulting output is intended for repeatable CNC manufacturing workflows
|
||||
where drilling, routing, and UV exposure all share the same physical fixture
|
||||
and alignment holes.
|
||||
|
||||
Check the kikit panelization [examples](https://yaqwsx.github.io/KiKit/latest/panelization/examples/).
|
||||
|
||||
---
|
||||
|
||||
# Usage
|
||||
@@ -35,7 +34,7 @@ kikit panelize \
|
||||
panel/Flow_Controller_Panel.kicad_pcb
|
||||
```
|
||||
|
||||
Have a look at the new `panel/Flow_Controller_Panel.kicad_pcb` file. It will contain the panel out ot layout specified in `myPreset.json`. E.g.: Grid of 1 x 2 with space 2.1 mm.
|
||||
The new `panel/Flow_Controller_Panel.kicad_pcb` file will contain the panelized PCB with the following feature specified in `myPreset.json`. E.g.: Grid of 1 x 2 with space 2.1 mm, new mounting holes and fiducials.
|
||||
|
||||
```json
|
||||
"layout": {
|
||||
@@ -46,7 +45,7 @@ Have a look at the new `panel/Flow_Controller_Panel.kicad_pcb` file. It will con
|
||||
"vspace": "2.1mm"
|
||||
}
|
||||
```
|
||||
|
||||
See all values in [default.json](https://raw.githubusercontent.com/yaqwsx/KiKit/refs/heads/master/kikit/resources/panelizePresets/default.json)
|
||||
## Exporting gcode files from KiCad
|
||||
|
||||
Adapt milling and drilling parameters in `millproject`. Look up [pcb2gcode/wiki](https://github.com/pcb2gcode/pcb2gcode/wiki) for help.
|
||||
@@ -58,7 +57,7 @@ nano millproject
|
||||
Run the export by providing the `.kicad_pcb` file as a first argument:
|
||||
|
||||
```bash
|
||||
./export.sh -o gcode panel/Flow_Controller_Panel.kicad_pcb
|
||||
./export.sh panel/Flow_Controller_Panel.kicad_pcb
|
||||
```
|
||||
The script will first generate gerber files in the `gerbers` directory and then generate gcode files in the `gcode` directory.
|
||||
|
||||
|
||||
@@ -13,20 +13,23 @@ PCB_FILE="$1"
|
||||
|
||||
mkdir -p "$GERBERS_DIR"
|
||||
|
||||
# export drill, front and back layers as gerber files
|
||||
# Export drill, front and back layers as gerber files.
|
||||
echo "Exporting gerbers..."
|
||||
kicad-cli pcb export drill -o "$GERBERS_DIR" "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l Front "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l Back "$PCB_FILE"
|
||||
kicad-cli pcb export gerbers -o "$GERBERS_DIR" -l Edge.Cuts "$PCB_FILE"
|
||||
|
||||
# Export outlines of the penelized boards only; Use the layer 'User.Eco1'.
|
||||
# Export outlines of the penelized board i.e. use the layer 'User.Eco1'.
|
||||
echo "Exporting panelized outlines from layer 'User.Eco1'..."
|
||||
python3 export_panel_outlines_gerber.py \
|
||||
--layers User.Eco1 \
|
||||
--output "$GERBERS_DIR" \
|
||||
"$PCB_FILE"
|
||||
|
||||
# set input filenames and all milling parameters in `millproject` config file
|
||||
# Input layers/filenames and all milling/drilling parameters are taken from the config file: 'millproject'.
|
||||
echo "Exporting Gcode..."
|
||||
docker run --rm -i -t \
|
||||
-u "$(id -u):$(id -g)" \
|
||||
-v "$(pwd):/data" \
|
||||
ptodorov/pcb2gcode
|
||||
ptodorov/pcb2gcode
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
front=gerbers/Flow_Controller_Panel-Front.gtl
|
||||
back=gerbers/Flow_Controller_Panel-Back.gbl
|
||||
drill=gerbers/Flow_Controller_Panel.drl
|
||||
# Use the 'User-Eco1' layer instead as it contains panelized boards outlines only.
|
||||
# Use the 'User-Eco1' layer instead as it contains panelized board's slot outlines only.
|
||||
outline=gerbers/Flow_Controller_Panel-User-Eco1.gbr
|
||||
# Do not use the 'Edge_Cuts' layer as it contains also the panel outline.
|
||||
#outline=gerbers/Flow_Controller_Panel-Edge_Cuts.gm1
|
||||
@@ -10,9 +10,9 @@ outline=gerbers/Flow_Controller_Panel-User-Eco1.gbr
|
||||
metric=true # use metric units for parameters
|
||||
metricoutput=true # use metric units for output
|
||||
nog64=true # do not set an explicit g64
|
||||
nom6=true # do not emit m6
|
||||
#nom6=true # do not emit m6
|
||||
zsafe=2 # The height in mm at which the bit can move freely without obstruction
|
||||
zchange=35 # Tool changing height in mm
|
||||
zchange=2 # Tool changing height in mm
|
||||
output-dir=gcode
|
||||
|
||||
# Place a 5x7cm board in the lower right quadrant of the coordinate system
|
||||
@@ -23,7 +23,7 @@ mirror-axis=80 # set this to half of your board width
|
||||
|
||||
# Drilling
|
||||
zdrill=-2.2 # drilling depth
|
||||
drill-feed=500 # Vertical mm/min feed
|
||||
drill-feed=200 # Vertical mm/min feed
|
||||
drill-speed=24000 # Spindle RPM
|
||||
#onedrill=true # Use a single drill for all holes
|
||||
nog81=true # replace G81 with G0+G1 (no G81 in GRBL)
|
||||
|
||||
@@ -34,6 +34,16 @@
|
||||
"code": "tooling_plugin.py.CustomTooling",
|
||||
"arg": ""
|
||||
},
|
||||
"fiducials": {
|
||||
"type": "4fid",
|
||||
"hoffset": "6mm",
|
||||
"voffset": "9.2mm",
|
||||
"coppersize": "2mm",
|
||||
"opening": "1mm",
|
||||
"paste": true,
|
||||
"code": "none",
|
||||
"arg": ""
|
||||
},
|
||||
"text": {
|
||||
"type": "simple",
|
||||
"text": "v1",
|
||||
|
||||
Reference in New Issue
Block a user