Forgot password?

Create an account!

RVB

« back

Sort Elements by Distance to a Reference Point

Description RhinoScript Application

RhinoScript Application by maher

This is a script to order objects based on their distance from a reference point. You can select point, curves, surfaces, or any combination.

two types of points are needed:
1-a sort reference point, which can be defined by the user (click in 3d space), or by selecting from Bounding Box points, or it can be a default 0,0,0 (world origin)
2-Points on the elements that we want to sort. Two methods are available
a-Centroid: objects centroide or middle point; of course, if you happen to be sorting points, the point is used as the reference.
b-ClosestPoint: this finds the closest point on the element to the sort reference point.

Version

Version 1 (Sep 19, 2011)

Requirements

Rhino version: Rhino 4

Code

You need to be logged in to view the source code.

Download

You need to be logged in to download the script.

Recommend

Why are these buttons gray?

Comments
  • +++ Sep 19, 2011 14.14: Sort Elements by Distance to a Reference Point version 1 published +++