fixed pcb layout
This commit is contained in:
parent
a16c98d7c6
commit
d4f97f7c59
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
5
board/gerber/.gitignore
vendored
5
board/gerber/.gitignore
vendored
@ -1,5 +0,0 @@
|
|||||||
*.gbr
|
|
||||||
*.drl
|
|
||||||
*.ngc
|
|
||||||
*.png
|
|
||||||
*.bakT*
|
|
File diff suppressed because it is too large
Load Diff
@ -1,39 +0,0 @@
|
|||||||
# Export Gerber
|
|
||||||
The exported gerber files can be used to convert it into gcode for a mill
|
|
||||||
## Export settings
|
|
||||||
|
|
||||||
Open the board in KiCad and select:
|
|
||||||
File | Plot
|
|
||||||
### General
|
|
||||||
Plot format: Gerber
|
|
||||||
### Include Layer
|
|
||||||
Include the Layer ***B.Cu*** and ***Edge.Cuts***
|
|
||||||
[ ] Plot border and title block
|
|
||||||
[x] Plot footprint values
|
|
||||||
[x] Plot footprint reference
|
|
||||||
[ ] Force plotting of invisible values / refs
|
|
||||||
[x] Exclude PCB edge layer from other layers
|
|
||||||
[x] Exclude pads from silk screen
|
|
||||||
[ ] Do not tent vias
|
|
||||||
[x] Use auxilary axis as origin
|
|
||||||
Drill marks: None
|
|
||||||
Scaling: 1:1
|
|
||||||
Plot mode: Filled
|
|
||||||
Default line width: 0.1mm
|
|
||||||
[ ] Mirrored plot
|
|
||||||
[ ] Negated plot
|
|
||||||
### Gerber Options
|
|
||||||
[ ] Use Protel filename extensions
|
|
||||||
[ ] Generate Geber job file
|
|
||||||
[ ] Substract soldermask from silkscreen
|
|
||||||
Coordinate format: 4.6, unit mm
|
|
||||||
[ ] Use extended X2 format
|
|
||||||
[ ] Include netlist attributes
|
|
||||||
### Doing
|
|
||||||
Click
|
|
||||||
* **Plot**
|
|
||||||
* **Generate Drill Files ...**
|
|
||||||
* [x] PTH and NPTH in a single file
|
|
||||||
* Map File Format: DXF
|
|
||||||
* Drill Units: mm
|
|
||||||
* Drill Origin: Auxilary axis
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# Needs the tool pcb2gcode
|
|
||||||
# Was documented at: http://marcuswolschon.blogspot.de/2013/02/milling-pcbs-using-gerber2gcode.html
|
|
||||||
|
|
||||||
MILLSPEED=600
|
|
||||||
MILLFEED=200
|
|
||||||
PROJECT=PlantCtrlESP32
|
|
||||||
pcb2gcode --back $PROJECT-B_Cu.gbr --metric --zsafe 5 --zchange 10 --zwork -0.01 --offset 0.02 --mill-feed $MILLFEED --mill-speed $MILLSPEED --drill $PROJECT.drl --zdrill -2.5 --drill-feed $MILLFEED --drill-speed $MILLSPEED --basename $PROJECT
|
|
||||||
|
|
||||||
if [ "$1" == "C3MA" ]; then
|
|
||||||
#update all Tools higher and equal to T4 in generated file
|
|
||||||
for i in 4 5 6 7; do
|
|
||||||
echo "Replace T$i"
|
|
||||||
sed -i.bakT$i "s/T${i}/T3/" ${PROJECT}_drill.ngc
|
|
||||||
done
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user