Maker Pro
Maker Pro

ANN PyAscii

G

Gary Richardson

Jan 1, 1970
0
Announcing PyAscii 02

I've fixed a number of bugs, rearranged the GUI and added some new features.
Available at:

http://www.fidalgo.net/~garyr/pyascii/

Just click on the filenames. The executable is PyAscii_02.exe. You will also
need PyAsciiComponents.txt. The source and another components file is in
PyAscii_02.zip.

What is PyAscii?

PyAscii is an ASCII schematic drawing program modeled after Andreas Weber's
Ascii-Circuit. Salient features:

* Components can be placed on the screen, moved, copied, rotated or
deleted with a few mouse clicks.
* Similarly, groups of components can be moved, copied or deleted.
* Certain common operations such as placing symbols, labels and pin
numbers have been automated to some extent. Standard resistor and
capacitor values can be selected from tables.
* The ASCII text can be previewed without copying it to another program.
* A fairly complete text editor is included that makes modifying
existing component definitions or adding new ones quite easy.
* Multiple component definition files may be used.

The goal that evolved as I was writing this program was to minimize the
number of operations (primarily keystrokes) required to create an ascii
drawing. I think I have succeeded to some extent, largely through
incorporating features that automate much of the labeling of components.
For example, a drawing such as the following can be made with just the
mouse. Of course, it might be necessary to edit some of the component
definitions, but that would only need to be done once.

=====================
+---@@@-+-@@@---+--+--@@@-+--O
| W2a | W2b | | W1 |
Vcc L1 | | | | |
-+--@@@-----)-------+ | | |
| | | +--||--+
+-/\/\-----)-------+ | C1
R1 | | |
Q1\| | |/Q2
|--@@@-+-@@@--|
v/| W3a W3b |\v
| |
----------+---------------+
Gnd

View with a fixed font such as Courier

Thanks to Jeroen Vriesman and Leon Heller for their suggestions and testing.

Gary Richardson

PS
Read the help text; the mouse buttons each have several different
functions depending upon the state of the program.
 
G

Gary Richardson

Jan 1, 1970
0
Fred Abse said:
Any chance of a Linux port?

This code has been tested on a Linux machine. The source files are in
PyAscii_02.zip.
 
M

mikem

Jan 1, 1970
0
Announcing PyAscii 02

Gary,

tnx for the great little tool. I was wondering if you could modify it
to read a LTSpice schematic .asc file and convert it to ascii
characters?

Give 'em and inch and they'll ask for a mile...

Mike M
 
J

John Woodgate

Jan 1, 1970
0
I read in sci.electronics.design that mikem <[email protected]
tah.edu> wrote (in said:
Give 'em and inch and they'll ask for a mile...

Not these days. Give 'em an inch and they'll ask 'How many
centimetres'?
 
G

Gary Richardson

Jan 1, 1970
0
mikem said:
Gary,

tnx for the great little tool. I was wondering if you could modify it
to read a LTSpice schematic .asc file and convert it to ascii
characters?

Give 'em and inch and they'll ask for a mile...

Mike M
I thought about trying to do something like that... for about 5 minutes.
 
T

Terry

Jan 1, 1970
0
Gary Richardson threw some tea leaves on the floor
and said:
This code has been tested on a Linux machine. The source files are in
PyAscii_02.zip.

Runs perfectly on my Gentoo GNU/Linux desktop.!

I can't believe it's this easy to create an ascii circuit, nice job Gary!

Very easy to use editor also!



-/\/\----
| |
| |
| +|\ |
-/\/\------| \ |
| | >-------
---| /
| -|/
\
/
\
|

Gnd

I note that you have no copyright attribution in your zip file?
Are you going to GPL it ?
 
G

Gary Richardson

Jan 1, 1970
0
Terry said:
Gary Richardson threw some tea leaves on the floor


Runs perfectly on my Gentoo GNU/Linux desktop.!

I can't believe it's this easy to create an ascii circuit, nice job Gary!

Very easy to use editor also!



-/\/\----
| |
| |
| +|\ |
-/\/\------| \ |
| | >-------
---| /
| -|/
\
/
\
|

Gnd

I note that you have no copyright attribution in your zip file?
Are you going to GPL it ?

--
Kind Regards from Terry
My Desktop is powered by GNU/LinuX, Gentoo-1.4_rc2
New Homepage: http://milkstone.d2.net.au/
** Linux Registration Number: 103931, http://counter.li.org **

Terry,

Thanks for your comments. The editor is from Programming Python by Mark Lutz
plus a few modifications that I made (mouse cut & paste, etc., show
whitespace, save prompt on exit).

By the way, I've just discovered that using the mouse wheel causes the
program to crash when used with Python 2.3.2. I've posted a query on c.l.p.
The problem has been confirmed but no solution yet.

Gary Richardson
 
Top