mauge123 / mechanical-blender

mechanical blender project
Other
70 stars 16 forks source link

only display dimensions in the current viewplane in orthoview. #4

Closed mirlip closed 8 years ago

mirlip commented 8 years ago

It may help readability to have an option to limit the display of dimensions to the dimensions being in the current view plane: only dimensions in the x,y plane when in top or bottom view, etc.... Maybe a threshold would help for dimensions that are not perfectly coplanar, but should still be displayed?

mauge123 commented 8 years ago

I do not understand the relationship with addons and the issue

mirlip commented 8 years ago

What I mean is you don't want to see a building height when in the top view or a building depth when in front view. Even worse is when you have an array of measure on Z and you look on the top view, they all get written in one place making it unreadable. As they are not needed in those case, I would only draw dimensions which are really visible in the current view. Something similar to the 3D view translate manipulator (the red, green and blue arrows), the arrows fade slowly to become invisible when orthogonal to view. Would be perfect to replicate it for dimensions.

mauge123 commented 8 years ago

I think that my first reply was not intended for your first message. I agree that this is a missing issue.

mauge123 commented 8 years ago

The commit f51f2f8ee15639f92c77bd0058d14c55a70a8928 allows to hide perpendicular dimensions to ortho view, a check is placed on display mesh tab, to enable/disable it. 57ab3734cd13bde652a40880ec6a8ed9b76adfef

mirlip commented 8 years ago

Awesome :) But I get following error while compiling: C:\Users\test\blender\blender\source\blender\editors\uvedit\uvedit_parametrizer.c(748): error C4013: 'finite' undefined; assuming extern returning int [C:\Users\test\blender\build_windows\source\blender\editors\uvedit\bf_editor_uvedit.vcxproj] replacing finite by isfinite solves the problem.

mirlip commented 8 years ago

Really helpful. However, it works great in edit mode, but get automatically disabled in object mode.