Skip to content

Commit

Permalink
Update documentation mtl#33
Browse files Browse the repository at this point in the history
  • Loading branch information
herostrat committed May 17, 2019
1 parent 7c70359 commit cd655e0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# svg2mod
This is a small program to convert Inkscape SVG drawings to KiCad footprint module files. It uses [cjlano's python SVG parser and drawing module](https://github.com/cjlano/svg) to interpret drawings and approximate curves using straight line segments. Module files can be output in KiCad's legacy or s-expression (i.e., pretty) formats. Horizontally mirrored modules are automatically generated for use on the back of a 2-layer PCB.

## Requirements

Python 3

## Installation

```pip3 install git+https://github.com/zirafa/svg2mod```
Note: ```python3 setup.py install``` does not work.
## Example
```svg2mod -i input.svg -p 1.0```

## Usage
```

usage: svg2mod.py [-h] -i FILENAME [-o FILENAME] [--name NAME] [--value VALUE]
[-f FACTOR] [-p PRECISION] [-d DPI] [--front-only] [--format FORMAT]
[--units UNITS]
Expand Down

0 comments on commit cd655e0

Please sign in to comment.