algorithmic modeling for Rhino
Zero is certainly larger than -2.
The sign of the principal curvature depends on the direction of the normal at the point of interest as well as the direction of the principal curve. If the normal and the curve have an opposite sense the curvature is negative.
Yeah, this makes sense, and since nothing can curve less than Curvature "0", zero has got to be the Min Principal Curvature here, no?
No. Curvature is signed based on the direction of the normal at the point of interest and the 'sense' of the curves direction so it can be less than zero. So one of the principal curvatures can be negative and therefore less than zero and also the min. principal curvature which would make zero a legitimate max. curvature. Certainly though the absolute value of the reciprocal of any radius will always be greater than zero but that's not curvature as we're talking about it here. In the case of the cylinder if the normal is pointing toward the central axis then the curvature would be positive since the curve of the cylinder and the normal have the same 'sense'. If the normal is pointing outward then the curvature would be negative since the normal and the curve of the cylinder now have opposite 'sense'. At least this is how I understand it. Playing around with the curvature component and a referenced cylinder I notice however that changing the direction of the normal from 'outside' to 'inside' has no effect on the output of the component. Swapping the uv directions however does change the sign...hmmm?
Yeah I don't get it either. It seems like the max and min curvatures should flip in the case shown in the screen shot attached.