Re: gEDA-user: gschem saving symbols

2011-06-16 Thread Ethan Swint

On 06/15/2011 10:10 PM, Kai-Martin Knaak wrote:

Josh Jordan wrote:


What I am trying to do is save symbols that were modified in the
schematic.  For instance, making a schematic and add a generic
capacitor.  Then add a value, footprint, partnumber and documentation.

This does not change the symbol but adds attributes to the instance
in the schematic.

If I want to change a generic symbol I'd:

1) copy and rename the symbol to some other place with some
external tool like the bash shell, or a file browser.


snip

4) save and quit.


Alternatively:

1) copy and rename the generic symbol to some other place.

snip

7) save [fs]

If you have symbols that are already modified with a bit of work behind 
them, locate them in the *.sch file with a text editor (search for 
refdes or description) and copy the symbol definitions to an empty 
file.  This may not work in some instances, e.g. you may need to choose 
'embed symbols' to get the full symbol definition in the sch file.


-Ethan


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


Re: gEDA-user: help request: gnetlist not reading scm files

2011-06-16 Thread Peter Brett
Ethan Swint eswint.r...@verizon.net
writes:

 On 06/14/2011 05:27 PM, Stefan Salewski wrote:
 Guess: try bom2 as advertised from
 gnetlist -g help

 If that does not help, then we have to wait for a reply from smart
 people. I have no idea about the meaning of the error messages...
 Doh!  caPitaliZation matters.  The correct backend is bom2, not BOM2.
 Thanks!

Just to note: unstable branch gnetlist gives more informative messages
here:

  $ gnetlist -gFOOBAR gschem/examples/drawing_primitives.sch
  ERROR: Could not find backend `FOOBAR' in load path.

  Run `gnetlist --list-backends' for a full list of available backends.

Cheers,

 Peter

-- 
Peter Brett pe...@peter-b.co.uk
Remote Sensing Research Group
Surrey Space Centre



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


gEDA-user: Bug in PCB's Gerber generation?

2011-06-16 Thread Gabriel Paubert
Hi Andrew,

I just pulled PCB from git head and I have trouble with arcs in Gerber
output. I strongly suspect the latest commit: layers which do not
have arcs appear fine in gerbv, but automatic zooming layers which 
contain arcs zoom out and give coordinates in the range of several
meters (with the screen staying lack). Also my outline has a single
arc in one corner and this is precisely this segment which is missing.

I can not prepare a test case right now but will tomorrow (it's almost
9 pm here), if you've not beat me to fix it before.

Regards,
Gabriel


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


Re: gEDA-user: OT: help needed; asymmetric load after rectifier seems to disrupt its working.

2011-06-16 Thread DJ Delorie

When you put two capacitors in series, there's no way to know what the
voltage between them will be.  You have three with a common central
connection Vx.  V1 acts to charge the node, the loads act to discharge
it, so an unequal load means unequal discharging and thus nonzero
average node voltage.

Since D1 and D2 may have different average currents through them, Vx
will adjust until the average current through R2 is the same as the
net current throuth the two diodes.

Can you split the filter into two filters, one for each load?  or at
least move C1 to the Vx side of the filter, and split it into two
capacitors?


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


Re: gEDA-user: Please test updates to auto-uref.scm

2011-06-16 Thread Kai-Martin Knaak
Krzysztof Kościuszkiewicz wrote:


 Script requires recent modifications to libgeda, so test with git HEAD.

Done. It works nicely!


 Comments  ideas welcome.

Please add this to the system-gschemrc:

/--
;; Define value of page-offset for auto number on insert.
;; Refdeses will be numbered from integer multiples of page-offset,
;; depending on the lowest refdes value found on the page.
;; If lowest value is 323 and page offset is 100, then next refdes
;; will be 301.
;; Setting to 0 disables the feature.

(define auto-uref-page-offset 100)
\-

---)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
GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get



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


gEDA-user: first time

2011-06-16 Thread kqt4at5v

I just launched gschem for the first time so go easy
I am duplicating a schematic just for practice
I selected inductor-1.sym from Basic Devices and noticed it has no footprint
Where do I find the footprint to add to this device

