StandardPickers
Provides a bunch of pickers with overridable prompts. This class extends the functionality of RhinoGet.
Methods
GetBox
#Gets a box using the standard Rhino picker.
GetConsecutiveLines
#Gets a set of consecutive lines.
public static Result GetConsecutiveLines()
lines,
Array of lines.
promptFirstPoint = "Start of {0} line",
Prompt for first point pick.
promptConsecutivePoint = "End of {0} line"
Prompt for additional point picks. Use {0} to insert the ordinal for the current line, {1} to insert the ordinal for the next line, {2} to insert the cardinal of the current line, and {3} to insert the cardinal of the next line.
GetConstrainedPoints
#Get one or more points picked on possible grid vertices.
GetField
#Get a single field via Rhino getters. Supports:
- typing a number (constant scalar field),
- picking a line segment (constant vector field),
- selecting the "ScalarNoise" command option (simplex scalar noise field),
- selecting the "VectorNoise" command option (simplex vector noise field),
- selecting the "PointCharge" command option (point charge field),
- selecting the "Distance" command option (distance-to-shapes field),
- selecting the "Spin" command option (spin around an axis field),
- selecting the "Drag" command option (drag motion field, local influence),
- selecting the "Plate" command option (thin-plate interpolated vector field).
GetLine
#Get a line with prompt overrides.
GetManyPoints
#Pick many points. Either directly or by referencing point objects.
GetManyUvPoints
#Pick many points. Either directly or by referencing point objects.
GetPolyline
#Get a polyline with prompt overrides.
GetPolylines
#Get multiple unconnected polylines.
GetTriangle
#Get a triangle with prompt overrides.
GetTriangleStrip
#Get a sequence of triangles with shared edges.
RectangleFrom3Points
#Create a rectangle from three points.
public static Rectangle3d RectangleFrom3Points()
a,
Start point of primary edge.
b,
End point of primary edge.
c,
Point coincident with infinite extension of edge opposite to primary edge.
width = NaN
Optional width limit. Use double.NaN to use the 'c' point directly.