Grasshopper

algorithmic modeling for Rhino

How do I give this Equation so that I get the geometry out of it?

(x² + 9/4 y² + z² - 1)³ - x²z³ - 9/80 y²z³ = 0 

Views: 1651

Replies to This Discussion

you need to paramaterize it.

Where did you get it from? There is probably a paramaterised version. For Instance Wolfram Mathworld gives the Equations of a circle like this. But in GH you will want either of the equations in the Red Ellipses.

Dannyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy :)

I got it from here: http://www.mathematische-basteleien.de/herz12.gif

No how do I parametrise something like that?

I haven't found the 3D version but here is a 2D version Parameterised.

Attachments:

nice stuff !!

try the excellent K3Dsurf...

If you don't want to leave GH you can use isosurface component from the millipede plugin.

hmmm ... 

What is the component, that comes after the domain box component?

how do you give this formula in the evaluate component?

how should this component know x,y and z?!

1. Range

2. I connected a panel component with the formula written on it to the F input

3. If you connect a point to an input of an evaluate component (say the input is named P) you can retrieve the x, y and z values by using P.x, P.y and P.z as variables in the formula.

aha

and what does the "star" in the domain "number of steps" mean?

It's an Expression (right Click the input to get the context Menu and select Expression)

At a guess it is "N-1" other wise you will have 1 more than you need in the output.

For example when you divide a curve into 60 segments you will get 61 points.

N-1?

What are Expressions?

How many Expressions are out there?

Where N is the input (in this case 60)

Therefore N-1 = 60-1 = 59

This could have been done out side of the Range component by using [Subtraction] but it looks neater to have it as an expression.

Technically the formula you have in the beginning is an expression

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service