Grasshopper

algorithmic modeling for Rhino

Hello, my name is Matthew. I am a beginner to grasshopper and am currently going through 'algorithm aided design' by Arturo Tedeschi. I am struggling with 'Affine transformations' because my script will not produce a series of transformations in the z direction, as well as when I attempt to put an equation in the equation is not recognised.

Please have a look and would greatly appreciate an advice.

Best,

Matthew

Views: 386

Attachments:

Replies to This Discussion

Two things:

  1. The code expects a stack of geometry, not a single item (disk).  With only one, 'Lng'  (the list length) is one, so 'A-B' returns zero.  I fixed this by using 'ArrLinear' to make a stack of ten disks.
  2. For 'Eval'. I normally right-click the 'F' input and use the 'Expression Editor, but a panel will work if there are no syntax errors.  You have to change this: "Need to plug in equation: -(1/10)*x2+x+1, with 1 < x < 9" to this "-(1/10)*x^2+x+1".

I used 'Internalize Data' on the 'Geo' so no Rhino file is needed.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service