Richard



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


Re: gEDA-user: first time

2011-06-16 Thread DJ Delorie

 Where do I find the footprint to add to this device

First, pick an inductor, like from digikey or mouser.  Then see if PCB
has a matching footprint for it, else create your own.

Inductors come in a LOT of package shapes and sizes.


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


Re: gEDA-user: OT: help needed; asymmetric load after rectifier seems to disrupt its working.

2011-06-16 Thread John Griessen

On 06/16/2011 01:30 PM, myken wrote:

see Rectifier_sim.jpeg)
Everything works fine if LOAD_1 and LOAD_2 are equal.


Lose C1. Lose R1. Add L2 feeding D1.
Separate D1 D2.
Add some rc filter R between
D2, C2.  Or try moving L1 between D2, C2

John


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


Re: gEDA-user: OT: help needed; asymmetric load after rectifier seems to disrupt its working.

2011-06-16 Thread myken

Thanks DJ,

I had the same thought that Vx was floating somewhere unwanted, that's 
why I added the resistor (which didn't work).
Gazing at this problem for a couple of days make me miss the obvious, 
just split the filter. Brilliant.

I'll give it a try.

Robert.

On 16/06/11 20:48, DJ Delorie wrote:

When you put two capacitors in series, there's no way to know what the
voltage between them will be.  You have three with a common central
connection Vx.  V1 acts to charge the node, the loads act to discharge
it, so an unequal load means unequal discharging and thus nonzero
average node voltage.

Since D1 and D2 may have different average currents through them, Vx
will adjust until the average current through R2 is the same as the
net current throuth the two diodes.

Can you split the filter into two filters, one for each load?  or at
least move C1 to the Vx side of the filter, and split it into two
capacitors?


___
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: gschem saving symbols

2011-06-16 Thread Josh Jordan
I could implement a save-symbol-as capability.  Can anyone familiar
with gschem code outline a 'right' way to this?  Should I add another
option to Hierarchy down modified symbol and change the other to
down original symbol?  Or would it be better to add a 'save symbol
as' function to the right-click menu that operates on selected objects?
 Should I try not to change libgeda?
Thanks,
Josh Jordan
--- On Thu, 6/16/11, Ethan Swint eswint.r...@verizon.net wrote:

  From: Ethan Swint eswint.r...@verizon.net
  Subject: Re: gEDA-user: gschem saving symbols
  To: k...@lilalaser.de, gEDA user mailing list
  geda-user@moria.seul.org
  Date: Thursday, June 16, 2011, 8:33 AM

On 06/15/2011 10:10 PM, Kai-Martin Knaak wrote:
 Josh Jordan wrote:

 What I am trying to do is save symbols that were modified in the
 schematic.  For instance, making a schematic and add a generic
 capacitor.  Then add a value, footprint, partnumber and
documentation.
 This does not change the symbol but adds attributes to the instance
 in the schematic.

 If I want to change a generic symbol I'd:

 1) copy and rename the symbol to some other place with some
 external tool like the bash shell, or a file browser.

snip
 4) save and quit.


 Alternatively:

 1) copy and rename the generic symbol to some other place.
snip
 7) save [fs]

If you have symbols that are already modified with a bit of work behind
them, locate them in the *.sch file with a text editor (search for
refdes or description) and copy the symbol definitions to an empty
file.  This may not work in some instances, e.g. you may need to choose
'embed symbols' to get the full symbol definition in the sch file.
-Ethan
___
geda-user mailing list
[1]geda-user@moria.seul.org
[2]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. file://localhost/mc/compose?to=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: gschem saving symbols

2011-06-16 Thread Colin D Bennett
On Thu, 16 Jun 2011 20:55:57 -0700 (PDT)
Josh Jordan outerspacema...@yahoo.com wrote:

 I could implement a save-symbol-as capability.  Can anyone familiar
 with gschem code outline a 'right' way to this?  Should I add another
 option to Hierarchy down modified symbol and change the other to
 down original symbol?  Or would it be better to add a 'save symbol
 as' function to the right-click menu that operates on selected
 objects?  Should I try not to change libgeda? Thanks,Josh Jordan

