PointDeviation is broken in V7

PointDeviation is broken in V7. When used to check points to a curve the statistics in the pop-up panel are all 0.00000 and no statistics are reported in the command line window. PointDeviation appears to work correctly when used to check points to a surface. PointDeviation in V6 and the current WIP works correctly.
Example file:
PointDevBrokenDC01V6.3dm (1.6 MB)

Rhino 7 SR9 2021-7-26 (Rhino 7, 7.9.21207.13001, Git hash:master @ ac97aa17036c84be4754eb24c230288a169a27bb)
License type: Commercial, build 2021-07-26
License details: Cloud Zoo

Windows 10.0.19043 SR0.0 or greater (Physical RAM: 64Gb)

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2080 Ti (NVidia) Memory: 11GB, Driver date: 5-6-2021 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 462.59
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 5-6-2021
Driver Version: 27.21.14.6259
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 11 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.9.21207.13001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.9.21207.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.9.21207.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.9.21207.13001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.9.21207.13001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”
C:\Users\dcock\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”
C:\Users\dcock\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SectionTools\2021.4.21.831\SectionTools.rhp “SectionTools”

I used Rhino 7.8 to test it in your file and my file. As you can see in the following screenshot, it works fine.


I couldn’t reproduce your problem in the same 7.9 service release, but this looks wrong:

  • shouldn’t the feather be yellow/red for this point given the chosen parameters?

It is working correctly on my laptop which has Rhino 7 SR9 2021-7-20 (Rhino 7, 7.9.21201.05001, installed but not on my desktop which has the one week newer Rhino 7 SR9 2021-7-26 (Rhino 7, 7.9.21207.13001 installed.

@jeremy5 Which exact release do you have? What is the date of it?

This appears to be specific to the combination of V7 and my desktop. I uninstalled Rhino 7 SR9 2021-7-26 (Rhino 7, 7.9.21207.13001 from my desktop and installed Rhino 7 SR8 2021-7-15 (Rhino 7, 7.8.21196.05001 which is the same as on my laptop. The problem occurs on my desktop but not on my laptop nor with V6 or V8 WIP on my desktop.

Any suggestions?

7.9.21207.13001, 2021-07-26

Hi David - I am not sure what setting Ignore to 0 does - I don’t get the problem you show but that seems like an odd setting, to me. What I do see is that the display does not update correctly at all - I need to change the scale setting in some cases to force a redraw.

RH-65167 PointDeviation: redraw lag
-Pascal

1 Like

Pascal solved this. Ignore set to 0 is the problem. It only affects the statistics, not the coloring of the points and the hairs. I now recall having run into this before.

I suppose ideally Ignore ought to be forced to a number larger than the bad point setting - I can’t think of a reason to ever want it otherwise…

-Pascal

1 Like

Hi David,

I don’t think it is that simple - I consistently get stats while using Ignore set to 0 (and your other settings, curve and points):

1 Like

@jeremy5 Thank you for your interest and assistance. Setting “Ignore” to a larger value solved the problem for me. Resetting it to zero does not cause the problem to reoccur.

@pascal It looks like there already is logic in PointDeviation for which partially deals “Ignore” smaller than “Bad point”. If I set “Ignore” and/or “Bad point” so that “Ignore” is less than “Bad point” then the new “Ignore” setting appears to be ignored. But it is not obvious what is used to determine what points to ignore in that case. The logic has me baffled and I have some real work to do.

@pascal I was able to cause the problem again. I set both Ignore and Bad point to zero. Point deviation continued to show the deviations but all statistics were zero. I then set Ignore and Bad point to non-zero values but statistics continued to be zero. Restarted Rhino and it was working correctly. Then tried to reproduce the problem without success. There appears to a glitch in some code but unfortunately it is not easy to reproduce.

OK- thanks, I’ll see if I can make that happen.

-Pascal

Hi @pascal,
Could you also look at the seemingly incorrect feather colouring cited in the third post?

Thanks
Jeremy

Hi Jeremy - I see that as well - thanks.
RH-65182 PointDeviation - numbers do not match colors

-Pascal

RH-65182 is fixed in Rhino 7 Service Release 10 Release Candidate

1 Like