Re: gEDA-user: Layer selective DRC

2011-08-05 Thread Andrew Poelstra
On Fri, Aug 05, 2011 at 02:05:14PM -0400, DJ Delorie wrote:
> 
> Yup, namespaces.  Each app/module/whatever should have its own
> namespace, although I'm not picky about the syntax as long as it's
> consistent.
> 
> "PCB::grid-units" ""
> "grid::units"
> 
> etc.
> 
> It makes sense for all of PCB's built-in ones to use PCB:: leaving
> other namespaces for plugins and external apps.
>

I am going to use

  PCB::grid::unit

if nobody has any complaints.

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Dave McGuire

On 8/5/11 3:35 PM, yamazakir2 wrote:

Do you guys use your linux box for general desktop usage or only EDA?
I ask because I have tried many times to make the switch to linux for
general desktop usage but can't get over the inconvenience of it. I
have a linux box specifically for EDA (gschem, pcb, spice simulations,
etc), so I couldn't care less what the WM is. It could be motif for
all I care.


  I use UNIX derivatives exclusively for both desktop and server duty; 
Solaris, MacOS X, and Linux.  I never made the switch TO Windows, 
because when I put it side-by-side with my UNIX workstation (a 
DECstation running Ultrix) it was just terrible, and it never seemed to 
get any better.  I can easily say that "I could never get over the 
inconvenience of it". ;)


  I certainly won't actually *depend* on Windows for anything, though I 
tend to enjoy it when people who do, and then pay me to clean up the 
resulting mess! ;)


 -Dave

--
Dave McGuire
Port Charlotte, FL


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Kai-Martin Knaak
yamazakir2 wrote:

> Do you guys use your linux box for general desktop usage or only EDA?

Yes. And yes, this includes 3D gaming ;-)
The only thing I do in windows is to print a batch of labels for front
panels. I boot winxp in a virtual box for this. 

When I bought the labelwriter I was quite annoyed, that there was no way
to use it without a runninng windows-OS. Just googled again and surprise:
In the meantime someone has hacked up a way to talk to the device as a 
CUPS printer :-)

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Dave McGuire

On 8/5/11 4:27 PM, yamazakir2 wrote:

To this day I still am not sure why anyone would willing use a mac. I
have been consistent in this stance for the past 20+ years when I was
forced to use a mac in elementary school for the first time.


  I had the same attitude until they trashed the crappy "original" OS 
and replaced it with UNIX.  It's good stuff now.


-Dave

--
Dave McGuire
Port Charlotte, FL


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Steven Michalske

On Aug 5, 2011, at 11:21 AM, Josh Jordan wrote:

>I've had the same trouble with recent ubuntu release looking like osx.
>Debian sounds like a good alternative to ubuntu even without the window
>manager issues.
>Does anyone use geda on osx?  I have given osx a good try and found it
>lacks basic features such as expanding a window to take up half the
>screen, you have to buy an app for that!
> 


I use gEDA on Mac OSX, it is great.
A base os that I don't have to configure, or worry about upgrades and such.
And all of the Unix goodness that I come to expect from a computer.

macports has earlier releases of gEDA, but I run from git head.  Using macports 
to install the dependencies.

As for dividing up the screen,  the window management is a different mind set, 
the maximize button is really "Make the window the optimal size" button.
When I want to have exact control of window sizes I use an application called 
divvy.  It has hot keys that I use to place windows where is want them.

Steve


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread yamazakir2
To this day I still am not sure why anyone would willing use a mac. I
have been consistent in this stance for the past 20+ years when I was
forced to use a mac in elementary school for the first time.

On Fri, Aug 5, 2011 at 12:53 PM, John Doty  wrote:
>
> On Aug 5, 2011, at 12:35 PM, yamazakir2 wrote:
>
>> Do you guys use your linux box for general desktop usage or only EDA?
>
> For general desktop use, I tend to gravitate to the MacBook, but I'm not 
> limited to it. If I need a lot of windows in view, the Linux box with two 
> monitors is the machine of choice if I'm in the office.
>
> The totalitarian regularity of Mac applications is convenient for general 
> desktop use, but not necessary. As Apple's hostility to users (as opposed to 
> passive consumers) appears to be on the rise, it is likely that I will be 
> phasing out the Mac in the future.
>
> John Doty              Noqsi Aerospace, Ltd.
> http://www.noqsi.com/
> j...@noqsi.com
>
>
>
>
> ___
> 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: Linux Desktop für gEDA

