displaz icon indicating copy to clipboard operation
displaz copied to clipboard

Measurement tools

Open c42f opened this issue 9 years ago • 2 comments

It's quite useful to be able to measure distances quickly. The basic idea would be to allow two or more points to be selected as a set of points of interest, and draw lines between these with some graphical representation of the distance (also worth putting it in the log window for copy&paste-ability). The (a?) 3D cursor is the obvious graphical element for creating user-defined vertices.

Whatever interface we use, the user should be free to move around with the usual controls between placing of the measurement vertices. 3D programs which don't allow camera motion when in "object creation mode" are irritating. wings3d is an example of a modeling program which correctly allows camera motion even in the middle of creating a geometric primitive.

potree has some useful ideas for this, so it's worth looking at as an example: http://potree.org/demo/potree_2014.12.30/examples/viewer.html

See also the closely related #26 - these should share almost all the same UI elements; maybe they're even the same feature but with "measurement objects" being temporary by default.

c42f avatar Jun 13 '15 07:06 c42f

It sounds like this could be easily be build with the help of: #92 (#108) - we could potentially combine that with a scriptable user interface (e.g. https://github.com/wjakob/nanogui) and create all kinds of cool plugins / add-ons. It would also open the door for more contributions.

r-chris avatar Jun 09 '16 02:06 r-chris

Yeah, it'd be great for us hackers :-)

The main question in my mind is how to distribute scripts and have end users able to run them. Maybe Qt Script would do it for "official" plugins.

c42f avatar Jun 09 '16 04:06 c42f