gEDA-dev: Attrib autoplacing [was Re: Release plans?]
Carlos Nieves Ónega
cnieves.mail at gmail.com
Thu Jul 26 11:37:10 EDT 2007
El mié, 25-07-2007 a las 13:05 +0100, Peter Clifton escribió:
> On Wed, 2007-07-25 at 12:51 +0200, Carlos Nieves Ónega wrote:
> > Currently attribute autoplacement is disabled by default.
> > Any chance to set its default state to active?
> >
> > Did anyone tried it?
>
> I've taken a quick look just now. It doesn't seem to harm things, but I
> don't think its placing pinlabel correctly on my pins though.
>
> For a pin I drew on the RHS of a component, it puts the pin label to the
> RHS of that, rather than inside the component.
Pin attributes autoplacing was enabled by default some [long] time ago.
I meant this particular section of system-gschemrc:
; Autoplace component/net/buses text attributes hook.
; Comment in these if you want the component attributes to be
; automatically placed.
; There are different hooks for situations like adding a new pin,
rotating
; or mirroring an existing one, adding a new attribute or a new
component.
; The #t at the end means that function is appended to the end of the
hook.
;(add-hook! add-component-object-hook (lambda (object)
; (autoplace-object-attributes object)) #t)
;(add-hook! rotate-component-object-hook (lambda (object)
; (autoplace-object-attributes object)) #t)
;(add-hook! mirror-component-object-hook (lambda (object)
; (autoplace-object-attributes object)) #t)
;(add-hook! add-attribute-hook (lambda (object)
; (autoplace-object-attributes object)) #t)
;(add-hook! complex-place-list-changed-hook (lambda (object)
; (autoplace-object-attributes object)) #t)
So I'd want to raise two questions:
- should they be enabled by default?
- can we agree on a default place for device, refdes, value and
netname attributes? (currently those are the only ones defined on
gschem/scheme/default-attrib-positions.scm).
Thanks,
Carlos
More information about the geda-dev
mailing list