2011-08-05 Thread John Doty

On Aug 5, 2011, at 12:35 PM, yamazakir2 wrote:

> Do you guys use your linux box for general desktop usage or only EDA?

For general desktop use, I tend to gravitate to the MacBook, but I'm not 
limited to it. If I need a lot of windows in view, the Linux box with two 
monitors is the machine of choice if I'm in the office.

The totalitarian regularity of Mac applications is convenient for general 
desktop use, but not necessary. As Apple's hostility to users (as opposed to 
passive consumers) appears to be on the rise, it is likely that I will be 
phasing out the Mac in the future.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Design Nark

2011-08-05 Thread Gareth Edwards
On 29 July 2011 12:53, andrew whyte  wrote:
> Unless anyone can see a good reason for obviously biased gEDA users
> not to report this?

The ASA's position is that this particular page is editorial content
on a blog, and is not in their purview.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Vanessa Ezekowitz
On Fri, 5 Aug 2011 12:35:38 -0700
yamazakir2  wrote:

> Do you guys use your linux box for general desktop usage or only EDA?

I use my system for EDA and for everything else - regular desktop stuff, games, 
movies, etc.

-- 
"There are some things in life worth obsessing over.  Most
things aren't, and when you learn that, life improves."
http://digitalaudioconcepts.com
Vanessa Ezekowitz 


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Andrew Poelstra
On Fri, Aug 05, 2011 at 12:35:38PM -0700, yamazakir2 wrote:
> Do you guys use your linux box for general desktop usage or only EDA?
> I ask because I have tried many times to make the switch to linux for
> general desktop usage but can't get over the inconvenience of it. I
> have a linux box specifically for EDA (gschem, pcb, spice simulations,
> etc), so I couldn't care less what the WM is. It could be motif for
> all I care.
>

Just Linux, going on ten years now.

Interesting that you call it "inconvienent". Perhaps with the default
window managers (KDE 3/4 and Gnome 2/3 all seem hard to navigate by
keyboard, while Win7 is excellent IMHO). And being nearly all Linux
software is uselessly named, I would imagine finding programs to be
a pain at first...only at first though.

But having find/grep/sed/cat/awk/gcc/git/vi/ssh/sftp/mutt all at my
fingertips more than makes up for that. Plus all my music is in FLAC
or OGG format.

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Павел Таранов
   Ubuntu 11.04 on my wife's netbook and on my notebook (watching video,
   sound editing, Eclipse, gEDA, games) and Fedora 14 on home fileserver
   (svn, Jenkins, backups).

   2011/8/5 yamazakir2 <[1]yamazak...@gmail.com>

 Do you guys use your linux box for general desktop usage or only
 EDA?
 I ask because I have tried many times to make the switch to linux
 for
 general desktop usage but can't get over the inconvenience of it. I
 have a linux box specifically for EDA (gschem, pcb, spice
 simulations,
 etc), so I couldn't care less what the WM is. It could be motif for
 all I care.

   On Fri, Aug 5, 2011 at 12:21 PM, Karl Hammar <[2]k...@aspodata.se>
   wrote:
   > Philipp:
   >> Am 04.08.2011 21:33, schrieb DJ Delorie:
   >> >> just log out,
   >> > Log out?  Log OUT?  What's that?  ;-)
   >> How do you upgrade kernels?
   >
   > [3]http://www.ibm.com/developerworks/linux/library/l-kexec/index.html
   >
   > Regards,
   > /Karl Hammar
   >
   >
   ---
   > Aspö Data
   > Lilla Aspö 148
   > S-742 94 Östhammar
   > Sweden
   > [4]+46 173 140 57
   >
   >
   >
   >
   > ___
   > geda-user mailing list
   > [5]geda-user@moria.seul.org
   > [6]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
   >
   ___
   geda-user mailing list
   [7]geda-user@moria.seul.org
   [8]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. mailto:yamazak...@gmail.com
   2. mailto:k...@aspodata.se
   3. http://www.ibm.com/developerworks/linux/library/l-kexec/index.html
   4. tel:%2B46%20173%20140%2057
   5. mailto:geda-user@moria.seul.org
   6. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
   7. mailto:geda-user@moria.seul.org
   8. 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: Linux Desktop für gEDA

2011-08-05 Thread DJ Delorie

