# 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:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charles](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/charles/32/747625_2.png) [@Charles](https://discourse.mcneel.com/u/Charles)\
**Post date:** [May 10, 2017, 8:55am UTC](https://discourse.mcneel.com/t/point-deviation/43971/1 "2017-05-10T08:55:31Z")

</div>

The Point deviation panel has some issues.

1. The “Start” button still reads “ **Starl** ”:  
 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/5/85707351635f4303534ef062537c3676fc50c2ca.png)

2. The button height is less than a spin box.  
 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/9/0/9026b20fe49e99339320b42c888db0d1a970ce6b.png)  
I can’t imagine what the won screen space is useful for.

3. When we change the numbers, the analysis result doesn’t refresh.  
And we can’t refresh manually, as an **“Apply” button is missing at all**.  
In V5, the button exists:  
 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/c/0c38a7c286b5d13c0032ee25a06e9dab43aa2fe7.png)

4. Statistics is always 0:  

5. Let’s assume I used this values last time, and then I closed Rhino:  
 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/0/5/05e9ed9cdf9996dd5b5f99c7999a511733a420f3.png)  
This is seen when I opened Rhino again:  
 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/e/e/eeeb6ec5e3477bee3d760f8ba446c3b5e39fc72f.png)

6. When I invoke the Point deviation by menu, I expect the panel becomes active and is visible to the user.  

* * *

Perhaps it is better to unpanelize the dialog again?

---

<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:** [May 11, 2017, 9:21pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/2 "2017-05-11T21:21:23Z")

</div>

Hi Charles, thanks, I’ll check this.

So far, the dialog updates as I make changes. I also do not see the all-zeros information pane. Do you get any action if you move the mesh?

I do see that it does not come to the front properly…

-Pascal

---

<div class="post-metadata">

