← Back to team overview

kicad-developers team mailing list archive

Re: New zoom code musings.

 


Dick Hollenbeck escreveu:

// Dick's version
static const int PcbZoomList[] = { 5, 8, 12, 18, 27, 40, 60, 90, 140, 200, 300, 450, 700, 1000, 1500, 2250, 4500, 9000, 20480 };
Try this, it is working well for me.

I would just suggest a simpler sequence, repeaed and with more rounded numbers.

Osciloscopes use the 1-2-5 sequence, that would generate a fast sequence:
5-10-20-50-100-200-500-1000

And we could have a slow sequence:
5-7-10-15-20-30-50-70-100-150-200-300-500-700-1000
possibly with 7.5-75-750 which is a multiple of 3/4

A slow power of 2 sequence gets odd:
4-6-8-12-16-22-32-etc..

Many thanks to Wayne for making this possible.

Thanks again :)

Alain







References