Command Error: CurvatureAnalysis - Max Radius


(David Cockey) #1

The Max Radius option in CurvatureAnalysis does not work properly for regions of surfaces where the Guassian curvature is negative. It shows red representing the top of the scale in those regions, independent of the scale and the actual maximum radius. The Max Radius option appears to be working properly in regions where the Guassian curvature is non-negative, displaying the color code corresponding to the principal radius of curvature with the largest magnitude (ignoring sign of the curvature).

The Min Radius option appears to be working as expected, displaying the color code corresponding to the principal radius of curvature with the smallest magnitude (ignoring sign) everywhere.

The attached file contains examples of surfaces with Guassian curvature non-negative everywhere, surfaces with Guassian curvature non-negative in some regions and negative in others, and surfaces with Guassian curvature negative everwhere (except for isolated points or lines). Curvature Shapes 11.3dm (937.2 KB)

This problem occurs in both V5 and V6 WIP. I posted it here in hope that it will be corrected in V6 before it is released.


Extract Min radius and Max radius
(David Cockey) #2

Perhaps I should note that the cylinder shows always displays the top of the scale color for Max Radius even though the Guassian curvature is zero, ie non-negative. That is correct because the cylinder is a developable surface with one of the principal curvatures zero everywhere, and zero curvature has infinite radius.


(David Cockey) #3

@pascal Can this problem receive some attention, at least be put on the stack? I need the Max Radius option functioning properly to use when evaluating almost developable warped surfaces.


(Pascal Golay) #4

Hi David - thanks, yep, I see that it is not what I expect at least… I’ll poke some more.

https://mcneel.myjetbrains.com/youtrack/issue/RH-37969

@davidcockey - here’s Mikko’s comment:

“Saddle shaped surfaces that have negative gaussian curvature always have infinite maximum radius of curvature. It’s easiest to understand by starting from the two principal curvatures: Think about measuring the surface curvature at that point into all other directions too. There is always one direction where the signed curvature isn’t positive or negative and the radius of curvature center isn’t on either side of the surface, and that’s where the curvature is zero and radius of curvature infinite.”

-Pascal