Just Linux.  Fedora 14, for everything from EDA to watching television
and playing video games.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread yamazakir2
Do you guys use your linux box for general desktop usage or only EDA?
I ask because I have tried many times to make the switch to linux for
general desktop usage but can't get over the inconvenience of it. I
have a linux box specifically for EDA (gschem, pcb, spice simulations,
etc), so I couldn't care less what the WM is. It could be motif for
all I care.

On Fri, Aug 5, 2011 at 12:21 PM, Karl Hammar  wrote:
> Philipp:
>> Am 04.08.2011 21:33, schrieb DJ Delorie:
>> >> just log out,
>> > Log out?  Log OUT?  What's that?  ;-)
>> How do you upgrade kernels?
>
> http://www.ibm.com/developerworks/linux/library/l-kexec/index.html
>
> Regards,
> /Karl Hammar
>
> ---
> Aspö Data
> Lilla Aspö 148
> S-742 94 Östhammar
> Sweden
> +46 173 140 57
>
>
>
>
> ___
> 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: Linux Desktop für gEDA

2011-08-05 Thread Karl Hammar
Philipp:
> Am 04.08.2011 21:33, schrieb DJ Delorie:
> >> just log out,
> > Log out?  Log OUT?  What's that?  ;-)
> How do you upgrade kernels?

http://www.ibm.com/developerworks/linux/library/l-kexec/index.html

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread John Doty

On Aug 5, 2011, at 11:21 AM, Josh Jordan wrote:

> manager issues.
>Does anyone use geda on osx?

Sure. Works fine. Of late, it's been my main platform for gEDA, since I've been 
on the road a lot, and the MacBook has a bigger screen than the Linux netbook.

>  I have given osx a good try and found it
>lacks basic features such as expanding a window to take up half the
>screen, you have to buy an app for that!

Basic feature? Nah. Given the general capability to resize a window to any 
useful size, there is no need to have a feature here. Good software design 
avoids such trivial special-case features. They just add to the fog.

John Doty  Noqsi Aerospace, Ltd.
http://www.noqsi.com/
j...@noqsi.com




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Josh Jordan
I've had the same trouble with recent ubuntu release looking like osx.
Debian sounds like a good alternative to ubuntu even without the window
manager issues.
Does anyone use geda on osx?  I have given osx a good try and found it
lacks basic features such as expanding a window to take up half the
screen, you have to buy an app for that!
--- On Fri, 8/5/11, Kai-Martin Knaak  wrote:

  From: Kai-Martin Knaak 
  Subject: Re: gEDA-user: Linux Desktop für gEDA
  To: geda-u...@seul.org
  Date: Friday, August 5, 2011, 1:53 PM

Colin D Bennett wrote:
>> But Ubuntu team promice to remove this feature on next realeses...
>
> I promise if that happens, I will to switch to Debian... and from
what I
> have heard I will be joined by MANY others.
I am already there --- since 1997 :-)
It is the mother ship of distros, and the one with the largest
inventory
of applications. Depending on your needs you can choose between a
rolling
update (testing), rock solid 18 month release (stable), or bleeding
edge packages (sid). There are ways to smoothly migrate between these.
The social contract appeals to me, too.
Unless they get overly picky with license terms, I am going to stick
with Debian.
---<)kaimartin(>---
--
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax:
+49-511-762-2211
Welfengarten 1, 30167 Hannover
[1]http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist
___
geda-user mailing list
[2]geda-user@moria.seul.org
[3]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. http://www.iqo.uni-hannover.de/
   2. file://localhost/mc/compose?to=geda-user@moria.seul.org
   3. 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: Linux Desktop für gEDA

2011-08-05 Thread DJ Delorie

> How do you upgrade kernels?

Why do you think I rebooted 60 days ago?  ;-)

Mostly, though, I just update everything except the kernel.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Kai-Martin Knaak
Colin D Bennett wrote:

>> But Ubuntu team promice to remove this feature on next realeses...
> 
> I promise if that happens, I will to switch to Debian... and from what I
> have heard I will be joined by MANY others.

I am already there --- since 1997 :-)

It is the mother ship of distros, and the one with the largest inventory 
of applications. Depending on your needs you can choose between a rolling 
update (testing), rock solid 18 month release (stable), or bleeding 
edge packages (sid). There are ways to smoothly migrate between these. 
The social contract appeals to me, too.
Unless they get overly picky with license terms, I am going to stick 
with Debian.

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Layer selective DRC

2011-08-05 Thread DJ Delorie

