Overview
Comment:Fixed bent-bond bug.
NB unfixed problems:
1. xfig writes multi line fields if more than about 5 segments.
2. rbg2abg takes a multi-segment bond as a straignt line between the
end points - so computation of stroke and arrow directions may be
iffy.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 2b6ffa23ce511f9d02753c7b72981fc2eec4e208242da03b90d044b6bc261b96
User & Date: gawthrop@users.sourceforge.net on 1996-12-30 20:00:29
Other Links: branch diff | manifest | tags
Context
1996-12-31
11:25:57
Clearer error messages for incorrect ports. check-in: 6a86eec1d3 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1996-12-30
20:00:29
Fixed bent-bond bug.
NB unfixed problems:
1. xfig writes multi line fields if more than about 5 segments.
2. rbg2abg takes a multi-segment bond as a straignt line between the
end points - so computation of stroke and arrow directions may be
iffy.
check-in: 2b6ffa23ce user: gawthrop@users.sourceforge.net tags: origin/master, trunk
19:23:35
Allows for bent bonds - ie bonds with more than 2 line segments. check-in: be097f19e1 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/awk/rbg_fig2m.awk from [23b3621679] to [2637b73d7e].

8
9
10
11
12
13
14



15
16
17
18
19
20
21
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24







+
+
+







# Copyright (c) P.J.Gawthrop, 1996.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.15  1996/12/30 19:23:35  peterg
##  Allows for bent bonds - ie bonds with more than 2 line segments.
##
## Revision 1.14  1996/12/21 19:47:53  peterg
## Changed \* to \\*
##
## Revision 1.13  1996/12/21 19:47:23  peterg
## Put back under VC
##
# Revision 1.12  1996/08/24  16:30:12  peter
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
299
300
301
302
303
304
305

306
307
308
309
310
311
312







-







	bonds[i_bond] = sprintf("%s %s %s %s %s %s", \
				$2, $3, $4, $5, $(NF-1), $(NF));
}
else {
	bonds[i_bond] = sprintf("%s %s %s %s %s %s", \
				$2, $3, $(NF-3),$(NF-2),$(NF-1),$NF);
}

      }
      
#Save up arrow coords 
      if ( (arrow)&&(NF==(2*arrow_coords+1)) ) {
	i_arrow++;
	arrows[i_arrow] = sprintf("%s %s %s %s",  $2, $3, $4, $5);
      }


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]