### Set up virtual environment and install kinet2pcb Source: https://devbisme.github.io/kinet2pcb Install your local copy of kinet2pcb into a virtual environment using setup.py develop. ```bash $ mkvirtualenv kinet2pcb $ cd kinet2pcb/ $ python setup.py develop ``` -------------------------------- ### Install kinet2pcb using pip Source: https://devbisme.github.io/kinet2pcb Install the kinet2pcb package using the pip executable included with KiCad. This is the preferred method for installing the most recent stable release. ```bash $ pip install kinet2pcb ``` -------------------------------- ### Specify a directory of footprint libraries Source: https://devbisme.github.io/kinet2pcb Convert a KiCad netlist file to a .kicad_pcb file, specifying a parent directory that contains multiple footprint libraries. This shortens the command when libraries are organized in a single directory. ```bash kinet2pcb -i example.net –libraries /my/path/to ``` -------------------------------- ### Overwrite existing .kicad_pcb file Source: https://devbisme.github.io/kinet2pcb Convert a KiCad netlist file to a .kicad_pcb file, overwriting the existing file if it exists. A backup of the original file will be created with a .bak extension. ```bash kinet2pcb -i example.net -w ``` -------------------------------- ### Create a new branch for development Source: https://devbisme.github.io/kinet2pcb Create a new branch for local development to isolate your changes. ```bash $ git checkout -b name-of-your-bugfix-or-feature ``` -------------------------------- ### Specify footprint libraries Source: https://devbisme.github.io/kinet2pcb Convert a KiCad netlist file to a .kicad_pcb file, specifying custom footprint library directories. This is useful if your libraries are not listed in the KiCad fp-lib-tables file. ```bash kinet2pcb -i example.net --libraries /my/path/to/lib_1.pretty /my/path/to/lib2.pretty ``` -------------------------------- ### Clone the kinet2pcb repository Source: https://devbisme.github.io/kinet2pcb Clone your forked repository locally to begin development. ```bash $ git clone git@github.com:your_name_here/kinet2pcb.git ``` -------------------------------- ### Disable backup creation Source: https://devbisme.github.io/kinet2pcb Convert a KiCad netlist file to a .kicad_pcb file without creating backup files. If overwriting an existing file, the --overwrite option must also be used. ```bash kinet2pcb -i example.net --nobackup --overwrite ``` -------------------------------- ### Basic kinet2pcb usage Source: https://devbisme.github.io/kinet2pcb Convert a KiCad netlist file to a .kicad_pcb file. If the output file already exists, the operation will halt unless the -w option is used. ```bash kinet2pcb -i example.net ``` -------------------------------- ### Commit and push changes Source: https://devbisme.github.io/kinet2pcb Stage, commit, and push your local changes to your GitHub fork. ```bash $ git add . $ git commit -m "Your detailed description of your changes." $ git push origin name-of-your-bugfix-or-feature ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.