Skip to content

Commit

Permalink
Enable Footprint and Model checks
Browse files Browse the repository at this point in the history
  • Loading branch information
CDFER committed Jan 20, 2025
1 parent 303742a commit 590b682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraryCreatorScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def check_models():

if match:
model_path = match.group(1)
model = re.search(r'${KICAD8_3RD_PARTY}/3dmodels/com_github_CDFER_JLCPCB-Kicad-Library/JLCPCB.3dshapes/([^"]+).step', model_path)
model = re.search(r'/3dmodels/com_github_CDFER_JLCPCB-Kicad-Library/JLCPCB.3dshapes/([^"]+).step', model_path)
if model:
model = model.group(1)
if model not in model_names:
Expand Down Expand Up @@ -804,8 +804,8 @@ def check_footprints():
update_library_stock_inplace("Transformers")
update_library_stock_inplace("Transistor-Packages")

# check_footprints()
# check_models()
check_footprints()
check_models()

files_and_dirs = ['3dmodels', 'footprints', 'resources', 'symbols', 'metadata.json']
current_date = datetime.now(timezone.utc).strftime('%Y.%m.%d')
Expand Down

0 comments on commit 590b682

Please sign in to comment.