Maybe it is useful to make the distinction between a _symbol_, and the
_instance_ of that symbol in your schematic to which you have attached
new attributes.  (I think these are the terms I've heard the gschem
devs use...)

Then you could have a “Save Symbol Instance As...” to create a new
symbol file on disk containing the original symbol with your
modifications applied.

Regards,
Colin


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


Re: gEDA-user: gschem saving symbols

2011-06-16 Thread Steven Michalske





On Jun 16, 2011, at 9:37 PM, Colin D Bennett co...@gibibit.com wrote:

 On Thu, 16 Jun 2011 20:55:57 -0700 (PDT)
 Josh Jordan outerspacema...@yahoo.com wrote:
 
 I could implement a save-symbol-as capability.  Can anyone familiar
 with gschem code outline a 'right' way to this?  Should I add another
 option to Hierarchy down modified symbol and change the other to
 down original symbol?  Or would it be better to add a 'save symbol
 as' function to the right-click menu that operates on selected
 objects?  Should I try not to change libgeda? Thanks,Josh Jordan
 
 Maybe it is useful to make the distinction between a _symbol_, and the
 _instance_ of that symbol in your schematic to which you have attached
 new attributes.  (I think these are the terms I've heard the gschem
 devs use...)
 
 Then you could have a “Save Symbol Instance As...” to create a new
 symbol file on disk containing the original symbol with your
 modifications applied.
 
+1

 Regards,
 Colin
 
 
 ___
 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: gschem saving symbols

2011-06-16 Thread Josh Jordan
The plan is to add a 'Save symbol instance as...' to the right-click
menu.  It will open the file chooser in the directory of the original
symbol and load file name from device attribute.
Saving a schematic uses f_save in libgeda, I am adding a f_save_symbol.
 First I loop selected objects stopping at the first complex obj.  Then
get the text of the symbol with o_save_objects(toplevel,
s_object-complex-prim_objs, 0);
This returns almost the text needed to create the symbol file.  The
position of all the objects in the symbol are big numbers for the
position they had in the schematic.  Is there a reason to make these
numbers small near the origin like in the original symbol file?
-Josh Jordan
--- On Fri, 6/17/11, Steven Michalske smichal...@gmail.com wrote:

  From: Steven Michalske smichal...@gmail.com
  Subject: Re: gEDA-user: gschem saving symbols
  To: gEDA user mailing list geda-user@moria.seul.org
  Date: Friday, June 17, 2011, 12:48 AM

On Jun 16, 2011, at 9:37 PM, Colin D Bennett [1]co...@gibibit.com
wrote:
 On Thu, 16 Jun 2011 20:55:57 -0700 (PDT)
 Josh Jordan [2]outerspacema...@yahoo.com wrote:

 I could implement a save-symbol-as capability.  Can anyone familiar
 with gschem code outline a 'right' way to this?  Should I add
another
 option to Hierarchy down modified symbol and change the other to
 down original symbol?  Or would it be better to add a 'save symbol
 as' function to the right-click menu that operates on selected
 objects?  Should I try not to change libgeda? Thanks,Josh Jordan

 Maybe it is useful to make the distinction between a _symbol_, and
the
 _instance_ of that symbol in your schematic to which you have
attached
 new attributes.  (I think these are the terms I've heard the gschem
 devs use...)

 Then you could have a �Save Symbol Instance As...� to create a new
 symbol file on disk containing the original symbol with your
 modifications applied.

+1
 Regards,
 Colin


 ___
 geda-user mailing list
 [3]geda-user@moria.seul.org
 [4]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
___
geda-user mailing list
[5]geda-user@moria.seul.org
[6]http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

References

   1. file://localhost/mc/compose?to=co...@gibibit.com
   2. file://localhost/mc/compose?to=outerspacema...@yahoo.com
   3. file://localhost/mc/compose?to=geda-user@moria.seul.org
   4. http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
   5. file://localhost/mc/compose?to=geda-user@moria.seul.org
   6. 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