Hi, I have a mathematic function (a curve in a plane).
How can the grasshopper generate it.
Like z = y^3 - y^2 + 100
‘z’ is so far out of scale compared to ‘x’ and ‘y’ that it’s difficult to see the full effect in a close-up:
math_2023Feb6a.gh (4.6 KB)
You can do the same thing with the Evaluate component. Both are found at ‘Maths | Script’. If you zoom in on the inputs, both can add more inputs. Instead of the text panel for Evaluate, you can right-click on the ‘F’ input and type directly or use the ‘Expression Editor’.
Thank you very much!
I really appreciate your help.
Hi, I’ve got the points in the .gh file.
How can I obtain the fit curve.
Oops, I was sure I had already posted this, perhaps it answers your new question?
math_2023Feb7a.gh (7.5 KB)
There are other ways to create a surface from points, like SrfGrid. And the values from Eval can be manipulated further before creating the points with tools like ReMap and Graph Mapper.
Great!