[Magic-dev] Magic stacked contact bug...

R. Timothy Edwards tim at opencircuitdesign.com
Sat May 17 15:23:03 EDT 2008


Dear Philippe,

> Nice.  New feature eh?  But uh, not generally useful (45 degrees only). 

The feature has been there for several years. . .  I guess I probably
need to figure out some way to notify people of useful changes other
than requiring them to read the "code changes" list!

> Something along the lines of "move n 10 e 10" or "move ne 10 10" would 
> be better.  In fact I think I like the latter best, because then "move 
> ne 10" would be a more natural short version.  Should be trivial to 
> implement...

Yes, it's trivial to implement (I just did it).  However, I noticed that
"move ne 10 10" is redundant, as "move 10 10" suffices, so I made the
additional change of allowing the direction to be unspecified if both
X and Y coordinates are given.  So the syntax for "move" and "move to"
is now equivalent when a direction is not given, with "move" being
relative and "move to" being absolute (and, of course, equivalent changes
made to the "copy" command;  "stretch" would be very difficult to make
non-Manhattan).

> By the way, how come "move ne 10 10" currently only move diagonally by 1?

Lack of error message printing, since magic didn't understand "10 10"
as a distance value, and so defaulted to 1.  The error still exists,
since with the new changes, "move 10" likewise can't parse the entry
and so defaults to distance 1 and direction NE.

					Regards,
					Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim at opencircuitdesign.com    |
| Open Circuit Design, Inc.	 | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-9364               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+



More information about the magic-dev mailing list