Mail Archives: geda-user/2018/02/05/07:20:49
Hello,
PCB appears to have a small bug with sizes and steps, at least when
opening files with metric sizes. Here's how to reproduce it:
- Save a .pcb file with e.g. a 0.1 mm grid setting, and quit PCB.
- Start PCB, and open the file.
- Grid is correctly set at 0.1 mm, units are correctly set to mm as well.
- Press G to increase grid according to step size as defined in File ->
Preferences -> Steps for the units used (0.05 mm in my case)
- Grid does NOT increase to 0.15 mm as expected, but to 0.2270 mm - so
the imperial step setting is used.
(The same happens with other steps, e.g. line widths -- which actually
is more annoying, because I sometimes only notice that I'm using the
wrong line width after several minutes' work.)
- Fix: choose View -> Grid Size -> 0.1 mm, and from then on, G (and
Shift+G, and L etcetera) behave as expected.
So after start-up, imperial step sizes are used, even if the file
explicitly specifies metric sizes. This is somewhat annoying because one
always has to explicitly set the grid size via the View menu before
doing anything.
Also, it appears that the Route Styles option "Save as Default" for new
designs does not work(*). PCB always starts with the same (imperial)
Route Styles and default sizes.
This latter is not so much of a problem any more, because I created a
script 'pcbcreate' which takes a project name, and then copies PCB,
gschem and BOM template files to the project directory, with several
attributes already set correctly.
*: This has been mentioned here before, IIRC
Anyway, it's not really a big deal, just a small bug...
Best regards,
Richard
- Raw text -