w4 Intersections & Recursion



Recursion in DotNET


Recursive example from the Grasshopper Primer 2nd Edition by Rajaa Isaa
ghx here


Recursive polygon cracking script based on Tiziana’s analysis of Soho Shangdu by LAB architecture
ghx here



Vector Operations


Cross-Product and Dot Product in Grasshopper and VB.Net



Intersections


This definition contains scripts for finding the intersections between two sets of curves – one method by line and the other by cell. Two things to note about the cell script: the script will continue to work if an intersection is missing (i.e. not a even number of rows or columns) but in that case will make triangular cells or omit the cells, and second the finds only the intersection points and so will discretize pronounced curvature such that the edges of any cell are straight lines. Hopefully as I learn more about .intersectcurve() a version which uses the curve parameters can be made to extract subcurves.
ghx here



Representation
Useful Rhino Commands
  • ClippingPlane Creates a clipping plane object that represents a plane for visibly clipping away geometry in a specific viewport.
  • Section Creates a planar curve or points resulting from the intersection of a defined cutting plane through curves, surfaces, polysurfaces, or meshes.
  • Contour Creates a spaced series of planar curves and points resulting from the intersection of a defined cutting planes through curves, surfaces, polysurfaces, or meshes.
  • Split Divides NURBS into parts using other objects as cutters.
  • Trim Deletes selected portions of an object inside or outside where they are intersected with another object.
  • ShrinkTrimmedSrf Contracts the underlying untrimmed surface close to trimming boundaries.
  • DupBorder Creates a curve that duplicates a surface, polysurface, or mesh border.
  • DupEdge Creates a curve that duplicates a surface edge.
  • Join Connects objects together to form a single object: lines into polylines, curves into polycurves, surfaces and polysurfaces into polysurfaces or solids.
  • PlanarSrf Creates a planar surface from planar curves that define the surface edges.
  • Make2D Project geometry to the construction plane to make a 2-D drawing.
  • Export Saves selected objects to a new Rhino (or other supported format) file.

Note: Many of these commands have their equivalent/analogous version in Grasshopper. It’s up to you at which point your workflow ceases to be parametric.

V-Ray for Rhino Rendering Commands
V-Ray Resources
V-Ray Video Tutorials
Grasshopper Animations &c.