**Author:** ![Charles](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/charles/32/747625_2.png) [@Charles](https://discourse.mcneel.com/u/Charles)\
**Post date:** [May 12, 2017, 7:32am UTC](https://discourse.mcneel.com/t/point-deviation/43971/3 "2017-05-12T07:32:33Z")

</div>

Hello Pascal,

good to know you see problems as well 🙂

## Now I tried again, and see some statistics. Don’t know what I have done in another way today. But look how the panel looks like: ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/2/1/21ee0f0a8d57b8ae6930832d73b8a74a02623bf6.png) I only clicked 1x on the panel tab (as it did not come to front). BTW, again you see the decimal separator issue and more.

> [@](#):
>
> So far, the dialog updates as I make changes.

Sometimes, or more exact: 1x only.  
When I change a number, the result is refreshed 1x, and on next changes nothing happens.

> [@](#):
>
> I also do not see the all-zeros information pane.

Today I see numbers as well.  
But again, sometimes not.

> [@](#):
>
> Do you get any action if you move the mesh?

No action.  
But when I move the **surface**.  
It would be good if it would work for both operator sets, this is quite handy.

---

<div class="post-metadata">

**Author:** ![Charles](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/charles/32/747625_2.png) [@Charles](https://discourse.mcneel.com/u/Charles)\
**Post date:** [May 12, 2017, 7:43am UTC](https://discourse.mcneel.com/t/point-deviation/43971/4 "2017-05-12T07:43:31Z")

</div>

I now see the analysis result is not correct.  
The mesh and the srf are \> 3mm apart.  
Shouldn’t I see some red results?  
From the colors, the difference is not \> ~0.5.  
Also from the numbers.  
Look:

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/8/a/8acc7eae91752d77bfb6b3dd8b73001c18dceeff.jpg)  
[CP\_Analysis\_Deviation.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/a/3/a3a4cc0808d60c21260bb224f268d7fbd2a0adb0.3dm) (421.3 KB)

---

<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:** [May 12, 2017, 4:16pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/5 "2017-05-12T16:16:03Z")

</div>

Hi Charles - yeah, I do see red here at your settings - I am not sure what is going on… I do see some more weird drawing in the panel itself.  
[https://mcneel.myjetbrains.com/youtrack/issue/RH-39318](https://mcneel.myjetbrains.com/youtrack/issue/RH-39318)  
I think this is what you expect, correct?

 ![](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/e/5e5b7315323ab9fa4f2ec6014aeee305ef5583d1.png)

Hm, I also see that you are allowed to select the same mesh for both inputs… all points blue!  
[https://mcneel.myjetbrains.com/youtrack/issue/RH-39319](https://mcneel.myjetbrains.com/youtrack/issue/RH-39319)

[https://mcneel.myjetbrains.com/youtrack/issue/RH-39320](https://mcneel.myjetbrains.com/youtrack/issue/RH-39320)

-Pascal

---

<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:** [May 15, 2017, 10:17pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/6 "2017-05-15T22:17:52Z")

</div>

@pascal,

i tried to use `_PointDeviation` with a mesh for the pointset and really would like to express my wish to have a way to disable the automatic update of the command. My mesh has 600K polygons, if i start `_PointDeviation` it takes 2 minutes before the dialog comes up.

It opens with some default values which, of course, need adjustment. To see what i want, i first have to disable “hair” display which obscures the view. After waiting another 2 minutes i can start entering my values for “Good point”, “Bad point” and “Ignore”. Between each edit i have to wait 2 minutes as it likes to update automatically. In case of entering decimal values in the fields, it starts the calculation even when i entered the first numer of eg 0.5. I do not see anything useful that i get an update of the deviation display once i entered zero and again after i entered a decimal point.

To get my preview with the required values it took almost 10 minutes of waiting. Please disable automatic calculation and hair display by default and provide a checkbox to enable automatic display, along with the “Apply” button used in V5. Otherwise this command is really impossible to use with large pointsets or meshes.

Btw. when pressing the button “End”, it hangs for another 2 minutes until i can get back to Rhino. This seems to be a bug.

- 

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:** [May 15, 2017, 10:44pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/8 "2017-05-15T22:44:02Z")

</div>

Hi Clement - re you using a single surface and a 600k mesh or is it a brep? If you can send me the thing, that would be great, I just chatted with the developer and he’s like to get some specifics so he can understand what’s expected and look for where the hang-up is.

I guess one key question is, does the same file behave better in V5 (like, the time for the initial dialog display, or the time it takes to update on Apply) I gather it does, from your comments, but just checking…

thanks,

-Pascal

---

<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:** [May 15, 2017, 10:53pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/9 "2017-05-15T22:53:17Z")

</div>

Hi Pascal, it happens with both, single surfaces or breps. I’ve found that if i just try to close the dialog instead of pressing the End button, it hangs too for a while. The mesh i’m testing with is the compressor mesh linked by @wim in [this thread](https://discourse.mcneel.com/t/import-obj-question-on-texturing/44098). If you import it into below file using “Map obj Y to Z”, you might have something to test.

It seems that the displayed colors for the points are wrong as well, i’ll include a screenshot with the values i used.

[Test.zip](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/9/b9f62bb4d4efbcb440e6c147aae5cb5148841cc4.zip) (1.0 MB)

- 

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:** [May 15, 2017, 11:33pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/10 "2017-05-15T23:33:08Z")

</div>

Hi Clement - thanks, I do see this - definitely not useful.

[https://mcneel.myjetbrains.com/youtrack/issue/RH-39352](https://mcneel.myjetbrains.com/youtrack/issue/RH-39352)

-Pascal

---

<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:** [May 19, 2017, 5:15pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/11 "2017-05-19T17:15:27Z")

</div>

@pascal,

another small issue using Point deviation command which might be easy to solve: Once a mesh has been selected (in case of a pointset), it remains selected when the command asks to select surfaces to test against. Would it be possible to not keep the PointSet (in my case the mesh) selected when it asks for the objects to test against ?

Imho it is pretty hard to find any object while a dense yellow mesh wireframe obscures everything…

btw. in the current WIP, the command hangs indefinitely using my test scene from above once i entered a decimal value for “Bad Point”.

- 

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:** [May 19, 2017, 5:31pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/12 "2017-05-19T17:31:41Z")

</div>

Hi Clement - Tim is looking into the lag… it is pretty bad, I agree. The selection part is also ‘on the table’ -here, as of my build of the moment, the initial selection _is_ un-highlighted when the prompt comes for the other objects -what you want, I think.I am not sure that de-selection will persist in the next build - due to some other considerations - mainly, making it impossible to select the same thing for both inputs… this can be painful if the objects overlap closely, even though it has some potential utility.

-Pascal

---

<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:** [May 19, 2017, 6:19pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/13 "2017-05-19T18:19:59Z")

</div>

Hi Pascal, ok i will try it in the next built.

- 

c.

---

<div class="post-metadata">

**Author:** ![Charles](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/charles/32/747625_2.png) [@Charles](https://discourse.mcneel.com/u/Charles)\
**Post date:** [June 19, 2017, 9:57am UTC](https://discourse.mcneel.com/t/point-deviation/43971/14 "2017-06-19T09:57:12Z")

</div>

@Pascal  
Hi Pascal,  
in this release (6.0.17164.11481, 13.06.2017), the panel doesn’t show up at all.

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [June 19, 2017, 10:00am UTC](https://discourse.mcneel.com/t/point-deviation/43971/15 "2017-06-19T10:00:37Z")

</div>

See this thread:

> [@Layers pallet in 6/13 WIP not showing](https://discourse.mcneel.com/t/layers-pallet-in-6-13-wip-not-showing/45019/24):
>
> This problem will be fixed in the next WIP. Sorry about this - it was just a stupid logic error on my part.

---

<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:** [June 21, 2017, 4:40pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/16 "2017-06-21T16:40:17Z")

</div>

[RH-39352](https://mcneel.myjetbrains.com/youtrack/issue/RH-39352) is fixed in the latest WIP

---

<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:** [August 8, 2017, 11:41pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/17 "2017-08-08T23:41:07Z")

</div>

[RH-39320](https://mcneel.myjetbrains.com/youtrack/issue/RH-39320) is fixed in the latest WIP

---

<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:** [December 6, 2017, 12:56am UTC](https://discourse.mcneel.com/t/point-deviation/43971/18 "2017-12-06T00:56:58Z")

</div>

@pascal, there are still issues with `_PointDeviation`. If i try to change any of the numbers in the fields it wants to update immediately. With a large mesh the command is unusable as it always opens with the wrong default values and every field has to be changed.

I’ve just tried it and wanted to change a field value from 1 to 0.5. After i’ve entered “0.” it updates, rhino goes to “not responding” and once it was ready it shows 1 in the numeric field. I am testing a mesh with 700K points against a single surface. After any value change, i get a timeout of 30-40 seconds, then Rhino goes out of the “not responding” mode and the dialog vanishes. If i hoover my mouse over the tab of the properties dialog, the `_PointDeviation` dialog comes back.

Please bring back the “Apply” button used in V5 or allow us to disable the automatic update feature of the command.

\_  
c.

---

<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:** [December 6, 2017, 1:38am UTC](https://discourse.mcneel.com/t/point-deviation/43971/19 "2017-12-06T01:38:12Z")

</div>

This is how it behaves, i am sorry for the most boring gif animation on earth:

 ![PointDeviationDialog](https://global.discourse-cdn.com/mcneel/original/3X/a/1/a13b03f2bd1aefedfa1d1d412daf348556453463.gif)

\_  
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:** [December 6, 2017, 4:28pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/20 "2017-12-06T16:28:14Z")

</div>

> [@clement](#):
>
> most boring gif animation on earth:

Right, no cats. I’ll check this, thanks.

@clement - do you have a surface against part of a very dense mesh here? that is what I am testing (mesh = 2.4 million faces) and there is no lag at all in the dialog so far - there must be another component to this that I am missing.

-Pascal

---

<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:** [December 6, 2017, 8:18pm UTC](https://discourse.mcneel.com/t/point-deviation/43971/21 "2017-12-06T20:18:15Z")

</div>

> [@pascal](#):
>
> do you have a surface against part of a very dense mesh here?

Yes, a single surface an the mesh has 750K faces. I can repeat it with every large mesh.

Are you testing on Win7 or Win10 ?

\_  
c.

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