Grasshopper

algorithmic modeling for Rhino

Hello
I have a program of Scilab
I want to converting to C#

Can anyone help me please 

Views: 1021

Attachments:

Replies to This Discussion

Ooh I do love me some source code with not self-documenting variable names.

Could you give us a run down of how the 4 columns of data are supposed to be parsed? What are the meanings of the numbers and how do you want them imported? The code is incredibly hard to read because everything is called e3, p, V, M, p0, t2 and stuff like that.

The program is a set of mathematical equations
where codes can be changed
But this image
Possible help you to understand these codes
I hope that you can help me
Thanks

np = (Number of points )

M = (Matrix points ( the 4 columns of data) ) 

P0= (Starting point )

Ok so the first two columns are to be used in expression e, while the last two columns provide the input for expression d? This is a 2D only problem, no z-coordinates involved?

And what are these expressions?

Here's an example of how to extract data from columns. The expression component just directly use x and y values, but you can amend the expressions as needed.

Attachments:

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