Grasshopper

algorithmic modeling for Rhino

Hello everybody;

After reading this post 

http://www.grasshopper3d.com/forum/topics/fractals-sierpinski-varia...

And getting a copy of Indra's pearls

I was going to try and code some transformations in VB using complex numbers.

I'm not the best coder  but I am sort of comfortable.

I was wondering where can one find the complex numbers, I'm assuming that since there are components in GH that use them they could be called within the VB.

But I cant seem to find them.

Although from my limited understanding maybe the class has been made for the components but is not accessible.

http://www.vb-helper.com/howto_net_complex_number_with_operators.html

Thanks in advance for any tips

Views: 764

Replies to This Discussion

Hi Nicolas!

Take a look at Grasshopper.Kernel.Types.Complex

Thanks Thomas I was trying to use the Grasshopper Kernel but I can't seem t be able to dim a complex number through the types.complex

I will keep trying

Dam that was a lot easier than I thought, went too deep into the kernel part

Just:

Dim d as New Complex(1,2)

Rookie mistake, thanks for the pointer Thomas

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service