X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com To: geda-user AT delorie DOT com From: "Richard Rasker (rasker AT linetec DOT nl) [via geda-user AT delorie DOT com]" Subject: [geda-user] Bug: PCB step quirks Message-ID: <6b863c7b-8139-d738-dd3c-af47ade1ce19@linetec.nl> Date: Mon, 5 Feb 2018 13:19:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Reply-To: geda-user AT delorie DOT com 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