Persistent ruler tool instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
Broken out from a comment on lp:1672040 and mentioned again on the mailing list.
From the old comment by kandrey89:
Also ruler needs to be a single object that can be placed on the layout and stay there, not disappear. Useful when building up a complicated layout, by having multiple rulers in key places. The first mouse click should make the ruler appear and interactive like it is now, second click should place the ruler on the layout, an Esc should remove the ruler after the 1st click, a Delete button or right click menu selection should remove the ruler from the layout. The ruler object should be able to be moved about the layout or locked into place explicitly by the user through a shortcut key or a right click menu option. A locked ruler is allowed to be deleted, just cannot be dragged.
Changed in kicad: | |
importance: | Wishlist → Unknown |
status: | Expired → Fix Released |
To keep these on the canvas should be relatively straightforward, as they /are/ EDA_ITEMS at heart. Hower saving into files would have to be a format bump. The item description should be pretty simple, perhaps just:
(ruler (start 100, 100) (end 200, 200) (style 1))
Where style is used to allow new ruler types (eg a circle, grid graticule, scale bar, etc) to be easier to add in future without having to special-case older formats.
Perhaps also persistent rulers should be able to optionally force the units used, so you can keep a mm ruler even when you change canvas units to inch, so that would need a field too.
Note, if these persist in any way, they won't be visible in the legacy canvas.