Re: gEDA-user: Layer selective DRC
On Sat, Aug 06, 2011 at 11:16:11PM +0200, Kai-Martin Knaak wrote: > Andrew Poelstra wrote: > > > Kai, just for fun, you might want to try with the nanometers > > branch: > > > > git clone git://wpsoftware.net/pcb-andrew.git > > I did and it compiled right away. > > > > checkout branch coord5. > > Initially, the crosshair snapped to about four positions on the canvas. > After I tried the unit button and grid settings, the cross hair stuck > to the edge of the canvas. > I'm not sure how much of this is crosshair trouble, and how much is the pcb being the wrong size. But with lesstif things are a fair bit better. > > > If you don't want the actual conversion, > > checkout coord5^. > > The coord5 binary presented a working crosshair. > Large text in silk renders funny with this version. See attachment. > Cool. Looks like an overflow. > > > It has a fairly cleaned-up find.c that should > > behave the same way, but be a little easier to trace. > > The procedures with no_drc look unchanged. I still don't see a way > to make this work. I give up and write a bug report. > :( -- 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: Wedana milestone reached
On 08/06/11 14:24, Павел Таранов wrote: When I entered a pos number, the symbol view is off screen. neg number had > no effect... > > Position (inc): 0:0 > > Seems it is not obvious, but after you change value in position, press "Draw" button. The result when I do that is the symbol moves to the left for Position (inc): 4:2 and is off screen for 5:2 or 4:3 John ___ 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
Hello all: El 05/08/11 21:35, yamazakir2 escribió: Do you guys use your linux box for general desktop usage or only EDA? From 2002 to today, only Linux box. Between 1998/99 to 2001, a dual boot system, mostly in Linux. At first, I use Suse but fast change to Debian, actually in Sid. When switch to PowerPC architecture on 2005, I give a try to Mac OS X but I found that free apps are not so easy to stay update and delete Mac OS. In PowerPC, we have to suffer the lack of flash (gnash is not at option, for videos I use minitube and Get_flash_videos) and the poor support of video card that maintain far from 3D gamming, but Wesnoth is so good. In work, I installed a Debian Stable server three years ago for general use. Is used for all (Kde and Gnome desktop), over ten or eleven users, in a thin client network (we use Tcos project [0], the best option for thin clients at my opinion and experience). Actually, all users are happy with the os and desktop. Only use a W2k3, running in a virtual machine with Xen, over a terminal server session for technical apps (we work on refrigeration, there are no options in free world, althoug several of this can run in wine) and Autocad (sigh). For the initial question, I use Kde 4.6 on Debian Sid: Konsole is *the* application, and konqueror have the advantage of having a tab with file directories, other tab with web, other tab with pdf... Only my point of view. Best regards. Salud y Revolución. Lobo. [0] http://www.tcosproject.org -- Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux, para no atar mis manos con las cadenas del soft propietario. - Desde El Ejido, en Almería, usuario registrado Linux #294013 http://www.counter.li.org ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Wedana milestone reached
On 8/6/11 10:25 AM, Kai-Martin Knaak wrote: Very nice! Just clicked through the demoes. I found no obvious glitches with the geda symbols. Are you planning to pan and zoom? In a way, the symbol browser demo is already better than the original gschem: You can edit the source and see the results after a single mouse click. Yes, nice work! I still (strongly) believe that schematic design in a web browser is a collosally bad idea, but as an *accessory* this is really very nicely done. I can imagine gedasymbols using wedana. I was thinking the same thing. -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: Wedana milestone reached
2011/8/6 John Griessen : > On 08/06/11 08:54, Павел Таранов wrote: > >> 3. Trac plugin introduced. See demo >> http://demo.wedana.org/night_builds/trac >> 4. We have own domain now: http://www.wedana.org launched. Also >> http://demo.wedana.org available. > > Looks good. I could not figure how to use the origin input to > get a symbol view off the lower left corner... > > > ?When I entered a pos number, the symbol view is off screen. neg number had > no effect... > > Position (inc): 0:0 > > Seems it is not obvious, but after you change value in position, press "Draw" button. This position would be centered in the current view. We will make this more intuitive in the future. > John > > > > > ___ > 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: Wedana milestone reached
2011/8/6 Kai-Martin Knaak : > Павел Таранов wrote: > >> 4. We have own domain now: http://www.wedana.org launched. > > You may want to change "dial" to "deal" in the first sentense of the > wellcome page. > Fixed, thank you. > >> Also http://demo.vedana.org available. > ^ > this should be a "w" > > Sure :) > Very nice! Just clicked through the demoes. I found no obvious glitches > with the geda symbols. Are you planning to pan and zoom? Symbols demo just now have no zoom. But library supports different zoomlevels, there are Zoom* buttons on http://demo.wedana.org/night_builds/demo1_on_page_sym_view/ Zoom implemented in vector form (canvas redrown on zoomlevel changed), not just canvas scaling, b\c it make scheme blured and unreadable. Also canvas coud be moved with mouse, just drag it. Wedana canvas supports only positive values on coordinate grid. Left-bottom is 0:0. We have no object rotation support now, it is the issue for editing stage. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Wedana milestone reached
On 08/06/11 08:54, Павел Таранов wrote: 3. Trac plugin introduced. See demo http://demo.wedana.org/night_builds/trac 4. We have own domain now: http://www.wedana.org launched. Also http://demo.wedana.org available. Looks good. I could not figure how to use the origin input to get a symbol view off the lower left corner... ?When I entered a pos number, the symbol view is off screen. neg number had no effect... Position (inc): 0:0 John ___ 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
On 08/05/11 14:35, yamazakir2 wrote: Do you guys use your linux box for general desktop usage or only EDA? Both. Email is via Mozilla thunderbird, which seems to handle cross platform things well. I still don't have a player for .wmv video working though. Using Firefox with the latest flash plugin gives you youtube and vimeo movie formats, and sound is working more ways with less hangups and with less configuring than several years ago. Open office is working well enough to communicate with a few windows users without too much loss. If you needed to communicate quickly with a team of windows users, it might pay to use a vmware windows install on linux to access documents quickly without changing them any so they can be used for updates. I was liking a few KDE apps, like kword, but KDE got so invasive and took up so much disk space, I stopped using it. My linux install, with lots of engineering project data takes up close to 17GB, and I have stacks of cheap 20GB 80pin SCSI drives I back up to, so I don't want to let it expand any further for a couple of years... then maybe backups on servers will be the thing to do. ___ 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
Kai, just for fun, you might want to try with the nanometers branch: git clone git://wpsoftware.net/pcb-andrew.git checkout branch coord5. If you don't want the actual conversion, checkout coord5^. It has a fairly cleaned-up find.c that should behave the same way, but be a little easier to trace. A quick status update: I am working on bug 699640. It is fixed in gtk but not lesstif on my laptop. When I finish that I'll do some quick tests and post an excited "nanometers conversion done please test so I can push !!!" post. I am busy this weekend, so probably early next week. You can run git log coord5 --not master to see the specific commits I've been doing over the last month or so. -- 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: Layer selective DRC
On Sat, Aug 06, 2011 at 05:23:59PM +0200, Kai-Martin Knaak wrote: > > The continue statement completely messes the DRC check. I get more > violations with PCB::skip-drc than without. Seems like the if-statements > have some side effect that should not be skipped. What does the r_search > line actually do? > > The comment in rtree.h says, this function returns true if something > is found in a region given by the parameters. But in the context of > find.c the result of the r_search() does not seem to be used: > > 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; > > Does r_search() change any aspect of the parameters it gets? r_search does not, directly. But if it finds something, it calls LOCtoPVline_callback, which might. It definitely modifies global state. Probably there is a counter or something. Everything is hidden behind macros. I had a similar bug in cleaning up LineLineIntersect. It changed the number of DRC errors on my stereo bike from 10 to ~50. In the end I did not understand the bug or how it worked -- I only found the place where I had changed the code's behavior accidentally. > What is the logic behind the if statement? That is, what is it supposed > to mean if inf.env does equal zero or contains some other value? > > Sorry for being such a programming noob. My hacking skills are pretty > under developed. > I really wish we were not using setjmp/longjmp. They are essentially global goto statements -- setjmp stores the stack frame and instruction pointer ("environment") in the given variable, and longjmp restores it. setjmp returns zero when you first call it. But when restoring the stack frame, it returns 1, so that we don't get an infinite loop. They make even experienced programmers very nervous. -- 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
On 08/05/2011 03: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've been free from Micro$oft for 11 years. -- Darryl Gibson N2DIY Linux, free software, for the people, by the people. ___ 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
Andrew Poelstra wrote: > 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; > } (..snip..) Thanks. I did a bit of experimenting along these lines. This is what I observe if PCB:skip-drc is in effect: * The loop is not infinite, just very long. After about 15 minutes the DRC dialog comes up with literally thousends of violations. This happens, even if design rules allow for distances that are much smaller than in the actual design. * The more populated a layer is, the more false positives I get if PCPCB:skip-drc is set for this layer. * If I set PCB:skip-drc in the first layer, the value of the layer variable reported by the printf above is "0". That is, the value is one off compared to the numbers seen from the GUI. Is this ok? The continue statement completely messes the DRC check. I get more violations with PCB::skip-drc than without. Seems like the if-statements have some side effect that should not be skipped. What does the r_search line actually do? The comment in rtree.h says, this function returns true if something is found in a region given by the parameters. But in the context of find.c the result of the r_search() does not seem to be used: 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; Does r_search() change any aspect of the parameters it gets? What is the logic behind the if statement? That is, what is it supposed to mean if inf.env does equal zero or contains some other value? Sorry for being such a programming noob. My hacking skills are pretty under developed. ---<)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 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Wedana milestone reached
Павел Таранов wrote: > 4. We have own domain now: http://www.wedana.org launched. You may want to change "dial" to "deal" in the first sentense of the wellcome page. > Also http://demo.vedana.org available. ^ this should be a "w" Very nice! Just clicked through the demoes. I found no obvious glitches with the geda symbols. Are you planning to pan and zoom? In a way, the symbol browser demo is already better than the original gschem: You can edit the source and see the results after a single mouse click. I can imagine gedasymbols using wedana. ---<)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 ___ 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
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. > UNIX for desktop, EDA, programming, server. Mostly Linux, most often Debian testing. As for the earlier question in this thread, my WM is a PIDwm (a modified version of dwm), but i spend >95% of my time on 80x25 VGA console anyway. Back a while I tried to really use windows once. It lasted for like 3 weeks. I was trying hard, and tried to convince myself that what I experience is only the learning curve and it will get better by time, but the more I learned, the worse it became, so after that brief period I replaced it with my first Debian-for-desktop-use-attempt. I was switching away from DOS ('90s), and before that period I believed Linux distros were good for server use and if I wanted to do cad work and web browsing and things like that, windows would be better. Ever since, I sometimes peek over the shoulders of windows users around, and I what I see is that things I hated in those 3 weeks got advanced and more dominant and things I missed are still missing or misimplemented. Meanwhile I also got used to actually modify software I use for so many years that I never give a try to non-free software anymore, because I hate to figure out after a few days that I can't fix something in it, due to legal/technical restrictions. Regards, Tibor ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: Wedana milestone reached
I want to announce that today was closed last defect in current milestone of the Wedana project. Whats new at current point: 1. Main feature is Viewport object. This object allow reduce resource usage and introduce user events which could be used by developer. 2. API and user documentation availiable on project Trac wiki (https://sourceforge.net/apps/trac/wedana/wiki/DevelopersDocumentation). 3. Trac plugin introduced. See demo http://demo.wedana.org/night_builds/trac 4. We have own domain now: http://www.wedana.org launched. Also http://demo.vedana.org available. 5. Night build available on SF FRS http://sourceforge.net/projects/wedana/files/night_build/ List of closed defects here: https://sourceforge.net/apps/trac/wedana/query?status=closed&group=resolution&milestone=schema_viewer_optimization The nearest plans are the following: * create testing procedure to improve code quality. * implementing editing features. * PCB file format parser and renderer. After this, project would have two versions: bug-fix 0.2.x and feature-add 0.3.x Any suggestions, participation or thoughts are welcome :) If you have any notes, fill free to mail me. Regards, Pavlo Taranov ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user