Skip to content

Commit 4e8793c

Browse files
add readme images
1 parent fb2c025 commit 4e8793c

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,45 @@
88

99
A command-line tool and library for converting ASCII-art diagrams into beautiful SVG circuit schematics.
1010

11+
Turn this:
12+
13+
```txt
14+
*--BAT1+--*-------*---*
15+
| | | |
16+
| R1 .~~~. |
17+
| | : :-*
18+
| *-----: :---+C2--*--D2+--*----------J1
19+
| | :U1 : | |
20+
| R2 :555: | |
21+
| | *-: :-* | |
22+
| C1 | : : | + C3
23+
| | *-: : C4 D1 +
24+
| *---* .~~~. | | |
25+
| | | | | |
26+
*---------*-------*---*------*-------*----------J2
27+
28+
BAT1:5
29+
R1:10k
30+
R2:100k
31+
C1:10000p
32+
C2:10u
33+
C3:100u
34+
C4:10p
35+
D1:1N4001
36+
D2:1N4001
37+
U1:NE555,VCC,DIS,_TR,TH,GND,CTL,OUT,_RST
38+
J1:-5V
39+
J2:GND
40+
```
41+
42+
Into this:
43+
44+
![image](test_data/test_charge_pump_no_pin_labels.png)
45+
46+
And with a little CSS, this:
47+
48+
![image](test_data/test_charge_pump_no_pin_labels_css.png)
49+
1150
Works with Python 3.10+. It uses the new `match` feature in a few places. If you need to run Schemascii on an older version of Python, feel free to fork it and send me a pull request.
1251

1352
Command line usage:
16.1 KB
Loading
16.3 KB
Loading

0 commit comments

Comments
 (0)