Subversion Repositories wimsdev

Rev

Rev 4926 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4926 Rev 9966
Line 16... Line 16...
16
first one, according to the orientation of the component. The distance between
16
first one, according to the orientation of the component. The distance between
17
the two must be 3 units.
17
the two must be 3 units.
18
 
18
 
19
If the first component of the pair is a wire, the second one will appear
19
If the first component of the pair is a wire, the second one will appear
20
in the middle of the two.
20
in the middle of the two.
21
 
21
 
22
Record 3: component information.
22
Record 3: component information.
23
One line per component, format x1,y1,x2,y2,o,e1,e2
23
One line per component, format x1,y1,x2,y2,o,e1,e2
24
(x1,x2)=position of component, (x2,y2)=position of annotation, o=orientation.
24
(x1,x2)=position of component, (x2,y2)=position of annotation, o=orientation.
25
o=0: horizontal. o=1: vertical.
25
o=0: horizontal. o=1: vertical.
26
 
26
 
27
e1,e2 (optional): extending wire distances (with respect to the center).
27
e1,e2 (optional): extending wire distances (with respect to the center).
28
Should be one positive and one negative.
28
Should be one positive and one negative.
29
 
29
 
30
Record 4: Draw command for wiring and fixed components.
30
Record 4: Draw command for wiring and fixed components.
31
 
31
 
32
Record 5: dot positions.
32
Record 5: dot positions.
33
 
33
 
34
##################################################
34
##################################################
35
 
35
 
36
The two scripts "data2ps" and "ps2data" translates the datafile to and
36
The two scripts "data2ps" and "ps2data" translates the datafile to and
37
from postscript circuit files recognizable by xcircuit.
37
from postscript circuit files recognizable by xcircuit.
38
 
38
 
39
######################
39
######################
40
Components :
40
Components :
41
mksymbols generate compdata.for_sh and the images in gifs/circuits
41
mksymbols generate compdata.for_sh and the images in gifs/circuits
-
 
42
 
-
 
43
When adding a component, check if it should be in the list