1. Home
  2. Docs
  3. TM Grasshopper Plugins-Mi...
  4. TM Point Picker
  5. TM Line Point Picker

TM Line Point Picker

TM Line Point Picker

The line point picker, is a grasshopper component that helps in sifting & filtering a group of points and output only those that are in close proximity to user selected lines in an order based on those lines.

This output can then be used to shatter/split the selected lines for creating an analytical model.

It accomplishes the task by drawing bounding boxes (cuboids along the length of the line) whose dimensions can be controlled by the user.

The main inputs are a set of lines (in whose closest proximity the points are to be found) and a collection of points supposedly lying near the lines.

Input

Lines

Takes a list of flattened list of curves/lines.

Points

A collection of points (in a list format) that are in close proximity to the lines.

Multiple Tolerances

Takes a Boolean that allows accepting multiple tolerances in the X and Y direction.

  • False: one tolerance (X, Y) shall control upto which distance in the close vicinity of all the lines get selected.
  • True: multiple tolerance values can be used to control the distance upto which the points lying in the vicinity of the lines can be selected.

Tolerances

It controls the dimensions of the depth and breadth of the bounding box that is created around the length of the lines. If the points lie in the this bounding box, then they get selected.

X tolerance

Takes a number/numbers and controls the width of the bounding box.

Y Tolerance

Takes a number/numbers and controls the depth of the bounding box.

See Bounding Boxes

Takes a Boolean and allows the user to see the bounding boxes in Rhino window.

Outputs

Closest Points

Outputs a set of points in a branched fashion corresponding to the order of the lines that were input. Each branch shall contain points closest to each line that was fed as an input.

Parameters

Set of parameters for the output points, that can be used with native grasshopper components.

Bounding Boxes

Outputs the bounding boxes as breps.

Downstream Use

Can be paired with ‘TM line Shatter’ to easily shatter lines along the points lying on those lines.

Sample

The grasshopper (Rhino 8) file link below demonstrates how to use the component.

TM-DN-GH-Misc-Point Picker.gh

How can we help?