Skip to content

Commit

Permalink
[Colored resistors][Fixed] Problems when no cache is there
Browse files Browse the repository at this point in the history
Fixes #553
  • Loading branch information
set-soft committed Jan 15, 2024
1 parent b78c659 commit 10b9850
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
the same footprint but different orientation in the reel.
- 3D outputs:
- `download_lcsc` option to disable LCSC 3D model download (See #415)
- Problems when creating a colored resistor, but we didn't have a cache yet
(i.e. no model downloaded) #553
- BoM:
- Support for ${field} expansion. (#471)
- LCSC links (SchrodingersGat/KiBoM#190)
Expand Down
1 change: 1 addition & 0 deletions kibot/out_base_3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def create_colored_tht_resistor(self, ori, name, bars, r_len):
prev_ln = None
points = None
axis = None
os.makedirs(os.path.dirname(name), exist_ok=True)
with open(name, "wt") as d:
colors_defined = False
for ln in f:
Expand Down

0 comments on commit 10b9850

Please sign in to comment.