[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Automatic repositioning to attributes



Em Qui, 2006-10-19 Ãs 20:00 +0200, Carlos Nieves Ãnega escreveu:
> 
> >From your comment, I guess the refdes attribute position depends on
> the
> type of the symbol: if it's a resistor or a capacitor then you want it
> at one place, but if it's an IC, then you put it at another place. Am
> I
> right?. This is not currently possible, but I think it could be done.
> 
> I'd really appreciate if you could give this new feature a try and let
> me know what points can be improved.
> 
> Thanks,
> 
> Carlos
> 
> 

Yes, depends on the type. But I made some adjustments to the table:

     ; Component attributes
     ;   One direction
     ("refdes"    "<"         -25       25  "Middle Left"    "Lower
Right"    0
     ("value"     "<"         -25      -25  "Middle Left"    "Upper
Right"    0
     ("refdes"    ">"          25       25  "Middle Right"   "Lower
Left"     0
     ("value"     ">"          25      -25  "Middle Right"   "Upper
Left"     0
     ("refdes"    "v"           0      -25  "Lower Middle"   "Upper
Middle"   0
     ("value"     "v"           0     -100  "Lower Middle"   "Upper
Middle"   0
     ("refdes"    "^"           0       25  "Upper Middle"   "Lower
Middle"   0
     ("value"     "^"           0      100  "Upper Middle"   "Lower
Middle"   0
     ;   Two directions
     ("refdes"    "<>"         0        25  "Upper Middle"  "Lower
Middle"   0)
     ("value"     "<>"         0       -25  "Lower Middle"  "Upper
Middle"
     ("refdes"    "^v"        25        50  "Middle Right"   "Lower
Left"    0)
     ("value"     "^v"        25       -50  "Middle Right"   "Upper
Left"    0)
     ;   Three directions
     ("refdes"    "<^v"       -25       50  "Middle Left"   "Lower
Right"    0)
     ("value"     "<^v"       -25      -50  "Middle Left"   "Upper
Right"    0)
     ("refdes"    ">^v"        25       50  "Middle Right"  "Lower Left"
0)
     ("value"     ">^v"        25      -50  "Middle Right"  "Upper Left"
0)
     ("refdes"    "<>v"       -50      -50  "Lower Middle"  "Upper
Right"    0)
     ("value"     "<>v"        50      -50  "Lower Middle"  "Upper Left"
0)
     ("refdes"    "<>^"       -50       50  "Upper Middle"  "Lower
Right"    0)
     ("value"     "<>^"        50       50  "Upper Middle"  "Lower Left"
0)
     ;   Four directions
     ;("refdes"    "<>^v"      300       50  "Upper Left"    "Lower
Left"     0)
     ;("value"     "<>^v"     -300       50  "Upper Right"   "Lower
Right"    0)
     ))


So, the result is great! Congratulations for the routines.

Many anchors had been modified, and I think the 25 mils must be 50 to
original gEDA symbols. In our case 25 is better, because our symbols are
smaller

Now, I don't need to create a resistor in vertical and another in
horizontal position. And this is so good.

Just some symbols are a litle confused, is the case of IC with pin in
all directions.

A Flip-flop IC is a good example, J and K pins in by its left side, Q /Q
out by its Right side, and SET up and CLR down.
Or a OpAmp, with offset pins, compensations etc.

I think is better to don't use autoplace routine, because in some cases
the attribs will be in front of some pins.
Then, I just commented the Four directions lines, and autoplace routine
does not run.

I will continue my tests, Ok?
Thank you,

Antonio



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