Closed rtpavlovsk21 closed 1 year ago
https://github.com/devbisme/skidl/pull/175 provides default values for key items not found. This is a hack, and possibly produces unwanted behavior. I haven't looked around the code-base to observe the impact of this yet.
Great! Thanks for reporting the problems.
Describe the bug A clear and concise description of what the bug is. Skidl reference designators
ref_prefix
not respected on the call of a part, ieTo Reproduce Steps to reproduce the behavior:
Expect to see
resistor.ref
prefixed with 'RR'. ~~Desktop (please complete the following information):
OS: Windows/WSL/Debian 12 (bookworm) Python version 3.10 SKiDL 1.1.0 (development)
Additional context Add any other context about the problem here.
Checked out development version per advice #172 but the code conflicted with a few custom parts, returning
KeyError: 'ki_keywords'
The code contained at https://github.com/devbisme/skidl/blob/7cea69751e97e310d077aa2fc76c7adfa44889ce/src/skidl/tools/kicad/v6.py#L69-96 potentially requires that the part derives from parent parts, otherwise
ki_keywords
is never populated. Is there a template that could be provided there?