www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/05/13/17:37:14

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
Date: Wed, 13 May 2015 17:37:03 -0400
Message-Id: <201505132137.t4DLb3d3009223@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: geda-user AT delorie DOT com
In-reply-to: <1431546811.11338.33.camel@linetec> (geda-user@delorie.com)
Subject: Re: [geda-user] Free rotate and exported centroid (XY) file question
References: <1431514980 DOT 2827 DOT 26 DOT camel AT linetec>
<201505131730 DOT t4DHUISw031045 AT envy DOT delorie DOT com>
<1431541322 DOT 2827 DOT 46 DOT camel AT linetec>
<201505131826 DOT t4DIQWuQ002817 AT envy DOT delorie DOT com> <1431546811 DOT 11338 DOT 33 DOT camel AT linetec>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> So a part's rotation from its initial positioning is not a separately
> stored parameter,

Right, this is the root cause of the limitation.  We've contemplated
putting in a native center/angle but haven't yet.  It would solve a
few problems, but any change in the file format has its drawbacks, and
it's difficult to know how to "migrate" old designs as you see and
edit them.

> The obvious question now is if there's a relatively easy way to get the
> correct angle definitions for free-rotated parts in the XY file.

If you go by the IPC spec, there's no way to know the *starting* angle
of the footprint when you load it, aside from some "rules of thumb".
Otherwise, you could re-load the original footprint and compare pin
orientations to try to guess, I suppose.

Or, you could hack in something to keep a rotation attribute around,
and update it as needed.  Attributes don't need file format changes at
least.

> Anyway, thank you again for your explanation. Things like this remind me
> why open source can so very pleasant to work with.

Heh.  Try getting such an explanation out of Microsoft ;-)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019