Wings 3D Development Forum
[fixed] information display for two edges - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: [fixed] information display for two edges (/showthread.php?tid=2679)



[fixed] information display for two edges - rv3 - 09-03-2018

The information text in the upper left corner of the window seems to be wrong when 2 edges are selected. The third line, I believe, is supposed to show the length of the two edges and the difference between them, but it is always same length for both edges and the difference is always 0.0.

Also, under wings v1, didn't this information text include the angle between the two edges?


RE: information display for two edges - micheus - 09-03-2018

(09-03-2018, 09:19 PM)rv3 Wrote: The information text in the upper left corner of the window seems to be wrong when 2 edges are selected. The third line, I believe, is supposed to show the length of the two edges and the difference between them, but it is always same length for both edges and the difference is always 0.0.
Third line when Tweak is active.
Usually the length is shown only for one edge selected followed by its normalized coordinate, which thinking it as a triangle you can find the hypotenuse - the edge length.
[Image: Info_Line-issue.png]Left is v1 and right the latest version

Quote:Also, under wings v1, didn't this information text include the angle between the two edges?
Yes. As we can see in the image above you are right about the missing angle.

Thanks for report.


RE: information display for two edges - rv3 - 09-04-2018

Hmm, that's not what I see. I don't normally use tweak mode, but here's what I'm seeing:

[attachment=533]

I'm not at all fluent in erlang, but I think the following will fix things:

Code:
*** wings_info.erl.orig    Mon Sep  3 21:43:08 2018
--- wings_info.erl    Mon Sep  3 21:43:55 2018
***************
*** 173,179 ****
      Mid1 = e3d_vec:average(Pos1A, Pos1B),
      MidDiff = e3d_vec:sub(Mid1, Mid0),
      Dist = e3d_vec:len(MidDiff),
!     Diff = abs(Length0 - Length0),
      io_lib:format(?__(42,"\nDistance ~s")++"  ~s\n"++
                        ?__(43,"Object~s")++" "++?__(41,"Edge~s ~s")++"  "++
                        ?__(43,"Object~s")++" "++?__(41,"Edge~s ~s")++"  "++
--- 173,179 ----
      Mid1 = e3d_vec:average(Pos1A, Pos1B),
      MidDiff = e3d_vec:sub(Mid1, Mid0),
      Dist = e3d_vec:len(MidDiff),
!     Diff = abs(Length0 - Length1),
      io_lib:format(?__(42,"\nDistance ~s")++"  ~s\n"++
                        ?__(43,"Object~s")++" "++?__(41,"Edge~s ~s")++"  "++
                        ?__(43,"Object~s")++" "++?__(41,"Edge~s ~s")++"  "++
***************
*** 182,188 ****
                     wings_util:nice_abs_vector(MidDiff),
                     wings_util:stringify(Id0),
                     wings_util:stringify(E0),
!                    wings_util:nice_float(Length1),
                     wings_util:stringify(Id1),
                     wings_util:stringify(E1),
                     wings_util:nice_float(Length1),
--- 182,188 ----
                     wings_util:nice_abs_vector(MidDiff),
                     wings_util:stringify(Id0),
                     wings_util:stringify(E0),
!                    wings_util:nice_float(Length0),
                     wings_util:stringify(Id1),
                     wings_util:stringify(E1),
                     wings_util:nice_float(Length1),




RE: information display for two edges - micheus - 09-04-2018

(09-04-2018, 01:48 AM)rv3 Wrote: Hmm, that's not what I see. I don't normally use tweak mode, but here's what I'm seeing
I found why the difference: my preferences was cleaned and I didn't have set the preferences option for General->Information Text_>Verbose. Smile

Quote:I'm not at all fluent in erlang, but I think the following will fix things:
Now I see what you see and you are right about the fix. Thanks.

You find the fix in the Fixes for v2.1.7 (Patches)