Pcbnew 5.99 grids

Hello,

Just a quick request plz, can you put back “Grid: 0.0635mm”

thank you.

A quick calculation tells me that is 2.500 mils. I use 5.99 but I would have nothing to do with implementing or deciding not to implement your request. However I wonder why you particularly like that grid setting? Or is it just one which you have come to rely on out of habit?

1 Like

I used it in 5.x, simpler that you have thought, I presume…

Open pcbnew.json in your config dir, find window > grid > sizes, insert “0.635 mm” in the list

2 Likes

It seems all the predefined grids in inches of v5.1 have been multiplied by 10 in v5.99.

I usually work in mm but sometimes I switch to inches. I do not see very useful a one inch=1000 mils grid. In my opinion a 100 mils grid is enough.

Anyway, it is a matter of taste.

I tried adding to the list C:\Users\xxx\AppData\Roaming\kicad\5.99\pcbnew.json, but the change doesn’t appear in the list of grids as running pcbnew the file is modified and the new sizes disappear.

Let me look in to that…

Thanks for pointing out the location that folder. I was looking for it.

I am using 5.99 and I experimentally added 0.02 mm and 2.5 mil to the list. Then launched KiCad pcbnew and did not see either of my entries in the context menu. NOTE: See my screem shot. While the list in the text file says “mils” for the inch measurements, the context menu uses decimal inches. This suggests to me that I edited the wrong thing…

It does not work. See https://gitlab.com/kicad/code/kicad/-/issues/7595

The unit used for the imperial measures in the menu is determined by if you are in the mils or inches unit mode on the canvas (or if you are in mm, then which one was the last imperial unit selected). We have changed this in 5.99 so mils are a standalone unit from inches.

Thanks. This is all kind of confusing to me, but I am not a software person and my fully understanding it is not critical. I had assumed that if the text file called the units “garks” then that might show up in the grid selection context menu; except for the fact that KiCad is also doing some units conversion somehow.

Another thing I wondered:

If it mattered whether the xxx was (my name) or (Default) or (Default User) or (Public) or (All Users)

another thing that came to my mind, why keep/add 0.0508mm and drop 0.0635mm after all :confused:

2 Likes

I assume the issue is resolved, tried the latest MSVC builds, I can now add grids.

thank you

All them grid sizes have been a (minor) nuisance for me, so this thread prompted me to try to shorten the list to:

  "window": {
    "cursor": {
      "always_show_cursor": true,
      "fullscreen_cursor": true
    },
    "display": 1,
    "footprint_text_shown_columns": "0 1 2 3 4 5 6",
    "grid": {
      "axes_enabled": false,
      "fast_grid_1": 1,
      "fast_grid_2": 2,
      "last_size": 8,
      "line_width": 1.0,
      "min_spacing": 10.0,
      "show": true,
      "sizes": [
        "100 mil",
        "50 mil",
        "25 mil",
        "10 mil",
        "5.0 mm",
        "2.5 mm",
        "1.0 mm",
        "0.5 mm",
        "0.25 mm",
        "0.1 mm",
        "0.05 mm",
        "0.025 mm",
        "0.01 mm",
        "0.001 mm"
      ],

I find it a bit disappointing, that there is such a list, and then it gets ignored by KiCad. Trying to follow the reasoning behind it on gitlab but it gets too complicated for me. My mind refuses to accept there could be a valid reason for not simply loading those settings from a file and using them. If “A situation came up where we needed to add a new default grid”, why then not simply add that grid to json file too?

Ah, well. Off to more important things…

1 Like

Paul,

All feature in KiCAD are important, those “more important” are the blocking ones, you know :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.