Grids offsets. Metric vs Imperial

Bug #593992 reported by klui_
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Wishlist
Unassigned

Bug Description

Modern frames uses both metric dimensions (body+mounts) and inches (pins). Please add "grid offset" in "User Grid size" to greatly simplify footprint designing process.

Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote :

I have a proof-of-concept patch for adding grid origin offset in pcbnew (well, all kicad, under the hood since it's in the base class). It's like the auxiliary axis but it moves the grid origin.

At the moment is only on the board editor (I use it to align modular terminal blocks) but the only work needed is to add a toolbar button with it's own callback (and draw an icon for it:D).

Attached patch is against r2405, I'm using it for a few months as today...

Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote :

OK, it actually was *really* trivial, so I added support for changing the grid origin in the module editor, too (great for placing pins in SSOPs :D)

It only lacks a nice icon for the button (I used the same as the 'drill origin' button).

This should close the request.

Stephen Eaton (seaton)
Changed in kicad:
status: New → Triaged
Revision history for this message
Blair Bonnett (bcb) wrote :

There is a 'grid origin' option in both pcbnew and the module editor -- not sure if it was Lorenzo's patch or other code, but either way its there.

Is there any need for grid origin options in eeschema and the library editor?

Revision history for this message
jean-pierre charras (jp-charras) wrote :

No.

'grid origin' option (combined to user grid size option) is needed in Pcbnew to place pads (and mainly a set of pads) at specific locations (every 1 mm for instance) from a given starting point, which can be at a strange location, or just not on the current grid.

Eeschema does not need that. Pins *must be* placed on the main grid (50 mils, near 2,5mm).

A 'grid origin' in eeschema could break the schematic.

xzcvczx (xzcvczx)
summary: - Grids offsets. Metric VS English.
+ Grids offsets. Metric vs Imperial
Jon Neal (reportingsjr)
Changed in kicad:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.