Yup, namespaces.  Each app/module/whatever should have its own
namespace, although I'm not picky about the syntax as long as it's
consistent.

"PCB::grid-units" ""
"grid::units"

etc.

It makes sense for all of PCB's built-in ones to use PCB:: leaving
other namespaces for plugins and external apps.


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Layer selective DRC

2011-08-05 Thread Andrew Poelstra
On Fri, Aug 05, 2011 at 07:28:34PM +0200, Kai-Martin Knaak wrote:
> Kai-Martin Knaak wrote:
> 
> > Unfortunately, current git head of PCB enters an infinite loop if
> > the attribute is set correctly. The attached patch fixes this bug.
> > Now, DRC does indeed ignore the layers marked by the attribute. 
> > ( I triple checked ;-)
> 
> Well, it was working for a smallish pet project. Unfortunately, it still 
> fails in a similar way for my real project (the large one). 
> 
> As a workaround, I tried to temporarily remove all tracks from the layers
> I don't want to apply the DRC check to. But this breaks connectivity and
> DRC gets swamped by false positives.
> 
> Looks like I am running out of options...
> 
> Maybe, PCB::skip-drc can be made to work, after all. I was able to narrow 
> down the code path for the entry into the endless loop. It is a continue 
> statement in LookupLOConnectionsToPVList() in the middle of find.c . See
> below. The offending lines are marked with an exclamation mark at the start 
> of 
> the line. Anyone got an idea, what might be the correct way to skip here?
> 
> /from pcb/src/find.c
> static bool
> LookupLOConnectionsToPVList (bool AndRats)
> {
>   Cardinal layer;
>   struct pv_info info;
> 
>   /* loop over all PVs currently on list */
>   while (PVList.Location < PVList.Number)
> {
>   /* get pointer to data */
>   info.pv = *(PVLIST_ENTRY (PVList.Location));
>   EXPAND_BOUNDS (&info.pv);
> 
>   /* check pads */
>   if (setjmp (info.env) == 0)
> r_search (PCB->Data->pad_tree, (BoxType *) & info.pv, NULL,
>   LOCtoPVpad_callback, &info);
>   else
> return true;
> 
>   /* now all lines, arcs and polygons of the several layers */
>   for (layer = 0; layer < max_copper_layer; layer++)
> {
> !  if (LAYER_PTR (layer)->no_drc)
> ! continue; 
>   info.layer = layer;
> 
> ... 

Hmm, at a glance this looks okay. Can you change the loop to
dump some debug code before each continue, like, say,

if (LAYER_PTR (layer)->no_drc)
  {
fprintf (stderr, "Skip layer %d, max %d, (PVL.L %d, PVL.N %d) 
continuing...\n",
 layer, max_copper_layer, PVList.Location, PVList.Number);
continue;
  }

Then above and below the for loop add
  puts ("enter FOR");
...
  puts ("exit FOR");
and similar for the while() loop.

That should tell you a bit more about how this loop is happening.

-- 
Andrew Poelstra
Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net
Web:   http://www.wpsoftware.net/andrew/



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Philipp Klaus Krause
Am 04.08.2011 21:33, schrieb DJ Delorie:
> 
>> just log out,
> 
> Log out?  Log OUT?  What's that?  ;-)

How do you upgrade kernels?

Philipp


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Layer selective DRC

2011-08-05 Thread Sparky
Levente Kovacs  writes:

> 
> If you add the attribute
> 
> PCB::skip-drc
> 
> to a layer, that won't be checked against DRC, and commections.
> 
> Levente
> 
> On Wed, 3 Aug 2011 23:56:23 -0700
> Colin D Bennett  wrote:
> 
> > On Thu, 04 Aug 2011 01:48:09 +0200
> > Kai-Martin Knaak  wrote:
> > 
> > > Colin D Bennett wrote:
> > > 
> > > > A feature I have heard previously requested is to be able to mark
> > > > certain layers as “no-DRC”.  For instance, to allow special trace
> > > > elements such as antennas that the DRC thinks are incorrect shorts
> > > > between two nets.
> > > 
> > > These should be omited from update_rats, rather than be ignored on
> > > DRC. The DRC as it is currently implemented, does not check for
> > > correct connectivty. It does not detect a short.
> > 
> > Oh, that's right.  I forgot since I tend to consider the Optimize Rats
> > action and its feedback as a first pass of DRC, and the actual DRC
> > action as a more detailed pass... but it seems like it would be ideal
> > for a short to be detected by DRC.
> > 
> > > I think, this
> > > functionality would be best implemented with a flag
> > > "don-t-check-connectivity" added to the object. Put these antennas
> > > in a separate layer and make DRC special for this layer would still
> > > feel like a crutch.  
> > 
> > My current workaround is to actually connect the antenna input
> > directly to ground on the schematic, so that pcb does not complain
> > that the PCB trace antenna is a short.  (See attached figure from the
> > schematic.)  For this specific and simple purpose, this works well
> > enough for the moment.
> > 
> > Regards,
> > Colin
> > 
> 
> 

My outline layer has thin line widths (0.1mm) that are being compared to the
copper width by the DRC.

I keep getting the "Line width is too thin" DRC error (code is in find.c).

I downloaded the latest git code (2011-08-05) compiled it, ran it, all looks
normal, except for the above error when I do a DRC check.

For my outline layer I did the following to add the attribute:
  Edit->Edit attribute of->CurrentLayer
  Left box:  PCB::skip-drc
  Right box: 1

Am I just entering the attribute incorrectly?  Any guidance would be 
appreciated.

Thanks,
Sparky



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Layer selective DRC

2011-08-05 Thread Kai-Martin Knaak
Kai-Martin Knaak wrote:

> Unfortunately, current git head of PCB enters an infinite loop if
> the attribute is set correctly. The attached patch fixes this bug.
> Now, DRC does indeed ignore the layers marked by the attribute. 
> ( I triple checked ;-)

Well, it was working for a smallish pet project. Unfortunately, it still 
fails in a similar way for my real project (the large one). 

As a workaround, I tried to temporarily remove all tracks from the layers
I don't want to apply the DRC check to. But this breaks connectivity and
DRC gets swamped by false positives.

Looks like I am running out of options...

Maybe, PCB::skip-drc can be made to work, after all. I was able to narrow 
down the code path for the entry into the endless loop. It is a continue 
statement in LookupLOConnectionsToPVList() in the middle of find.c . See
below. The offending lines are marked with an exclamation mark at the start of 
the line. Anyone got an idea, what might be the correct way to skip here?

/from pcb/src/find.c
static bool
LookupLOConnectionsToPVList (bool AndRats)
{
  Cardinal layer;
  struct pv_info info;

  /* loop over all PVs currently on list */
  while (PVList.Location < PVList.Number)
{
  /* get pointer to data */
  info.pv = *(PVLIST_ENTRY (PVList.Location));
  EXPAND_BOUNDS (&info.pv);

  /* check pads */
  if (setjmp (info.env) == 0)
r_search (PCB->Data->pad_tree, (BoxType *) & info.pv, NULL,
  LOCtoPVpad_callback, &info);
  else
return true;

  /* now all lines, arcs and polygons of the several layers */
  for (layer = 0; layer < max_copper_layer; layer++)
{
!  if (LAYER_PTR (layer)->no_drc)
! continue; 
  info.layer = layer;
  /* add touching lines */
  if (setjmp (info.env) == 0)
r_search (LAYER_PTR (layer)->line_tree, (BoxType *) & info.pv,
  NULL, LOCtoPVline_callback, &info);
  else
return true;
  /* add touching arcs */
  if (setjmp (info.env) == 0)
r_search (LAYER_PTR (layer)->arc_tree, (BoxType *) & info.pv,
  NULL, LOCtoPVarc_callback, &info);
  else
return true;
  /* check all polygons */
  if (setjmp (info.env) == 0)
r_search (LAYER_PTR (layer)->polygon_tree, (BoxType *) & info.pv,
  NULL, LOCtoPVpoly_callback, &info);
  else
return true;
}
  /* Check for rat-lines that may intersect the PV */
  if (AndRats)
{
  if (setjmp (info.env) == 0)
r_search (PCB->Data->rat_tree, (BoxType *) & info.pv, NULL,
  LOCtoPVrat_callback, &info);
  else
return true;
}
  PVList.Location++;
}
  return false;
}
\-


 ---<)kaimartin(>---

-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread John Griessen

On 08/04/11 13:08, Markus wrote:

What desktop are you using for gEDA?


Xfce on debian unstable


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Layer selective DRC

2011-08-05 Thread Colin D Bennett
On Fri, 05 Aug 2011 04:32:58 +0200
Kai-Martin Knaak  wrote:

> Kai-Martin Knaak wrote:
> The correct syntax is:
>   Attribute("PCB::skip-drc" "1")
>...
> By the way, what is the reason for the funny attribute name 
> with two colons in the middle? The source treats it just like 
> a plain string.

Organization using namespaces?  I think that is the intention for use
of the Attribute() token.

E.g., DJ has suggested for the “new grids” to use 

Attribute("grid:..." "value")

to allow storing the grid configuration in the .pcb layout file without
breaking backward compatibility.

Regards,
Colin


___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Option to not display polygons

2011-08-05 Thread Kai-Martin Knaak
Colin D Bennett wrote:

>> Anyway, I attached a new version of the patch that contains diffs of 
>> all three files. So it should be working now.
> 
> Seems to work great! 

Well, not all is well, yet. 
PCB insists to make all layers in a group to visible if one of them is 
made current. So you can't actually do some work while part of the group 
is hidden. I'll see, if I can improve the patch.

---<)kaimartin(>---
-- 
Kai-Martin Knaak  tel: +49-511-762-2895
Universität Hannover, Inst. für Quantenoptik  fax: +49-511-762-2211 
Welfengarten 1, 30167 Hannover   http://www.iqo.uni-hannover.de
-> not happy with moderation of geda-user mailinglist



___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Layer selective DRC

2011-08-05 Thread Kai-Martin Knaak
Kai-Martin Knaak wrote:

> Just tried it and it works great :-)

I was a victim of wishfull thinking. Seems like I did not set the 
attribute successfully. As a result, the no_drc code path was not 
entered at all. I must have fooled myself with settings.


> For the archive: Syntax in the *.pcb file is: 
> Attribute("PCB" "skip-drc")

The correct syntax is:
Attribute("PCB::skip-drc" "1")
The value of the attribute is not evaluated at all. So in stead 
of "1" it could be anything.

Unfortunately, current git head of PCB enters an infinite loop if
the attribute is set correctly. The attached patch fixes this bug.
Now, DRC does indeed ignore the layers marked by the attribute. 
( I triple checked ;-)

However, there is still room for improvement:
It is impossible to start a line on copper of the marked layer if 
auto-enforce-DRC is set. The GUI behaves like there is some rule
in place that prevents connection. Probably, there needs to be 
another check for no_drc at some place in the algorithm. 

By the way, what is the reason for the funny attribute name 
with two colons in the middle? The source treats it just like 
a plain string.

---<)kaimartin(>---
-- 
Kai-Martin Knaak
Email: k...@familieknaak.de
http://pool.sks-keyservers.net:11371/pks/lookup?search=0x6C0B9F53
not happy with moderation of geda-user>From 7f19684ff639cca072600e4eda1ce5461708c506 Mon Sep 17 00:00:00 2001
From: Kai-Martin Knaak 
Date: Fri, 5 Aug 2011 04:11:40 +0200
Subject: [PATCH] fix infinite loop on skip-drc

---
 src/find.c |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/find.c b/src/find.c
index 92c8b35..380412e 100644
--- a/src/find.c
+++ b/src/find.c
@@ -1172,7 +1172,13 @@ LookupPVConnectionsToLOList (bool AndRats)
   for (layer = 0; layer < max_copper_layer; layer++)
 {
   if (LAYER_PTR (layer)->no_drc)
+{
+  LineList[layer].Location = LineList[layer].Number;
+  ArcList[layer].Location = ArcList[layer].Number;
+  PolygonList[layer].Location = PolygonList[layer].Number;
continue;
+ }
+
   /* do nothing if there are no PV's */
   if (TotalP + TotalV == 0)
 {
-- 
1.7.5.4




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user


Re: gEDA-user: Linux Desktop für gEDA

2011-08-05 Thread Kovacs Levente
On Thu, 4 Aug 2011 20:08:31 +0200
"Markus"  wrote:

> Hello,
> 
> currently I am running the actual Ubunut Version and the new Unity
> (Gnome 3.0) Desktop. But I am not very happy with the new desktop.
> I am thinking about changing to xcfe.
> 
> What desktop are you using for gEDA?
> (are the any advantages or disadvantages for KDE, Gnome or XCFE  in
> relation to gEDA?)

I use openbox without any window decorations, black background. I use the
keyboard a lot. The system is Debian 6.0. Two monitors.

At work I use Ubuntu something (I don't really care), two monitors and dumped
down XFCE.

Levente

-- 
Kovacs Levente 
Voice: +36705071002




___
geda-user mailing list
geda-user@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user