Re: gEDA-user: gschem gnetlist problem

2011-07-14 Thread Jared Casper
On Wed, Jul 13, 2011 at 4:06 PM, Kai-Martin Knaak k...@familieknaak.de wrote: Peter Brett wrote: Yes, both are pretty straightforward to add (I think), but I don't have time right now.  File feature requests?  :-) done: https://bugs.launchpad.net/geda/+bug/810202 Needed a break from

Re: gEDA-user: OT - non-contact digital current loop sniffer

2011-07-14 Thread Andy Fierman
As long as you have access to a single wire and not the return path! :)          Andy. signality.co.uk On 13 July 2011 22:48, Stephen Ecob silicon.on.inspirat...@gmail.com wrote: On Thu, Jul 14, 2011 at 1:18 AM, David C. Kerber dker...@warrenrogersassociates.com wrote: Hi, electronics

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Igor Lopez
2011/7/14 Andrew Poelstra as...@sfu.ca: On Wed, Jul 13, 2011 at 01:01:34PM -0700, Colin D Bennett wrote: On Wed, 13 Jul 2011 10:02:28 -0600 Mark Rages markra...@gmail.com wrote: Stretched arcs are a misfeature.  Can they be deprecated? Otherwise, they are just another object that cannot

Re: gEDA-user: pcb grid improvements... status of patch?

2011-07-14 Thread Kai-Martin Knaak
Andrew Poelstra wrote: I'm not sure what to do about them. Right now I have a giant table of default/max/min for all these units, which totals 12 values per unit. Times ten currently-supported units, this is 120 values! I'd be ok with some standard set of grid stops which gets coarser the

Re: gEDA-user: OT - non-contact digital current loop sniffer

2011-07-14 Thread David C. Kerber
Yes, we have access to a single wire carrying the signal current (I remember enough of my 27-year old EE degree to catch that). But I had my doubts about a current transformer, because of the chance of having several bits at the same level, either high or low current, not giving any signal;

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Igor Lopez
I had a quick look at the routine and must say that I did not grasp the code. It is probably due to some heavy optimizations. My approach had been more in the line of: // Assumption done on ArcType in that the StartAngle attribute is the // arcs CCW rotation with zero meaning that attribute

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Andrew Poelstra
On Thu, Jul 14, 2011 at 08:50:10AM +0200, Igor Lopez wrote: Check if point px,py is on rotaded elliptic arc: 1) Translate point to use ellipse center as origin, Px = px-x Py = py-y 2) Insert Px, Py in Eq1 lval equal 0 - point is exactly on arc lval above zero - point is inside arc

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Andrew Poelstra
On Thu, Jul 14, 2011 at 01:24:45PM +0200, Karl Hammar wrote: Andrew Poelstra: On Wed, Jul 13, 2011 at 01:01:34PM -0700, Colin D Bennett wrote: Mark Rages markra...@gmail.com wrote: Stretched arcs are a misfeature. Can they be deprecated? ... The reason I bring this up is that the

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Igor Lopez
2011/7/15 Andrew Poelstra as...@sfu.ca: On Thu, Jul 14, 2011 at 08:50:10AM +0200, Igor Lopez wrote: Check if point px,py is on rotaded elliptic arc: 1) Translate point to use ellipse center as origin, Px = px-x Py = py-y 2) Insert Px, Py in Eq1  lval equal 0 - point is exactly on arc  

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Andrew Poelstra
On Thu, Jul 14, 2011 at 03:48:24PM +0200, Igor Lopez wrote: I had a quick look at the routine and must say that I did not grasp the code. It is probably due to some heavy optimizations. Heavy optimizations, perhap, but also because it is wrong. If you have a full ellipse, then Width and

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Igor Lopez
2011/7/15 Andrew Poelstra as...@sfu.ca: On Thu, Jul 14, 2011 at 03:48:24PM +0200, Igor Lopez wrote: I had a quick look at the routine and must say that I did not grasp the code. It is probably due to some heavy optimizations. Heavy optimizations, perhap, but also because it is wrong. If

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Karl Hammar
Looking at pcb.pdf, page 64, section 8.8.1 Arc... Andrew Poelstra: ... If you have a full ellipse, then Width and Height are exactly what they sound like -- the full length from one side of the ellipse to the other. The file format specifies it as: Width Height The width and height,

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Andrew Poelstra
On Thu, Jul 14, 2011 at 08:29:53PM +0200, Karl Hammar wrote: Looking at pcb.pdf, page 64, section 8.8.1 Arc... Andrew Poelstra: ... If you have a full ellipse, then Width and Height are exactly what they sound like -- the full length from one side of the ellipse to the other. The

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Igor Lopez
2011/7/14 Karl Hammar k...@aspodata.se: Looking at pcb.pdf, page 64, section 8.8.1 Arc... Andrew Poelstra: ... If you have a full ellipse, then Width and Height are exactly what they sound like -- the full length from one side of the ellipse to the other. The file format specifies it as:

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread DJ Delorie
According to the manual ( I just checked) Arc is just a quarter circle even though it is overspecified in terms of parameters. Ellipses are not mentioned. Technically, what we have is *not* an ellipse - it's a stretched arc. ___ geda-user mailing

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread John Doty
On Jul 14, 2011, at 12:00 PM, DJ Delorie wrote: Technically, what we have is *not* an ellipse - it's a stretched arc. ? The linear stretching transformation (x', y') = (a*x, b*y) applied to a circle yields an ellipse whose axes are parallel to the coordinate axes. John Doty

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread DJ Delorie
The linear stretching transformation (x', y') = (a*x, b*y) applied to a circle yields an ellipse whose axes are parallel to the coordinate axes. Yes, *unless* you're including the start/end angles in that transformation, instead of applying them afterwards.

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Karl Hammar
Igor: 2011/7/14 Karl Hammar k...@aspodata.se: Looking at pcb.pdf, page 64, section 8.8.1 Arc... ... And there is no way to specify a slanted ellipse in the file format either, so if we really want ellipses, the file format is incomplete and should be changed. Why not just give a

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread John Doty
On Jul 14, 2011, at 1:09 PM, DJ Delorie wrote: The linear stretching transformation (x', y') = (a*x, b*y) applied to a circle yields an ellipse whose axes are parallel to the coordinate axes. Yes, *unless* you're including the start/end angles in that transformation, instead of applying

Re: gEDA-user: pcb GL can't render stretched arcs

2011-07-14 Thread Ethan Swint
On 07/14/2011 11:23 PM, Andrew Poelstra wrote: On Thu, Jul 14, 2011 at 08:50:10AM +0200, Igor Lopez wrote: Check if point px,py is on rotaded elliptic arc: 1) Translate point to use ellipse center as origin, Px = px-x Py = py-y 2) Insert Px, Py in Eq1 lval equal 0 - point is exactly on arc