pcbdl
pcbdl copied to clipboard
PCB Design Language: A programming way to design schematics.
I am declaring the #!/usr/bin/env python, and set the encoding to UTF-8. And I also updated the copyright from 2019 to 2021, I also put the long description for the...
Adding a draft PR to fix SVG exporting. - Changed function generate_svg to write to a file or multiple files - Added test cases for generate_svg which checks for exported...
Running the following causes an SVG to be generated which looks like  ``` import pcbdl as dl ac_coupling_value = "1000u" vcc, gnd = dl.Net("vcc"), dl.Net("gnd") q = dl.BJT("2n3904") C...
After following the instructions [here](https://google.github.io/pcbdl/doc/_build/html/netlistsvg.html), and running the following code from the root directory of pcbdl: ``` import pcbdl as dl vcc, gnd = dl.Net("vcc"), dl.Net("gnd") vin = dl.Net("vin") base...
```diff index d42fef2..2928e40 100755 --- a/examples/servo_micro.py +++ b/examples/servo_micro.py @@ -576,7 +576,7 @@ pp3300
Thanks Alan for finding this! For the following test file: ```python from pcbdl import * pp3300 = Net("PP3300") led = LED() pp3300
Nets should be able to get labeled with the net name. If a net doesn't go anywhere but one pin, it should make a little stub, long enough to fit...
Sometimes one wants to write something like this near an MCU: ```python saved_net_variable = Net("MORE_HERE") ^ R("100") ^ Net("NEARBY_PIN")
I don't really want people to have to worry about refdeses inside the code. Part initializations should not be littered with refdes="Uwhatever". Right now Context.autoname, beyond numbering parts automatically, also...