Measurement between two surfaces and curve from surface

Hi guys.

How can i do Measurement between two surfaces and curve from surface? i need only min lenght between 2 objects and max lenght … its all :smiley: easy.


Very thank you.

I have a minimum distance script for two surface/brep objects if it helps… Nothing currently for curve<>brep, but the Rhino command ClosestPt can do this with the “object” option.
ClosestPt2Objects.py (3.7 KB)

Note what you show as max distance is not really the maximum distance.

I would think it would be more like this:
image

or this:
image

For the curve/surface what you appear to be looking for is the maximum value of the closest point to the surface sampled along the curve (you would need a pretty fine sampling). Otherwise, you can use Pull to pull the curve normal to the surface and then perhaps create a surface between the original curve and the pulled curve - then find the widest and narrowest points on that.

For surface<>surface you would need to sample one surface in U and V and do the same as above with the sample points. You could perhaps set this up in Grasshopper and be able to adjust the sampling.

The Rhino command PointDeviation can get you some visual idea plus numerical info under Statistics

1 Like

Here’s a thing that might work -

DrawCurveDeviation.rhp (48 KB)

It was OK the last time I used it - Unblock it in Windows and then drag and drop onto Rhino - it has two commands

DrawCurveCurveDeviation
DrawCurveSurfaceDeviation

Each command is a toggle - so they only do one pair at a time.

-Pascal

2 Likes

you are heeeero! veeery thank you