Skip to content

Commit 9f37a4c

Browse files
committed
[Panelize][Fixed] Problems when using angles
Fixes #898
1 parent 802b32d commit 9f37a4c

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
KiCad (See #887)
1717
- KiCad 9 embedded files: populate the cache if needed (See #890)
1818
- BoM: descriptive error when using `kicad` format and no options found.
19-
- iBoM: `mark_when_checked` option (#881)
2019
- DRC/ERC: Configurable logo (#889)
20+
- iBoM: `mark_when_checked` option (#881)
2121

2222
### Fixed
2323
- Blender export: problems with component values containing `/ ` (#885)
24+
- Panelize:
25+
- Problems when using angles (#898)
26+
- Confusing error when the output wasn't generated
2427

2528
### Changed
2629
- `--fail-on-warnings` now ignores filtered warning (as the help suggested)

docs/source/Changelog.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@ Added
3434
- KiCad 9 embedded files: populate the cache if needed (See #890)
3535
- BoM: descriptive error when using ``kicad`` format and no options
3636
found.
37-
- iBoM: ``mark_when_checked`` option (#881)
3837
- DRC/ERC: Configurable logo (#889)
38+
- iBoM: ``mark_when_checked`` option (#881)
3939

4040
Fixed
4141
~~~~~
4242

4343
- Blender export: problems with component values containing ``/``
4444
(#885)
45+
- Panelize:
46+
47+
- Problems when using angles (#898)
48+
- Confusing error when the output wasn’t generated
4549

4650
Changed
4751
~~~~~~~

kibot/optionable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ def add_units(self, ops, def_units=None, convert=False, percent=False):
787787

788788
def add_angle(self, ops, def_units=None):
789789
if def_units is None:
790-
def_units = self._parent._parent.units
790+
def_units = self._parent._parent.default_angles
791791
for op in ops:
792792
val = getattr(self, op)
793793
if isinstance(val, (int, float)):

0 commit comments

Comments
 (0)