Fix T49334: Move Interactive ruler out of grease pencil
AbandonedPublic

Authored by Aaron Carlisle (Blendify) on Apr 13 2017, 9:08 PM.

Details

Summary

This patch moves the ruler to the tools tab of the 3dview toolbar instead of the Grease pencil tab

Diff Detail

Julian Eisel (Severin) requested changes to this revision.May 6 2017, 7:30 PM
Julian Eisel (Severin) added inline comments.
release/scripts/startup/bl_ui/properties_grease_pencil_common.py
159

There is a typo here :)

160

Codestyle, this should be col.operator("gpencil.convert", text="Convert to Path").type = 'PATH'

release/scripts/startup/bl_ui/space_view3d_toolbar.py
114–115

Couple of issues here:

  • This tab is already named "Tools", having the label "Tools:" here would be confusing and redundant.
  • The panel is only visible in Object Mode.
  • The panel is for object tools, not general tools like the ruler.
This revision now requires changes to proceed.May 6 2017, 7:30 PM

Ruler/Protractor use is not easy.
You may change a ruler into a protractor while you just want to select it between several to copy its value.
You can't display some rulers/protractors and hide other ones.

Like Grease Pencil, it will benefit to become an object in 2.8.
With such design, Grease Pencil Tools tab could become a Ruler Tools tab according to selected object.
With an edit mode, we could parent a start or an end of ruler to vertex of a moving object and see a value updated during an animation.

There is an opportunity to add a room for useful cotattions and measurements instead of current quick checking tool.

The panel is for object tools, not general tools like the ruler.

I cannot think of an area of Blender where these two exist together. So we could create a new panel but that is strange because I do not think there is anything else we could move to this panel.

So suggestions would be helpful, however, I guess IMO we should close this, and use either T49334 or create a new task and fix this in 2.8

I think we need to have a discussion on were to have general tools like this one.

Agree, we need to decide where to put this. In 2.8, the 3D view always uses GP object and the annotation will be a separated tool. @Joshua Leung (aligorith) is working to create a separated module for anotations only, so this must be a point to consider in this module.

This is something that is better solved with the tool system: T53101