If Geometry is the language of a model, then Points are the alphabet. Points are the foundation upon which all other geometry is created - we need at least two Points to create a Curve, we need at least three Points to make a Polygon or a Mesh Face, and so on. Defining the position, order, and relationship among Points (try a Sine Function) allows us to define higher order geometry like things we recognize as Circles or Curves.
- A Circle using the functions
- A Sine Curve using the functions
What's a Point?A Point is defined by nothing more than one or more values called coordinates. How many coordinate values we need to define the Point depends upon the Coordinate System or context in which it resides. The most common kind of Point in Dynamo exists in our three-dimensional World Coordinate System and has three coordinates [X,Y,Z].
Point as Coordinates
Points can exist in a two-dimensional Coordinate System as well. Convention has different letter notation depending upon what kind of space we are working with - we might be using [X,Y] on a Plane or [U,V] if we are on a surface.
- A Point in Euclidean Coordinate System: [X,Y,Z]
- A Point in a Curve Parameter Coordinate System: [t]
- A Point in a Surface Parameter Coordinate System: [U,V]
Although it might seem counter intuitive, Parameters for both Curves and Surfaces are continuous and extend beyond the edge of the given geometry. Since the shapes that define the Parameter Space reside in a three-dimensional World Coordinate System, we can always translate a Parametric Coordinate into a "World" Coordinate. The point [0.2, 0.5] on the surface for example is the same as point [1.8, 2.0, 4.1] in world coordinates.
- Point in assumed World XYZ Coordinates
- Point relative to a given Coordinate System (Cylindrical)
- Point as UV Coordinate on a Surface
Download the example file that accompanies this image (Right click and "Save Link As..."): Geometry for Computational Design - Points.dyn. A full list of example files can be found in the Appendix.