# Point deviation

**URL:** <https://discourse.mcneel.com/t/point-deviation/43971>\
**Category:** Serengeti (Rhino BETA)\
**Created:** [May 10, 2017, 8:55am UTC](https://discourse.mcneel.com/t/point-deviation/43971 "2017-05-10T08:55:31Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [December 8, 2017, 6:18pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/50 "2017-12-08T18:18:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/732604_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [December 8, 2017, 6:21pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/51 "2017-12-08T18:21:12Z")

</div>

I’ll try the commands.rhp.

> [@clement](#):
>
> btw. After clicking the Apply button the dialog vanished. If i hover over a toolbar tab it comes up again. When i used the End button, then closed the dialog and run it again, it did not vanish after clicking the Apply button.

I’ve seen similar behavior.

---

<div class="post-metadata">

**Author:** ![tim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tim/32/507483_2.png) [@tim](https://discourse.mcneel.com/u/tim)\
**Post date:** [December 8, 2017, 6:25pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/52 "2017-12-08T18:25:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tim/32/507483_2.png) [@tim](https://discourse.mcneel.com/u/tim)\
**Post date:** [December 8, 2017, 6:26pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/53 "2017-12-08T18:26:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![davidcockey](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/davidcockey/32/732604_2.png) [@davidcockey](https://discourse.mcneel.com/u/davidcockey)\
**Post date:** [December 8, 2017, 7:17pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/54 "2017-12-08T19:17:03Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![tim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/tim/32/507483_2.png) [@tim](https://discourse.mcneel.com/u/tim)\
**Post date:** [December 8, 2017, 7:43pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/55 "2017-12-08T19:43:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![brian](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/brian/32/504171_2.png) [@brian](https://discourse.mcneel.com/u/brian)\
**Post date:** [December 12, 2017, 11:50pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/56 "2017-12-12T23:50:23Z")

</div>

[RH-42985](https://mcneel.myjetbrains.com/youtrack/issue/RH-42985) is fixed in the latest [BETA](https://www.rhino3d.com/download/rhino-for-windows/beta)

---

<div class="post-metadata">

**Author:** ![clement](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/clement/32/759176_2.png) [@clement](https://discourse.mcneel.com/u/clement)\
**Post date:** [April 12, 2019, 12:24pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/57 "2019-04-12T12:24:23Z")

</div>

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:

thanks,  
c.

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [April 12, 2019, 3:12pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/58 "2019-04-12T15:12:37Z")

</div>

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.

> [@clement](#):
>
> optionally display the points with depth buffering ? (Something like CullControlPolygon, so i can only see the outside)

> [@clement](#):
>
> Would it be possible to include the min, max and average distance in the dialog while the command is running ?

Got it, thanks.

> **[More control for visibility : RH-52055](https://mcneel.myjetbrains.com/youtrack/issue/RH-52055)**
>
> https://discourse.mcneel.com/t/point-deviation/43971/57 The request is to allow culling the deviation display from one side or the other of the tested objects. A Cull and a Flip button, possibly, as UI?…

> **[PointDeviation: Print info on demand : RH-52056](https://mcneel.myjetbrains.com/youtrack/issue/RH-52056)**
>
> https://discourse.mcneel.com/t/point-deviation/43971/57 The user says - \_\_ When the End button is pressed, the command displays additional information in the CommandLine eg: Average distance: 0.009016009 Median distance: 0.004664655 Standard...

-Pascal

[Previous page](https://discourse.mcneel.com/t/point-deviation/43971.md?page=2)
