Re: gEDA-user: PCB+GL testing
Why do I consider your post harmful? Starting with complaining about lost data is generally a bad idea. It make developers feel bad, and a random reader of this list may get the impression that data loss is a general problem of PCB. (It is not, the latest stable snapshot of PCB is really stable -- I had only two crashes in more than 500 hours of work.) If You or anybody considered this harmful, then I'm sorry - it was NOT my idea. I simply wrote what has happened, clearly stating that I'm using experimental version. Did you use the experimental version of PCB for serious work for 3 hours without saving? I guess you have never used Word -- that users saves there thesis every 5 minutes and stores older copies for cases when opening the file there are many red crosses instead of pictures. I have really seen this some years ago. Well this is true. I haven't been using and M$ or commercial software for about 8-9 years. I get used to OOffice that can restore documents even when X server is killed. I get used to gschem that makes a lot of backups. I get used to svn, my PC with raid1 and weekly auto-backup on separate disk. I've tried opengl pcb because I was curious how would look my board in 3d and it turns out that it works faster then stable version I used before. I've almost finished the board, but then I wanted to learn new options try teardrops ect. so I started making it pretty. I did not realized that I've spend so much time fixing small mistakes, moving components to grid and doing other things like this - it was was cosmetic work, and I simply forgot about :s command. Then I finally run drc() to check the board and You know the rest. Regards, Michał Widlok PS. I generally don't use full name on any public forum. Is this information really makes any change? ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: scripts with exporters (was: Information on PCB)
On 10/23/09, Peter Clifton pc...@cam.ac.uk wrote: On Fri, 2009-10-23 at 14:51 +, Ineiev wrote: Please consider removing Settings.init_done. It wasn't added (or needed to be altered) in the patch.. so I don't think it ought to be removed - at least not in the same patch. A quick grep of the source-code suggests that it is related to the issue I pointed to in my previous reply to KMK, that the GUI isn't up yet, so can't be sent certain commands. Since it is used in only one place (rather dubiously), and that place explicitly refers to gtk_main_quit(), I suspect that it is old, possibly broken code. Perhaps we need a gui-quit() or gui-exit() method. And this is my point of view on the patch: diff --git a/src/global.h b/src/global.h index 4cf489a..7d0386c 100644 --- a/src/global.h +++ b/src/global.h @@ -663,8 +663,6 @@ typedef struct /* some resources... */ /* connections is done */ AutoPlace; /* flag which says we should force placement of the windows on startup */ - int HistorySize, /* FIXME? Used in hid/xaw code only. */ -init_done; } SettingType, *SettingTypePtr; diff --git a/src/hid/common/hidnogui.c b/src/hid/common/hidnogui.c index 4d6baa0..68c5eac 100644 --- a/src/hid/common/hidnogui.c +++ b/src/hid/common/hidnogui.c @@ -52,19 +52,16 @@ nogui_parse_arguments (int *argc, char ***argv) static void nogui_invalidate_wh (int x, int y, int width, int height, int last) { - CRASH; } static void nogui_invalidate_lr (int l, int r, int t, int b, int last) { - CRASH; } static void nogui_invalidate_all (void) { - CRASH; } static int diff --git a/src/main.c b/src/main.c index a0b38f3..00c2340 100644 --- a/src/main.c +++ b/src/main.c @@ -829,6 +829,21 @@ char *program_basename = 0; char *program_directory = 0; #include dolists.h +static void +run_initial_scripts (void) +{ + if (Settings.ScriptFilename) +{ + Message (_(Executing startup script file %s\n), + Settings.ScriptFilename); + hid_actionl (ExecuteFile, Settings.ScriptFilename, NULL); +} + if (Settings.ActionString) +{ + Message (_(Executing startup action %s\n), Settings.ActionString); + hid_parse_actions (Settings.ActionString, 0); +} +} int main (int argc, char *argv[]) @@ -968,6 +983,7 @@ main (int argc, char *argv[]) if (gui-printer || gui-exporter) { + run_initial_scripts (); gui-do_export (0); exit (0); } @@ -991,52 +1007,30 @@ main (int argc, char *argv[]) #ifdef HAVE_LIBSTROKE stroke_init (); #endif - /* - * Set this flag to zero. Then if we have a startup - * action which includes Quit(), the flag will be set - * to -1 and we can avoid ever calling gtk_main(); - */ - Settings.init_done = 0; - if (Settings.ScriptFilename) -{ - Message (_(Executing startup script file %s\n), - Settings.ScriptFilename); - hid_actionl (ExecuteFile, Settings.ScriptFilename, NULL); -} - if (Settings.ActionString) -{ - Message (_(Executing startup action %s\n), Settings.ActionString); - hid_parse_actions (Settings.ActionString, 0); -} - - if (Settings.init_done == 0) -{ - Settings.init_done = 1; #if HAVE_DBUS - pcb_dbus_setup(); + pcb_dbus_setup(); #endif - EnableAutosave (); + EnableAutosave (); #ifdef DEBUG - printf (Settings.LibraryCommandDir = \%s\\n, - Settings.LibraryCommandDir); - printf (Settings.FontPath = \%s\\n, - Settings.FontPath); - printf (Settings.ElementPath = \%s\\n, - Settings.ElementPath); - printf (Settings.LibraryPath = \%s\\n, - Settings.LibraryPath); - printf (Settings.LibraryTree = \%s\\n, - Settings.LibraryTree); + printf (Settings.LibraryCommandDir = \%s\\n, + Settings.LibraryCommandDir); + printf (Settings.FontPath = \%s\\n, + Settings.FontPath); + printf (Settings.ElementPath = \%s\\n, + Settings.ElementPath); + printf (Settings.LibraryPath = \%s\\n, + Settings.LibraryPath); + printf (Settings.LibraryTree = \%s\\n, + Settings.LibraryTree); #endif - - gui-do_export (0); + run_initial_scripts (); + gui-do_export (0); #if HAVE_DBUS - pcb_dbus_finish(); + pcb_dbus_finish(); #endif -} return (0); } diff --git a/src/misc.c b/src/misc.c index 693da81..92d7e59 100644 --- a/src/misc.c +++ b/src/misc.c @@ -879,16 +879,7 @@ QuitApplication (void) else DisableEmergencySave (); - /* - * if Settings.init_done is not 0 then we haven't even called - * gtk_main() yet so gtk_main_quit() will give an error. In - * this case just set the flag to -1 and we will exit instead - * of calling gtk_main() - */ - if (Settings.init_done 0) -exit (0); - else -Settings.init_done = -1; + exit (0); } /*
gEDA-user: .pcb question
Greetings; Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? Thanks all. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp Take an astronaut to launch. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: scripts with exporters (was: Information on PCB)
On Sun, 2009-10-25 at 09:51 +, Ineiev wrote: As for hid/common/hidnogui.c modifications, I must confess with great shame that I don't undestand why hid_invalidate_$(anything) might have reasons to abort the program when there is no GUI. It shouldn't.. those calls are just the core's way of telling the drawing code that it thinks a certain part of the screen will need re-painting (an object moved, etc..). If you are running action scripts which modify the core, these will get called. It is probably just a mistake that they call CRASH; The only marginally useful purpose I can think of - is that it enforces the fact that there must be no changes to the board whilst the exporter is running (do_export anyway). ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb question
On Sun, 2009-10-25 at 07:55 -0400, Gene Heskett wrote: Greetings; Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. No viewer.. just .pcb. Are you looking for a linux / windows version? (PCB has a windows installer available on sourceforge.net). And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? The nearest it outputs is gerber - for photoplotters. That won't be what you need to drive a mill. You need something like: https://sourceforge.net/projects/gerbertogcode/ But I've never tried it, so don't know how (well) it works. It lists as alpha on sourceforge, so might be somewhat buggy. Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb question
On Sunday 25 October 2009, Peter Clifton wrote: On Sun, 2009-10-25 at 07:55 -0400, Gene Heskett wrote: Greetings; Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. No viewer.. just .pcb. Are you looking for a linux / windows version? linux if possible, I am not a wine expert, and the only windows here are made out of real glass. :) (PCB has a windows installer available on sourceforge.net). And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? The nearest it outputs is gerber - for photoplotters. That won't be what you need to drive a mill. You need something like: https://sourceforge.net/projects/gerbertogcode/ Well, if this 'PCB' can output gerbers, I'll give the above a look. But I've never tried it, so don't know how (well) it works. It lists as alpha on sourceforge, so might be somewhat buggy. Something I might be able to contribute to if I knew gerber's code as I am moderately familiar with .ngc code. Best wishes, Peter C. Thank you very much Peter. When I have something usable, I'll report back if CRS doesn't get to me. Considering the years on the carcass here, 75, that is a possibility. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp You will have a long and boring life. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? I think there may be some misunderstanding what you are asking here. I interpret your question to be The windows program ExpressPCB has created a .pcb file. Does geda have a viewer for this file? Now I don't know anything about ExpressPCB, but it probably creates files in its own (probably proprietary) format and gives them a .pcb suffix. Geda has a program for designing boards called pcb, and it is common practice to use a .pcb suffix for files it produces in its (open) native format. It is highly unlikely that there is any reasonable similarirty between the two file formats. So if you have a design created with ExpressPCB that you want to work with, I think Peter's answer won't help you. You could instead redesign the board using geda's pcb (I can't believe I typed that) and then use Peter's suggestions. Cheers, harry ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb question
There is a python script, from the MIT Media Lab, that converts Gerber files into a format used by a Roland milling machine. The python script is at [1]http://web.media.mit.edu/~neilg/fab/dist/cam.py I am not sure if the Roland uses NGC or some other format. The commands looked a lot plotter control commands to me. I brought a couple of Gerber files to try routing a board using the milling machine. Unfortunately the CAM program they have only understands a subset of the Gerber specification, specifically the subset that Eagle outputs :( (* jcl *) -- You can't create open hardware with closed EDA tools. twitter: [2]http://twitter.com/jluciani blog:[3]http://www.luciani.org References 1. http://web.media.mit.edu/~neilg/fab/dist/cam.py 2. http://twitter.com/jluciani 3. http://www.luciani.org/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
Harry Eaton wrote: You could instead redesign the board using geda's pcb (I can't believe I typed that) and then use Peter's suggestions. You've let it go. John -- Ecosensory Austin TX ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
On Sun, 2009-10-25 at 11:25 -0400, Harry Eaton wrote: Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? I think there may be some misunderstanding what you are asking here. I interpret your question to be The windows program ExpressPCB has created a .pcb file. Does geda have a viewer for this file? Ah - looks like I misread the question. Now I don't know anything about ExpressPCB, but it probably creates files in its own (probably proprietary) format and gives them a .pcb suffix. IIRC, it is a vendor lock-in design program for their fab, so there is no way to export from it, not even gerbers. http://www.expresspcb.com/ Sorry! Like Harry said, re-designing the board in (gEDA) PCB would be the only option here, but I'm not 100% convinced about the output to mill commands anyway. Best test that bit first before investing too much time in re-designing the board! If the board's designer can take a screen-shot from express-pcb (perhaps one on each layer), you can import the screen-shot as a background to trace over in PCB. (Just a note.. the PCB+GL branch _can not_ render background images). Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
On Sunday 25 October 2009, Harry Eaton wrote: Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? I think there may be some misunderstanding what you are asking here. I interpret your question to be The windows program ExpressPCB has created a .pcb file. Does geda have a viewer for this file? Now I don't know anything about ExpressPCB, but it probably creates files in its own (probably proprietary) format and gives them a .pcb suffix. Geda has a program for designing boards called pcb, and it is common practice to use a .pcb suffix for files it produces in its (open) native format. It is highly unlikely that there is any reasonable similarirty between the two file formats. So if you have a design created with ExpressPCB that you want to work with, I think Peter's answer won't help you. You could instead redesign the board using geda's pcb (I can't believe I typed that) and then use Peter's suggestions. And what is the pcb designers cli name? I think I have all of the geda suite installed, but there is not a pcb designer in the electronics menu. Only gerbview, gshem and gattrib seem to have been installed into the menu's. F10 system here, on a quad core phenom, 4GB of ram, 2.x terrabytes of drives. . Cheers, harry ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp No matter how subtle the wizard, a knife in the shoulder blades will seriously cramp his style. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
On Sun, 2009-10-25 at 13:04 -0400, Gene Heskett wrote: And what is the pcb designers cli name? Just pcb. I think I have all of the geda suite installed, but there is not a pcb designer in the electronics menu. Only gerbview, gshem and gattrib seem to have been installed into the menu's. F10 system here, on a quad core phenom, 4GB of ram, 2.x terrabytes of drives. gEDA and PCB are technically separate projects, so it might not be installed. Try yum install pcb Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: plated mounting holes
On Fri, 2009-10-23 at 15:24 -0400, DJ Delorie wrote: You can do the same thing with an element, and probably should, as mounting holes should be treated as elements. It would have one Pin() (for the hole and inner copper) and two Pad()s (for the outer coppers). Plus whatever silk you want to identify it. Thanks for the explanation. I have added this type of mounting hole to my sfg footprint generator. (It uses a fixed minimal annular ring of 10mil for the pin, and pads on component and solder side. We may consider making the annular ring adjustable, do we need that?) http://www.ssalewski.de/SFG.html.en Here is an input file and the resulting element. Let me know if something is wrong. ste...@amd64-x2 ~/Downloads $ cat input.txt Device = Global elementdir = ./ silkwidth = 10 mil silkoffset = 10 mil textpos = upperleft textorientation = horizontal refdessize = 100 mask = 6 mil clearance = 10 mil Device = MountingHole defaultunit mm hole-scale = 100 hole-add-on = 0.1 mm description = Mounting hole 4mm, for screw with 8mm head, plated desc = Hole 4mm drill-dia = 4 pad-dia = 8 silk-dia = 0 # auto adjust Generate Hole-4mm_Head-8mm_plated.fp ste...@amd64-x2 ~/Downloads $ ruby sfg.rb input.txt ste...@amd64-x2 ~/Downloads $ cat Hole-4mm_Head-8mm_plated.fp Element[ Hole 4mm Hole-4mm_Head-8mm_plated 0 0 -17748 -24748 0 100 ] ( Pin[0 0 18142 2000 19342 16142 1 1 ] Pad[0 0 0 0 31496 2000 32696 1 1 ] Pad[0 0 0 0 31496 2000 32696 1 1 onsolder] ElementArc[0 0 17248 17248 0 360 1000] Attribute(name Hole-4mm_Head-8mm_plated) Attribute(description Mounting hole 4mm, for screw with 8mm head, plated) Attribute(desc Hole 4mm) ) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: How is netlist created?
I have what I believe to be a ready-to rock schematic. It appears that my net connections are ok, etc. Now, for the first time I have started working with gsch2pcb. When I try to add the schematic file, the status window tells me that it can't find the netlist. That's not altogether too surprising, since I don't have a .net file, only a .sch file. This makes me think that either the netlist is generated in the gschem program, or has to happen between gschem and gsch2pcb. Unfortunately, I can't seem to locate any reference to a manual/automatic creation option in gschem, leaving me with an intermediate step to create the netlist? So, how do I best proceed? -- Thank you, Barry ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: How is netlist created?
On Sun, 2009-10-25 at 13:14 -0400, Barry Demers wrote: I have what I believe to be a ready-to rock schematic. It appears that my net connections are ok, etc. Now, for the first time I have started working with gsch2pcb. When I try to add the schematic file, the status window tells me that it can't find the netlist. That's not altogether too surprising, since I don't have a .net file, only a .sch file. This makes me think that either the netlist is generated in the gschem program, or has to happen between gschem and gsch2pcb. Unfortunately, I can't seem to locate any reference to a manual/automatic creation option in gschem, leaving me with an intermediate step to create the netlist? So, how do I best proceed? -- Thank you, Barry Sorry, I can not really understand your problem. But we have two fine tutorials: http://geda.seul.org/wiki/geda:gsch2pcb_tutorial http://www.delorie.com/pcb/docs/gs/gs.html ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: Little lost with netlist and gsch2pcb
I have a schematic that I have checked using gnetlist drc2. All is ok, as I have inserted the n/c symbol that has been refered to in several posts. Not sure which backend to use to generate the netlist however. Do I use -g gsch2pcb? or -g geda? Regardless, when launching gsch2pcb, pcb also opens, along with its log. Using pcb, I load a netlist file. Pcb log says :Importing PCB netlist /home/barry/gEDA/Polly Projects/Current Shunt/[1]output.net This makes me think that the netlist is in. Then I return to gsch2pcb gui and press the update layout button, go back to the pcb log and get this: Can't add rat lines because no netlist is loaded. (Serious explitive at this point!) I am at a standstill now, because the wiki tutorial gschem-gsch2pcb-PCB Simple Example doesn't refer at all to netlists and as a result I'm not sure what's going on. Someone straighten me out? -- Thank you, Barry References 1. http://output.net/ ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Little lost with netlist and gsch2pcb
On Sun, 2009-10-25 at 15:57 -0400, Barry Demers wrote: Then I return to gsch2pcb gui and press the update layout button, OH -- you are using xgsch2pcb, the graphical tool. You did not mention this in your other posting. I can not help you with xgsch2pcb, I have only used plain gsch2pcb. And when I read the tutorials the used plain gsch2pcb too. I hope someone other can help you. One remark: After you read in the netlist into PCB, it may be necessary to press O key to optimize rastnet. Best regards Stefan Salewski ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb question
On Sunday 25 October 2009, John Luciani wrote: There is a python script, from the MIT Media Lab, that converts Gerber files into a format used by a Roland milling machine. The python script is at http://web.media.mit.edu/~neilg/fab/dist/cam.py And massaging that to output RS-274-D stuff might teach me some python, if that is doable for me. New stuff seems to be getting more difficult all the time as half my 7nth decade has rolled on by now. I am not sure if the Roland uses NGC or some other format. The commands looked a lot plotter control commands to me. Me either, but since its Roland, I'd have to assume its closed. The only Roland machines I've seen recently are a pair of graphic plastic sheet cutters, to make huge signs and such with. One of my neighbors is in that business. No idea if its close enough to English to translate easily, and since he does all the composition with a Roland supplied windows application, I have doubts he has ever actually looked at the code going down the cable. I brought a couple of Gerber files to try routing a board using the milling machine. Unfortunately the CAM program they have only understands a subset of the Gerber specification, specifically the subset that Eagle outputs :( Ouch, and my copy of eagle-lite likely doesn't even export gerbers. It will not load this file, no errors because no attempt to load it is made. :( (* jcl *) Thanks. -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp If you want to travel around the world and be invited to speak at a lot of different places, just write a Unix operating system. -- Linus Torvalds ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
On Sunday 25 October 2009, Peter Clifton wrote: On Sun, 2009-10-25 at 11:25 -0400, Harry Eaton wrote: Does geda have a .pcb file viewer, such as is output by the ExpressPCB free software for windows? I've got a small tabletop milling machine, and have been asked to do a board that is about half the size of a postage stamp. And, if so, can it convert a .pcb into a couple of .ngc's for feeding a milling machine, one for each side of the board? I think there may be some misunderstanding what you are asking here. I interpret your question to be The windows program ExpressPCB has created a .pcb file. Does geda have a viewer for this file? Ah - looks like I misread the question. Now I don't know anything about ExpressPCB, but it probably creates files in its own (probably proprietary) format and gives them a .pcb suffix. IIRC, it is a vendor lock-in design program for their fab, so there is no way to export from it, not even gerbers. http://www.expresspcb.com/ Sorry! Copy that, loud and clear. :( Like Harry said, re-designing the board in (gEDA) PCB would be the only option here, but I'm not 100% convinced about the output to mill commands anyway. Best test that bit first before investing too much time in re-designing the board! Well, I told him early this morning that he would probably be better off just having it setup about 20x up on ExpressPCB's smallest double sided board, which for a potential market of maybe 150 copies, can be done 50x faster and cheaper by the time I invest in those teeny ex$pensive carbide bits. Because my spindle is maxed at 2500 rpms, I'd have to use F speeds similar to watching the paints we had 75 years ago dry. No profit, other than the entry on the resume in taking 1 to 4 hours for each side of a board that's half a postage stamp in size IMO. And at my age, I'd do it just for the grins if the code conversions were 1/1, that is a much larger problem than the extreme prices for the bits I believe. If the board's designer can take a screen-shot from express-pcb (perhaps one on each layer), you can import the screen-shot as a background to trace over in PCB. That I can do with screen captures and gimp to trim to size from the running wine version. (Just a note.. the PCB+GL branch _can not_ render background images). Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp IN MY OPINION anyone interested in improving himself should not rule out becoming pure energy. -- Jack Handley, The New Mexican, 1988. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: plated mounting holes
On Fri, 23 Oct 2009 15:24:15 -0400, DJ Delorie wrote: Draw a smaller via (the inner layer diameter). Set your LINE width to the larger size, draw a line from the via to somewhere else. Move the other end of that new line back to the via, leaving a large round copper line on top of the via. This large round copper line would be covered with solder mask - probably not the desired behavior. Of course you can set the mask clearance of the via to the large diameter. But then you get the same clearance on the bottom side, too. ---(kaimartin) -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: .pcb viewer
On Sunday 25 October 2009, Peter Clifton wrote: On Sun, 2009-10-25 at 13:04 -0400, Gene Heskett wrote: And what is the pcb designers cli name? Just pcb. I think I have all of the geda suite installed, but there is not a pcb designer in the electronics menu. Only gerbview, gshem and gattrib seem to have been installed into the menu's. F10 system here, on a quad core phenom, 4GB of ram, 2.x terrabytes of drives. gEDA and PCB are technically separate projects, so it might not be installed. Try yum install pcb Got that, seems to work, but claims this file is an illegal format, confirming the vendor lockin (spit) of the ExpressPCB program. Best wishes, Thanks peter. I've not heard back from Roger, so maybe he is taking my advice. TBT, there is no money in doing it, it is an adapter board that allows other storage devices to be plugged into the same socket an EB-101 plugs into to put a working bluetooth serial port on a 22 year old computer. He will be lucky to recoup his expenses. Its like climbing a mountain, because its there. :-) Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) The NRA is offering FREE Associate memberships to anyone who wants them. https://www.nrahq.org/nrabonus/accept-membership.asp If I can have honesty, it's easier to overlook mistakes. -- Kirk, Space Seed, stardate 3141.9 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: How is netlist created?
On Sun, 25 Oct 2009 13:14:14 -0400, Barry Demers wrote: I have what I believe to be a ready-to rock schematic. It appears that my net connections are ok, etc. Now, for the first time I have started working with gsch2pcb. When I try to add the schematic file, the status window tells me that it can't find the netlist. ^ Do you mean xgsch2pcb ? This is a little GUI that issues calls of gschem, pcb and the command line app gsch2pcb. Although the GUI is very usable, it is still deep in beta testing phase. That's not altogether too surprising, since I don't have a .net file, only a .sch file. This makes me think that either the netlist is generated in the gschem program, or has to happen between gschem and gsch2pcb. The purpose of gsch2pcb is to generate a .net file. So, how do I best proceed? Read the tutorial: http://geda.seul.org/wiki/geda:gsch2pcb_tutorial ---(kaimartin)--- -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Information on PCB
On Fri, 23 Oct 2009 16:11:03 +0100, Peter Clifton wrote: Having had a quick read over this, it seems fine - although can I ask you to confirm that it doesn't effect any GUI hids when running action scripts? It's kind of difficult to prove no effect ;-) Seriously, how would I go about testing? Would it be sufficient to start the GUI-HIDs (are there more than two?) with n arbitrary action script and check whether the GUI starts up fine? The fact you had to remove the CRASH; line in hidnogui.c suggests that the action script is triggering attempts to redraw - so this is the kind of thing which could upset the GUI HIDs. This is certainly true for the actions I needed to perform for my print script -- set display names and display values. I'd also like to flip the board to print the bottom side. ---(kaimartin)--- -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Little lost with netlist and gsch2pcb
On Sun, 2009-10-25 at 15:57 -0400, Barry Demers wrote: I have a schematic that I have checked using gnetlist drc2. All is ok, as I have inserted the n/c symbol that has been refered to in several posts. Not sure which backend to use to generate the netlist however. Do I use -g gsch2pcb? or -g geda? Regardless, when launching gsch2pcb, pcb also opens, along with its log. Using pcb, I load a netlist file. Pcb log says :Importing PCB netlist /home/barry/gEDA/Polly Projects/Current Shunt/[1]output.net This makes me think that the netlist is in. Then I return to gsch2pcb gui and press the update layout button, go back to the pcb log and get this: Can't add rat lines because no netlist is loaded. (Serious explitive at this point!) I am at a standstill now, because the wiki tutorial gschem-gsch2pcb-PCB Simple Example doesn't refer at all to netlists and as a result I'm not sure what's going on. Someone straighten me out? Ok, I'm a little stumped as to what is going on. Can you try this test... Open a terminal window, then cd to the directory with your schematic. Start xgsch2pcb from the terminal: xgsch2pcb project_name.gsch2pcb When you hit the update layout button, are there any error messages seen on the console? (Paste the output back to me by email please). Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Information on PCB
On Sun, 2009-10-25 at 21:55 +, Kai-Martin Knaak wrote: On Fri, 23 Oct 2009 16:11:03 +0100, Peter Clifton wrote: Having had a quick read over this, it seems fine - although can I ask you to confirm that it doesn't effect any GUI hids when running action scripts? It's kind of difficult to prove no effect ;-) Seriously, how would I go about testing? Would it be sufficient to start the GUI-HIDs (are there more than two?) with n arbitrary action script and check whether the GUI starts up fine? That is one way. (GTK + Lesstif) - although the fact it doesn't crash doesn't mean it isn't possible ;) I hit a racy crash at GTK HID start-up under valgrind today (valgrind makes the start-up very slow, so you can hit them easier). Something about a key-press being received and acted upon before PCB was fully ready for it. (I've never seen the crash in normal practice, so I'm not going to go chasing for it). I think with Ineiev's modifications, it is pretty safe anyway.. since he adjusted the patch such that it only effects non GUI hids. Can you confirm that version still works as you wanted? If so, I'll commit it. Best wishes, Peter C. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: Aperture size for polygon fill
A few of the boards that I've been working on (in PCB) have generated gerber files that show errors in gerbv. The error is Undefined aperture number called out in D code. Looking at the gerber file, I can find sections that look like the following excerpt: G54D18*G54D25*G36* X3778Y10477D02*X4991Y11177D01* X5341Y10570D01* X4128Y9870D01* X3778Y10477D01* G37* This is apparently code to draw a polygon. And... In the aperture table at the top, D25 is not installed.Now, my understanding is that for filled polygons, the aperture size is not actually used-- only the actual vertices of the polygon. Is this understanding correct? If it is, then I *should* be able to go into the file and (1) remove every G54D25* OR (2) go into the file and define a D25 at the top like %ADD25C,0.1000*% as a fix. Or perhaps, someone can correct my assumptions here. :) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user