Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Add script for THT transformers of Block #410

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

hvraven
Copy link
Contributor

@hvraven hvraven commented Aug 8, 2019

This adds a script to generate footprints for transformers from Block. The inputs are csv files containing the dimensions from the Block catalogue (transformers starting at page 250).

I've added generation functions for the FL and VB series and also included all series which share the same dimension drawing & labeling. These are the FLE, FLD and VC series. I might add the others later, but that will be an independent PR.

The PR also includes a tiny script to query the datasheet URLs from the Block webpage as they can not be constructed from the name of the transformer. The script requires manual tweaking of the outputs parameter of get_url for some series. It is not needed for generating the footprints, but I added it anyways as it will be needed when adding further transformers.

I already posted a PR to get the footprints merged: KiCad/kicad-footprints#1760

@codeclimate
Copy link

codeclimate bot commented Aug 8, 2019

Code Climate has analyzed commit b2144e2 and detected 0 issues on this pull request.

View more on Code Climate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant