網頁

2009-04-29

Parametric Surface using Variable Expression

Please Note: articles in English will be moved to my new blog on grasshopper3d.

If you know parametric surface well -- or to be more specific, you know how to construct 3D surfaces using parametric equations -- it is a smooth transition from mathematical tools (such as Mathcad or Mathematica) to Grasshopper. In Mathcad, the equation for a parametric surface is:

For those who love spirograph may find it familiar. In Grasshopper, the definition looks like this:

Downloaded Grasshopper definition file: paramsurf01.ghx

In which I use Variable Expression component to hold the functions (parametric equations) for x, y, and z coordinates of the surface. Remember to set the data matching to Cross Reference so that u and v make up a 2D matrix.

And the result model of this exercise is:

3 則留言:

  1. Hi
    I can't seem to run the gh definition file for this in grasshopper.
    Do I need Mathcad to run it?

    回覆刪除
  2. ok maybe its not working with this version of gh

    回覆刪除
  3. Excellent work, thank you for sharing it.

    I would like to ask you a question regarding a similar exercise: Do you know of a method to build a surface from an equation given in a non-parametric form? I have been trying with this one:



    You can find more about this class of surfaces in http://demonstrations.wolfram.com/NodalSurfacesOfDegenerateStates/

    回覆刪除