diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-02-25 16:35:19 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-02-25 16:35:19 -0500 |
commit | 68319fd10ece278d3d9ba4421d4c741756c61e90 (patch) | |
tree | db32c2942d65e4bebead1cf640eadb387e2073f1 | |
parent | b7d678932c714aa1a4712a162974d7d610fc37b9 (diff) |
Adds reverse batt, cap, & res elements
-rw-r--r-- | circuit.pic | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/circuit.pic b/circuit.pic index 3edde93..9788947 100644 --- a/circuit.pic +++ b/circuit.pic @@ -93,3 +93,58 @@ begin end_ } res_len = (0.03 * 7) + padding *2 + + +#Reverse sections +define Rbegin {line left padding} +define Rend {line left padding} + +define Rbatt { +#LEFT +Rbegin + move down .1; line up .2; move down .1 + move left .025 +#TEXT + move down text_down "$1"; move up text_down; + move up text_up "$2"; move down text_up; +#RIGHT + move left .025 + move down .03333; + line up .066666; move down 0.03333 ; +Rend +} + +define Rcap { +Rbegin +#LEFT + move down .05; line up .1; move down .05; + move left .025 +#TEXT + move down text_down "$1"; move up text_down; + move up text_up "$2"; move down text_up; +#RIGHT + move left .025 down .05; + line up .1; move down .05; +Rend +} + +define Rres { +Rbegin +#LEFT + line down .05 left .03 + line up .1 left .03 + + line down .1 left .03 + line up .05 left .015 +#TEXT + move down text_down "$1"; move up text_down + move up text_up "$2"; move down text_up +#RIGHT + line up .05 left .015 + + line down .1 left .03 + line up .1 left .03 + + line down .05 left .03 +Rend +} |