diff --git a/CHANGELOG.md b/CHANGELOG.md index 81a67bc69..210ea9d7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.6.4] - UNRELEASED - +### Fixed +- Rotated polygons used in the worksheet (#466) ## [1.6.3] - 2023-06-26 ### Added diff --git a/kibot/kicad/worksheet.py b/kibot/kicad/worksheet.py index 2548ad279..be5ad3b41 100644 --- a/kibot/kicad/worksheet.py +++ b/kibot/kicad/worksheet.py @@ -381,7 +381,7 @@ def draw(e, p): s.SetWidth(e.line_width) s.SetLayer(p.layer) if e.rotate: - s.Rotate(pos, e.rotate*10) + s.Rotate(GS.p2v_k7(pos), e.rotate*10) p.board.Add(s) p.pcb_items.append(s) pos += posi