gEDA-user: dev account (polygon regression in pcb+gl)
Peter Clifton wrote: On Sat, 2011-02-19 at 19:02 +, Ineiev wrote: Lets make this your first commit once you get a developer account setup. You will need to provide Ales the public half of an SSH key you generate Attached (not sure whether any steps are needed to ensure its' integrity). > and setup .ssh/config with these lines: """ Host git.gpleda.org... Thanks! ssh-rsa B3NzaC1yc2EBIwAAAgEA3DHk7bDnFmQPQah/qsn9ze3rDbM31jQmRt3ZLWiARnXwivt5jML6aqO1ziZTeIua7R+FZFG6anmcGaRDJU3SySpZtpeKbeadvL59yCuNGderYTu7O3kwhbwcpku+8M2fbHJx3dBog7A3LI9j6Odeeo9UdQ524AvcBjbIWrVd4S2I5/mNfc1UXUPegI2OSUocEAixRchcTTW6aEm0jOwrT2f2BuK91XcpS+C/Zm8d0nG7gckauMRulTFzEV1PdT5z9abJRHMlMgbLa18fHl5kZEh3rKJM3P6WpbjbX1hWwOEz18cVGRSqfUQaUS0hYmX9zsJnUZKiXhg4E1S4VEMtaGhLx6twmxx8s3wf9mIyVp0j72Sz1P/rYtSrzMt5FzRV2WA05/BMakeKCcSnFi6G2AkU/xqTIQhw+oMPE6FIZug1PavdZOFz1EkFwNyE+PDPjC/DIaPPE6WiFT2m2wQTuRziq/9KxWupugH3pEHP/p+vIB08SzG5tp9RjLxaLeLuZTE4oUVLCIleGMe8A3c4dMQ4jI0c/G978hlb2cZmlEP+ucBHL3lYhWXEiA51LFlNGlTmSTVZXNAiIKJMy8gvSdpfk72KXT4X2QzfVUc/e+wW5iDUEBKE5vFGkevHCxzxS9bCNL1tY64d3E5sh8kZejY7N9122JN/L8VcvGCjnKU= d...@xbl3p.blpx.org ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Help I can move by REFDES
On 02/19/2011 09:51 PM, Ethan Swint wrote: On 02/19/2011 09:41 PM, Oliver King-Smith wrote: I have managed to get my refdes for one component about 7" away from the component. When I select the refdes I can seem to move it. How do I get it back to my poor component? Oliver To move a refdes in the GUI, 1) make sure that it is not currently selected 2) click over refdes and drag to desired location. In a text editor, just manually set the XY coordinate of the refdes to 0 0 (http://pcb.gpleda.org/pcb-cvs/pcb.html#File-Syntax). More specifically, http://pcb.gpleda.org/pcb-cvs/pcb.html#Element-syntax ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Help I can move by REFDES
On 02/19/2011 09:41 PM, Oliver King-Smith wrote: I have managed to get my refdes for one component about 7" away from the component. When I select the refdes I can seem to move it. How do I get it back to my poor component? Oliver To move a refdes in the GUI, 1) make sure that it is not currently selected 2) click over refdes and drag to desired location. In a text editor, just manually set the XY coordinate of the refdes to 0 0 (http://pcb.gpleda.org/pcb-cvs/pcb.html#File-Syntax). ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: Help I can move by REFDES
I have managed to get my refdes for one component about 7" away from the component. When I select the refdes I can seem to move it. How do I get it back to my poor component? Oliver ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Can you spot the selected object?
Oliver King-Smith wrote: > _ > Yes, I was screwing around to see how it would work. Overall I think it > might > be better than the Eagle auto router. Do you recommend using some else? > You might try the shiny, new but not feature-complete toporouter. http://anthonix.resnet.scms.waikato.ac.nz/toporouter/ Unfortunately, this Google-Summer-Of-Code project has been abandoned by the original developer. Even though it is not ready for prime time, depending on your project it may still yield better results than the traditional autorouter. My designs are generally too dense to yield acceptable results with autorouting. See the photo diode receiver in the link above. After all, the cost of the printed board and the enclosing decreases significantly for small size layouts. ---<)kaimartin(>--- -- Kai-Martin Knaak Email: k...@familieknaak.de Öffentlicher PGP-Schlüssel: http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Modifying pcb-menu.res
If you are using the gtk gui, you have to modify the gpcb-menu.res file. The pcb-menu.res file is for lesstif gui. This might be the reason for the missing function. The syntax looks right to me. Brilliant that was the problem! Thank you. Oliver ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Can you spot the selected object?
Has this been done with the traditional autorouter of PCB? ---<)kaimartin(>--- _ Yes, I was screwing around to see how it would work. Overall I think it might be better than the Eagle auto router. Do you recommend using some else? Oliver ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: polygon regression in pcb+gl
On Sat, 2011-02-19 at 19:02 +, Ineiev wrote: > > Any ideas why? > > I made a wrong assumption (segs variable should be at least 1). Neat - you got to a fix quicker than I would have! Lets make this your first commit once you get a developer account setup. You will need to provide Ales the public half of an SSH key you generate, and setup .ssh/config with these lines: """ Host git.gpleda.org Port 5022 RSAAuthentication yes IdentityFile ~/.ssh/keys/id_rsa.gpleda.org """ (Adjust as necessary for where you put your key) You could of course, just give Ales the public key of a key you already use, but the host and port 5022 bit is important. The developer access git URL is ssh://g...@git.gpleda.org/pcb.git I use this in my pcb/git/.git/config: [remote "origin"] url = git://git.gpleda.org/pcb.git fetch = +refs/heads/*:refs/remotes/origin/* [remote "gpleda"] url = ssh://g...@git.gpleda.org/pcb.git push = for_master:master Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) signature.asc Description: This is a digitally signed message part ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB: DRC does not correctly check pad clearance
Zafi Ramarosandratana wrote: > I'm using PCB 20091103-02 on Ubuntu 10.4. > > DRC does not find the following simple error. > > I put an element (footprint: SO8) inside a polygon. One pad is defined as > Pad[-13500 -7500 -7000 -7500 2000 1000 3000 "1" "1" "square"] > > It means that the distance between pad and copper is 5 mil. > > I declare in the Design Rules Checking > Minimum copper spacing: 6 mil. > > When running DRC, the checker finds no violation. It only prompt > errors when DRC minimum copper spacing is set to 10 mil. I can confirm for fairly recent versions of pcb and pcb+gl. In your example, DRC starts to complain at 7.1 mil. That is, 2 mil too late. The discrepancy grows as the clearance grows. With an 11 mil gap I had to ask for 14.1 mil minimum distance to receive DRC errors. Please file a bug report at launchpad: https://bugs.launchpad.net/pcb/+filebug ---<)kaimartin(>--- -- Kai-Martin Knaak Email: k...@familieknaak.de Öffentlicher PGP-Schlüssel: http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Modifying pcb-menu.res
If you are using the gtk gui, you have to modify the gpcb-menu.res file. The pcb-menu.res file is for lesstif gui. This might be the reason for the missing function. The syntax looks right to me. Felix Am 19.02.2011 23:20, schrieb Oliver King-Smith: I am trying to add a keyboard shortcut for Select by Name -> All Objects. I located my pcb-menu.res file and tried adding {"All objects" Select(ObjectByName) active=have_regex a={"Ctrl-N" "Ctrln"}} but it doesn't seem to do anything. Does anyone have any suggestions as to what I might be doing wrong? It would be handy to have this for doing placement on large designs. Oliver ___ geda-user mailing list [1]geda-user@moria.seul.org [2]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user References 1. mailto:geda-user@moria.seul.org 2. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Can you spot the selected object?
Oliver King-Smith wrote: > In Eagle, I could select an object by name, and then "move it" which would > automatically place it under my cursor. This is nice, as I don't have to go > hunting for the object I wish to move. Is there a way of doing this in PCB? Yes, sort of. There is "Select_by_name" somewhat hidden in the select menu. I tend to rip this sub menu off, so I have it ready when needed. The input understands regular expression matching. I find conatenating refdeses with "|" useful. Once the desired object is selected, you can do "Disperse_selected_elements" again from the select menu. This will align all selected objects at the top left of the canvas. They keep being selected. So you can drag them to some other place. This technique helps a lot with placement of larger designs. > I have attached an example. Has this been done with the traditional autorouter of PCB? ---<)kaimartin(>--- -- Kai-Martin Knaak Email: k...@familieknaak.de Öffentlicher PGP-Schlüssel: http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: Modifying pcb-menu.res
I am trying to add a keyboard shortcut for Select by Name -> All Objects. I located my pcb-menu.res file and tried adding {"All objects" Select(ObjectByName) active=have_regex a={"Ctrl-N" "Ctrln"}} but it doesn't seem to do anything. Does anyone have any suggestions as to what I might be doing wrong? It would be handy to have this for doing placement on large designs. Oliver ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: polygon regression in pcb+gl
Peter Clifton wrote: On Wed, 2011-02-16 at 05:27 +0100, Kai-Martin Knaak wrote: The current head of his pcb+gl branch omits some polygons in my layouts. See the attached screen shots. The working copy of pcb+gl was pulled from repo.or.cz on December 6th. Unfortunately, I wasn't able to locate the the exact version I pulled, or the commit that started the regression. Urm - I think the bug got into git HEAD too. I think this commit has caused a regression, but I'm not quite sure why. commit 2d8dc8a3a3a55158b4e6278dd9f40588e4111c2d Author: Ineiev Date: Sun Dec 12 00:28:48 2010 -0500 [PATCH] fix bug 2793480 (vias/arcs-to-polygon clearances) frac_circle(): introduce radius_adjustment factor to make the polygon outline the arc rather than connet points on the arc ArcPolyNoIntersect(): compute number of segments so that polygon diverges from the arc no more than 0.02 of required thickness; adjust outer "arc" radius like in frac_circle() Any ideas why? I made a wrong assumption (segs variable should be at least 1). diff --git a/src/polygon.c b/src/polygon.c index c552f3c..0235495 100644 --- a/src/polygon.c +++ b/src/polygon.c @@ -498,8 +498,8 @@ ArcPolyNoIntersect (ArcType * a, BDimension thick) ry = MAX (a->Height - half, 0); segs = 1; if(thick > 0) -segs = a->Delta * M_PI / 360 - * sqrt(sqrt((double)rx*rx + (double)ry*ry)/delta_th/2/thick); +segs = MAX (segs, a->Delta * M_PI / 360 + * sqrt(sqrt((double)rx*rx + (double)ry*ry)/delta_th/2/thick)); segs = MAX(segs, a->Delta / ARC_ANGLE); ang = a->StartAngle; ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Breaking up power planes
I've had good luck, for the size boards i've been doing, with imposing strict on-grid (0.005") disciple for drawing polygons. This alleviated what at first seemed to be inaccurate selection on the part of the tools (PCB) but was in fact inaccurate design. P. Taylor Signature On Feb 19, 2011, at 10:18 AM, DJ Delorie wrote: > >> You mean moving the vertex of a polygon? And waht are you doing when it is >> hidden by a clearance? > > I disable vias and pads, and just guess at where the vertex is. > > I've been thinking we need a "polygon editing hints mode" :-) > > > ___ > geda-user mailing list > geda-user@moria.seul.org > http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Breaking up power planes
> You mean moving the vertex of a polygon? And waht are you doing when it is > hidden by a clearance? I disable vias and pads, and just guess at where the vertex is. I've been thinking we need a "polygon editing hints mode" :-) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Breaking up power planes
On Sat, 19 Feb 2011 12:37:53 -0500 DJ Delorie wrote: > I use the polygon editor. With the new Holes tool, it's a lot easier. You mean moving the vertex of a polygon? And waht are you doing when it is hidden by a clearance? Thanks, Levente -- Levente Kovacs http://levente.logonex.eu ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Breaking up power planes
I use the polygon editor. With the new Holes tool, it's a lot easier. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: polygon regression in pcb+gl
On Wed, 2011-02-16 at 05:27 +0100, Kai-Martin Knaak wrote: > The current head of his pcb+gl branch omits some polygons in my layouts. > See the attached screen shots. The working copy of pcb+gl was pulled from > repo.or.cz on December 6th. Unfortunately, I wasn't able to locate the > the exact version I pulled, or the commit that started the regression. Urm - I think the bug got into git HEAD too. I think this commit has caused a regression, but I'm not quite sure why. commit 2d8dc8a3a3a55158b4e6278dd9f40588e4111c2d Author: Ineiev Date: Sun Dec 12 00:28:48 2010 -0500 [PATCH] fix bug 2793480 (vias/arcs-to-polygon clearances) frac_circle(): introduce radius_adjustment factor to make the polygon outline the arc rather than connet points on the arc ArcPolyNoIntersect(): compute number of segments so that polygon diverges from the arc no more than 0.02 of required thickness; adjust outer "arc" radius like in frac_circle() Any ideas why? KMK - can you confirm that reverting this patch fixes the problem? (Reverting polygon.c from my latest branch with a copy from the checkout you have which works reveals the above commit is the major change... and other edits don't seem to be a problem). -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) signature.asc Description: This is a digitally signed message part ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: OT: Vintage uP
Stephan- Here's what I've got in the Motorola family: MC68010L8 - 1 unit SC87876L8 - 1 unit MC68000P8 - 2 units MC68000P10 - 2 units These are all 64-pin devices; I'm not sure about the SC87876. It looks like shipping is reasonable - USD$13.25 for a DVD-sized box. Regards, Ethan On 02/13/2011 05:57 PM, Stephan Boettcher wrote: Ethan, Ethan Swint writes: I recently ran across a cache of 'vintage' microprocessors - a Motorola MC68010L8 and other MC68K chips, Dallas Semi Speed it uP, AMD 8088, etc. The are all in new condition, most in ESD foam. Any of these of interest to the list? Well, if you could ship to Europe in an unsusicious package to avoid customs excessive duties, I'd be interested in an MC68010L8 and maybe other MC68K chips (what are those? UART? FPU?) I could pay via paypal. Cheers, Stephan Regards, Ethan ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: polygon regression in pcb+gl
> True! I was just wondering if you ran into the same issues I just > found with rebasing. > > > > It also makes it nearly impossible to maintain your own > > > branch based off the pcb+gl branch since it will constantly be > > > diverging. Use stgit and rebase yourself - that would work. > I just have been maintaining my own trivial branch > (2-line patch that still hasn't made it into git HEAD *grumble* > https://bugs.launchpad.net/pcb/+bug/699498) based off the pcb+gl > branch, but that made the downside of rebasing evident. Patch is pushed ;) Hope it makes life easier. > Anyway, nothing against Peter C's work or his choice of methods to > manage his branch. It's all tradeoffs. I think rebasing makes some > things quicker but in the long run is messier since you lose track of > the exact changes you originally made. Yes, but we don't particularly want to commit those - the alternative is re-writing the code repeatedly, and I chose to use stgit instead. > That's all I have to say except to end with thanks to Peter Clifton for > creating and maintaining the pcb+gl branch, and I hope it goes to > mainline soon. Me to - thanks for the positive comments. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) signature.asc Description: This is a digitally signed message part ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user