[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA-user: centroid data generated by pcb-20050315
> What's the difference between median and bounds?
In both cases, sort pins by X or Y. Median: the coordinate is the
average of the two MIDDLE pins in the list. Bounds: the coordinate is
the average of the two OUTER pins.
Median tends to effectively ignore the odd out-in-left-field pins, but
gets three-pin devices wrong most of the time if you're not careful
with the logic. I wouldn't expect it to be as useful as bounds.
> Screaming Circuits told me something to the effect that most CAD
> software generates center of the part,
Yeah, but center HOW of the part? Center of the physical bounds of
the part? Center of the footprint? Center of the copper? Center of
the silk? Center of mass?