Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Calendar Versioning.
Release 2.0.2¶
- Fixed incorrect bounding box prediction for displaced drawings (#105).
- Added 3.12 as supported in package tags.
- Fixed documentation links in
README.mdandpyproject.toml.
Release 2.0.1¶
- Fixed names of Gerber specification files (
.pdf.pdfextension replaced with.pdf) - Added
draw_region_outlinesoption (disabled by default) which controls whether lines which make up a region boundary should be drawn after region is filled. KiCAD seem to assume that those boundaries are not drawn and region outline is 1px instead of thickness of aperture. - Changed
Decimalprecision to 60 decimal places. - Changed precision of
INCH_TO_MM_MULTIPLIER(now its 25.4) andMM_TO_INCH_MULTIPLIER(dynamically calculated withDecimal). - Changed circle aperture to make result better match expectations and
KiCADreference. - Fixed warning message logged every time a valid region was created to show up only when region is not valid.
- Added warnings for zero surface aperture draws.
Release 2.0.0¶
-
Added Gerber X3 format tokenizer with support for selective feature support:
-
Supported Gerber X3 features:
G04,MO,FS,AD,AM,Dnn(nn≥10),D01,D02,D03,G01,G02,G03,G75,LP,LM,LR,LS,G36,G37,AB,SR,TF,TA,TO,TD,M02. -
Supported DEPRECATED Gerber features:
G54,G70,G71,G90,G91,G74,M00,M01,IP,LN,Combining G01/G02/G03 and D01/D02/D03 in a single command,Coordinate Data without Operation Code,Style Variations in Command Codes,FS,Draws and Arcs with Rectangular Apertures.
For more detailed descriptions of supported features please refer to documentation or README.md.
-
Added Gerber X3 format parser with support for selective feature support:
-
Supported Gerber X3 features:
G04,MO,FS,AD,AM,Dnn(nn≥10),D01,D02,D03,G01,G02,G03,G75,LP,LM,LR,LS,G36,G37,M02. -
Supported DEPRECATED Gerber features:
G54,G70,G71,G90,G91,G74,M00,M01,IP,LN,Combining G01/G02/G03 and D01 in a single command,Coordinate Data without Operation Code,Style Variations in Command Codes,Draws and Arcs with Rectangular Apertures.
For more detailed descriptions of supported features please refer to documentation or README.md.
- Added rendering backend capable of producing 2D rasterized images based on parser instructions. Supported drawing elements:
- Aperture definition with circle
- Aperture definition with rectangle
- Aperture definition with obround
- Aperture definition with polygon
- Draw flash with circle aperture
- Draw flash with rectangle aperture
- Draw flash with obround aperture
- Draw flash with polygon aperture
- Draw line
- Draw clockwise arc
- Draw counterclockwise arc