100% found this document useful (1 vote)
714 views

Grasshopper Components

Grasshopper Primer Components

Uploaded by

Harshi Garg
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
714 views

Grasshopper Components

Grasshopper Primer Components

Uploaded by

Harshi Garg
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 12
AO Index This index provides additional information on all the components used in this primer, as well as other components you might find useful. This is just an introduction to over 500 components in the Grasshopper plugin. Parameters GEOMETRY Pocry PG. Circle parameter Circle Represents acollection of Circle primitives. PG.Geo Geometry Parameter Represents a collection of 3D Geometry, Pc. Geometry Pipeline Pipeline Defines a geometry pipeline from Rhino to Grasshopper. PGP Point Parameter Point parameters are capable of storing persistent data. You can set the persistent records through the parameter menu, PGSrf Surface Parameter: $$ Represents a collection of Surface geometry. Surface geometry is, ‘the common denominator of all surface types in Grasshopper. PRIMITIVE PPBo0l Boolean parameter Represents a collection of Boolean (True/False) values. PPD Domain Parameter Represents a collection of one-dimensional Domains. Domains are typically used to represent curve fragments and continuous rhumeric ranges. A domain consists of two numbers that indicate the limits of the domain, everything in between these numbers s part of the domain. PRD? Domain? Parameter: Curve Parameter Represents a collection of Curve geometry. Curve geometry is the ‘common denominator of all curve types in Grasshopper. Contains a collection of two-dimensional domains. 2D Domains are typically used to represent surface fragments. A two-dimensional domain consists of two one-dimensional domains. Pipeline Layer: pipeline Name: * Type * ADO PPID PPNum PpPath Pi.Button Puswatch Pu.Graph Guid Parameter Represents a collection of Globally Unique Identifiers. Gui parameters are capable of storing persistent data. You can set the persistent records through the parameter menu. Integer Parameter Represents a collection of integer numeric values. Integer parameters are capable of storing persistent data. You can set the persistent records through the parameter menu. Number Parameter: Represents a collection of floating point values. Number parameters are capable of storing persistent data. You can set the persistent records through the parameter menu. File Path Contains a collection of file paths. Boolean Toggle Boolean (true/false) toggle. Button Button object with two values. When pressed, the button object returns a true value and then resets to false. Color Swatch swatch isa special interface object that allows for quick setting. of individual color values. You can change the color of a swatch through the context menu, Gradient Control Gradient controls allow you to define a color gradient within a numeric domain, By default the unit domain (0.0 ~ 2.0) isused, but this can be adjusted via the LO and L1 input parameters. You can ‘add color grips to the gradient object by dragging from the color wheel at the upper left and set color grips by right clicking them. Graph Mapper Graph mapper objects allow you to remap a set of numbers By default the fx} and fy} domains of a graph function are unit domains (0.0 ~ 1.0), but these can be adjusted via the Graph Editor. Graph mappers can contain a single mapping function, which can be picked through the context menu. Graphs typically have grips (little circles), which can be used to modify the variables that define the graph equation. By default, a graph mapper objects contains no graph and performs. 1:1 mapping of values. PlSliéer Number Slider § slider is a special interface object that allows for quick set of individual numeric values. You can change the values and properties through the menu, or by double-clicking a slider object. Sliders can be made longer or shorter by dragging the rightmost ledge left or right. Note that sliders only have an output (ie.no input) 00250 Panel Pane $$$$$_$$__$__ Apanel for custom notes and text values. Its typically an inactive object that allows you to add remarks or explanations Double click to toa Document, Panels can also receive th edit panel elsewhere. If you plugan output parameter cansee the contents of that parameter in real Grasshopper can be viewed in this way, Panels can also stream their content toa text file pulse Yj Pros ots of postales Fon wich choose content, UTILITIES Represents a cluster input parameter. PUCOut Cluster Output Represents a cluster input parameter. PUDam Data Dam 1 Delay data on its way through the document. Coo PUJump Jump Jump between different locations. ig nse aa PU. Param Viewer § $$$ Viewer A viewer for data structures. PuSerib- Scribble ble Aqquick note. Maths Doubleclick Me! DOMAIN M.0and Bounds ——____ if Create a numeric domain which encompasses a lst of numbers. MO. Consecutive Domains Consec Create consecutive domains from a list of numbers, MDDom Construct Domai $NAmmmmmiaa$___——_—_ Create a numeric domain from two numeric extremes. MOD. Construct Domain* MOD. Beeonstryet Domain A$ MOD. Divide Domain* Divide Divides a two-dimensional domain into equal segments. Equals Test for (i =F Perform boolean conjunction (AND gate). Both inputs need to be MONot Gate Not —£$@@—— fase Perform boolean negation (NOT gate). Perform boolean disjunction (OR gate). Only a single input has to Larger Larger than (or equal to). : Osan Multiply Mathematical multiplication. Mo. Smaller Than ‘Smaller Larger than (or equal to). Mo. sintanty Sine fr cniany of wommber ; . z MoOSub Subtraction Or Mathematical subtraction. B scner ; MSEval Evaluate 4 fa, Ealateanecresion witha xe nner fares : MS. Expression & [format ("(0}, {2 Expression Evaluate an expression. - ms cos cone ri Compute the cosine of a value, A x MiLDeg Degrees id Coe ananlespcedia rads dees MTRad — Radians 7) Ce anand specedin eres trad wi3in She x Conakatbesrestovake By unumes MUA pera oka etre attr othe glen at wus $$ fei Rete afar Sets ust 3 su ont 19; Cine Cobh hor a ans oer hos SLltem Sling SLLong, SL. Replace SLRev SLShift SLi SLSort SLWeave Cross Reference Cross Reference data from multiple list. Dispatch Dispatch the items ina lst into two target lists. List dispatching is very similar to the [Cull Pattern} component, with the exception that both lists are provided as outputs. Insert Items Insert a collection of items into alist. List Item Retrieve a specific item from alist. List Length Measure the length ofa list. Elements ina list are identified by their index. The first element is stored at index zero, the second clement is stored at index one and so on and so forth. The highest possible index in alist equals the length of the list minus one. Longest List Grow a collection of ists to the longest length amongst them. Replace Items Replace certain itemsina lst Reverse List Reverse the order of a lst. The new index of each element will be N-iwhere Nis the highest index in thelist and tis the old index of the element, Shift List (Offset all items ina list. ters in the list are offset (moved) towards the end of the list ifthe shift offset is positive. If Wrap ‘equals True, then items that fall off the ends are re-appended, Shortest List Shrink a collection of lists to the shortest length amongst them. sift Pattern Sift elements in list using a repeating index pattern. Sort List Sort alist of numeric keys. In order for something to be sorted, it ‘must first be comparable. Most types of data are not comparable, Numbers and Strings being basicaly the sole exceptions. If you want to sort other types of data, such as curves, you'll need to create alist of keys first. Weave Weave a set of input data using a custom pattern. The patternis specified as alist of index values (integers) that define the order in which input data is collected, SETS sScul SSCull SSDup sSuitter 8. Random SSRar SS.Repeat S55e Cull Index Cull (remove) indexed elements from alist. Cull Pattern Cull remove) elements in a list using a repeating bit mask. The bit mask is defined as a list of Boolean values. The bit masks, repeated until all elements in the data list have been evaluated. Duplicate Data Duplicate data a predefined number of times. Data can be duplicated in two ways, either copies of the lst are appended at the end until the number of copies has been reached, or each item is duplicated a number of times before moving an to the next item, Jitter Randomly shuffles alist of values. The inputlist is reordered based on random noise. Jittering isa good way to get a random set with a good distribution. The jitter parameter sets radius of the random noise. Ifjitter equals 0.5, then each item is allowed to reposition itself randomly to within half the span of the entire set Random Generate a list of pseudo random numbers. The number sequence fs unique but stable far each seed value. If you do not like a random distribution, try different seed values. Range Create a range of numbers. The numbers are spaced equally inside a numeric domain, Use this component if you need to, create numbers between extremes. If you need control over the interval between successive numbers, you should be using the [Series] component, Repeat Data: Repeat a pattern until itreaches a certain length, Series Create a series of numbers. The numbers are spaced according to the Step} value. If you need to distribute numbers inside a fixed ‘numeric range, consider using the [Range] component instead. TREE STExplode SIFlattes Explode Tree Extract all the branches froma tree. Flatten Tree Flatten a data tree by removing all branching information. STFlp STMerge STPat! siFPrune stSimplify SITStat st Unflatten Vector GRID iexGrid RecGrid VGSaGria Flip Matrix. Flip a matrix-like data tree by swapping rows and columns. Graft Tree ‘Typically, data items are stored in branches at specific index values (0 for the frst item, 1 for the second item, and so on and so forth) and branches are stored in trees at specific branch paths, for example: (0:1), which indicates the second sub-branch of the first main branch. Grafting creates a new branch for every single data item. Merge Merge a bunch of data streams. Path Mapper Perform lexical operations on data trees. Lexical operations are logical mappings between data paths and indices which are defined by textual (lexical) masks and patterns. Prune Tree Removes all branches from a Tree that carry a special number of Data items, You can supply both a lower and an upper limit for branch pruning, Simplify Tree Simplify a tree by removing the overlap shared amongst all branches. ‘Tree Statistics Get some statistics regarding a data tree. Unflatten Tree Unflatten a data tree by moving items back into branches. Hexagonal 2D grid with hexagonal cells. Rectangular 2D grid with rectangular cells Square 2D grid with square cells. fy P = Sx ¢ 98 & yy P c s oF P POINT prt ve, Decor VECTOR vx vy Construct Point Construct a point from (xyz) coordinates. Deconstruct Deconstruct a point into its component parts Distance ‘Compute Euclidean distance between two point coordinates. unit x Unit vector parallel to the world {x) ais. unit Y Unit vector parallel to the world {y} axis. A Vv Vector 2et ea Create avector between two points, ri Curve Division cP cDDivide ng Divide curve into equal length segments. eon PRIMITIVE P PRT Oc epee Cirle ————_____1 g—> Create. circle defined by base plane andradvs. vou c_R CPciaet Cirle gPt Greate acircle defined by three points, = n@c ce Circleene R GircNR Greate circle defined by center normal andradius s €PLine Line So» 9 4t Create a line segment defined by start point, tangent and length. L ce Polygon. ———__________—_—————————————¢ a Povveon €reates polygon with options undedses ‘© L SPLINE CSiniCrv cs. KinkCrv Interpolate Create an interpolated curve through a set of points. Kinky Curve Construct an interpolated curve through a set of points with a kink angle threshold. Nurbs Curve Construct a nurbs curve from control points voc > pot kD vo¢ Det AD CSPLine polyline Create apolvline connecting a number of points. um CU. Explode c s C.UOffset Offset c Offset a curve witha specified distance D 2 @e Surface c ANALYSIS ° SA Deconstruct rep awe DeBres Deconstructabrep nto its constituent parts. v FREEFORM SF Boundary Surfaces eBs Boundary Create planar surfaces froma collection of boundary edge curves. ums SFEXr Extrude 5 me Extrude curves and surfaces along a vector. 2, SFExtrPt Extrude Point pAE Extrude curves and surfaces toa point. a cura Slot Loft Se Create a lofted surface through aset of section curves oR ? SIFRevSrf Revolution As Create a surface of revolution 5 S.FSwp2 Sweep2 a Create a sweep surface with two rail curves. oF ims PRIMITIVE SPBBox Bounding Box Solve oriented geometry bounding boxes. um so SU. Divide Surface UN SOvide Generate agri off pins ona surface, cite Isotrim 5 Extract an isoparametric subset of a surface. Mesh TRIANGULATION ? M Voronet k Voronoi Planar vorenol diagram for a collection of points 3 KC a1 Transform AFFINE Rectangle Mapping ‘Transform geometry from one rectangle into another. ARRAY A. Linear Array Arrlinear Creates linear array of geometry. MORPH M.Morph Box Morph Morph an objectinto a twisted box. MSBox Surface Box Create a twisted box on a surface patch, Display COLOR DCHSL Colour HSL Create a colour from floating point (HSL) channels DIMENSIONS L DDTeg Text tags ——______________________{; Atext tag component allows you to draw litle Strings inthe id viewport as feedback items. Text and location are specified as input parameters. When text tags are baked they turn into Text Dots. DDiiag3 ext Fag 8 $A MN Represents a lst of 3D text tags in a Rhino PREVIEW DP {Custom Preview —$@—@$ Preview Allows for customized geometry previews. VECTOR DMPoints Point List ——________ Ps, Displays details about lists of points.

You might also like