Grasshopper

algorithmic modeling for Rhino

I want you to teach how to write ”Bessel Function” in the grasshopper.

Thanks in advance!

Momiji

Views: 747

Comment

You need to be a member of Grasshopper to add comments!

Comment by Y.Kate on June 4, 2016 at 11:31pm

Thanks a lot!

It is working now, Thanks again for your help!

Comment by Laurent DELRIEU on June 4, 2016 at 10:13am

Hope it helps, work is done following (almost I presfer C#) Daniel proposition 

http://www.grasshopper3d.com/forum/topics/bessel-function

Comment by Y.Kate on June 3, 2016 at 11:28pm

Thank you for mine in answer to a question

I intend to make the curved surface roof using this function

What should I input into VB?

Comment by Daniel González Abalde on June 3, 2016 at 11:08am

1) Download the Meta.Numerics.dll from the "Content ZIP" from https://metanumerics.codeplex.com/releases/view/611568

2) Unblock dll file.

3) In GH, invoque a VB script component. Right click > manage assemblies > add Meta.Numerics.dll.

4) Set first param as "nu" and type hint double. Set second param as "x" and type hint double. Set First ouput as F and second output as S.

5) Double click over component and type:

Dim sp As meta.Numerics.Functions.SolutionPair = Meta.Numerics.Functions.AdvancedMath.Bessel(nu, x)
F = sp.FirstSolutionValue
S = sp.SecondSolutionValue

In this forum, the post cannot post files in comments, you should have opened a discussion instead.

I usually do not answer questions such as "seek information and make me my job," but to find this library, I wanted to see what was in it. So... what you want to try with this? What are you going to do? Please, surprise me a bit.

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service