Skip to content

Add script for THT transformers of Block

Hendrik v. Raven requested to merge github/fork/hvraven/block into master

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: https://github.com/KiCad/kicad-footprints/pull/1760

Edited by Joel Guittet

Merge request reports