Svg2mod

Latest version: v1.2

Safety actively analyzes 627056 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.2

New Stuff !!
* Added polygon support.
* Support default svg stroke/fill styles.
* Allow non-group items to be assigned a layer with `inkscape:label`.
* Add fallback for `inkscape:label` to be element id.

Fixes
* Fixed arc/ellipse bounding box calculations.
* Fixed incorrect inlining point selection.
* Refactor confusing variable names.

1.1

➕ Added option to output keepout areas to include hatching styles of: `none`, `edge`, or `full`

➕ Added cli option to not need flags for specifying input file
_`svg2mod input.svg` is now valid_

➕ Added helpful error message when no layers are found to suggest using the `--force` flag

1.0

Kicad v6 brought some new features to footprints and to celebrate large portions of svg2mod have been heavily modified to make it an even more useful tool in artistic circuit board designing!

+ Mostly full support for svg shapes
+ __Significantly__ faster hole in-lining algorithm
+ Better distinct object detection
+ Drill holes
+ Keepout zones
+ Layer options from inkscape layer names
+ Force layer cli option `--force`
+ Style inheritance
+ Stroke width scaling
+ Split svg2mod.py into multiple smaller files for a better library experience
+ Fixed many bugs

The example in `examples/svg2mod.svg` has been updated to demonstrate some of this new functionality.

0.1.6.4

* Fixed some assumptions about paths always having at least 1 point.
* Used gregdavill modification to add support for modified characters.

0.1.6.3

* Inlining points maintained needless precision leading to excessive computation times.
* Automatic transformations applied to text was not working.
* When using -l the script exited with 1 instead of 0.

0.1.6.2

Changed unix command line arguments to all be single character like they should.

| Old | New |
|-|-|
| `-pads` | `-P` |
| `-lsf` | `-l` |
| `-df` | `-F` |

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.