racklet / electronics-prototyping

Design files for electronic components for use in Racklet
Apache License 2.0
3 stars 0 forks source link

Support external parameters in the voltage divider #17

Closed twelho closed 3 years ago

twelho commented 3 years ago

See the doc comments for the voltage_divider function for details. By passing external parameters as arguments to the vdiv function we can leverage the dependency resolving of the evaluator. The given parameters will subsequently be made available via En identifiers where n counts up from 1 (like is commonly done for resistors as well).

Completes the final task of #16.

twelho commented 3 years ago

The escaping/quoting issue in kicad_parse_gen probably originates from the function parse_split_quote_aware_int in lib.rs. I can look into it a little more deeply at some point.