Point deviation

Hi Clement - that feels like progress anyway- thanks. The developer (Tim) found some inefficiencies in the interaction of the dialog and the calculation code that he was able to clean up in this latest. He guesses the quicker updates after the initial one is due to memory already being allocated. I do not know about the disappearing dialog though - that is odd.

-Pascal

I’ll try the commands.rhp.

I’ve seen similar behavior.

If you guys can figure out a pattern of steps to get consistent disappearance I can take a look at that.

https://mcneel.myjetbrains.com/youtrack/issue/RH-42985 is the issue to track the progress on the “Apply” button addition and speedup on start.

@pascal @tim With the new Commands.rhp installed the initial evaluationof my test file by PointsDeviation in V6 is 12 seconds, compared to 50 seconds previously, so it’s a major improvement. Still not as fast as V5 which is 8 seconds.

Updates in V6 now takes about 3 seconds after Apply is clicked, almost as fast as updates in V5.

Hi David,

There is likely to be a little bit of speed loss because of the extra layer of “stuff” everything goes through when we ported this to dotnet. Just an fyi on that. We didn’t do that simply for the sake of change and we didn’t do that because it was fun (well, kind of, something different at least), it allows us to use all of the same code on both the Windows and Mac platforms.

Tim

RH-42985 is fixed in the latest BETA

Hi @pascal,

i’ve found one issue with the _PointDeviation display, if i zoom close to an area to inspect it, points are shown in the viewport which are clearly behind the camera. This must be a bug. I can send an example privately if you cannot reproduce it.

Since i am spending hours using this command, i would like to express a few more wishes:

  1. The point deviation display is using a dynamic preview without depth buffering which makes it sometimes difficult to evaluate the results, especially when comparing parts which are thin. Would it be possible to optionally display the points with depth buffering ? (Something like CullControlPolygon, so i can only see the outside)

  2. When the End button is pressed, the command displays additional information in the CommandLine eg:

     Average distance: 0.009016009
     Median distance: 0.004664655
     Standard deviation: 0.01326047
     Maximum distance: 0.1571361
     Minimum distance: 9.982861E-08
    

    Would it be possible to include the min, max and average distance in the dialog while the command is running ?

thanks,
c.

Hi Clement - I’ll look for the behind camera points - I don’t think I’ve seen this but I am not using nearly as much as you are.

Got it, thanks.

-Pascal