Added CNC mill and drill project configuration, scripts and examples
This commit is contained in:
30
examples/CNC_mill_drill_from_gerber/Readme.md
Normal file
30
examples/CNC_mill_drill_from_gerber/Readme.md
Normal file
@@ -0,0 +1,30 @@
|
||||
## Exporting gcode files from gerber
|
||||
|
||||
Adapt milling and drilling parameters in `millproject`:
|
||||
```bash
|
||||
nano millproject
|
||||
```
|
||||
|
||||
First, generate gerber files. These are the same used to order from a vendor. There are no specific settings, just:
|
||||
|
||||
KiCad PCB Editor → File → Fabrication Outputs → Gerbers
|
||||
|
||||
* Set "Output directory" to "gerbers/"
|
||||
* Select only B.Cu (bottom copper)
|
||||
* Click Plot
|
||||
* Then Generate Drill Files → Generate
|
||||
|
||||
Adapt milling and drilling parameters in `millproject`:
|
||||
```bash
|
||||
nano millproject
|
||||
```
|
||||
|
||||
Then run:
|
||||
|
||||
```bash
|
||||
docker run --rm -i -t -v ".:/data" ptodorov/pcb2gcode
|
||||
```
|
||||
|
||||
The `.ngc` files for milling and drilling will be generated in the `gcode` directory (must exist).
|
||||
|
||||
Load the `ngc` file to `gSender` program for the fabrication.
|
||||
Reference in New Issue
Block a user