Grasshopper

algorithmic modeling for Rhino

Hello, 

I want to transform geometries (like curves, polylines, etc.) iteratively with using C# component. I attached the gh file, a screenshot of the result and a representative image of what I would like to have. 

Thanks in advance! 

Views: 411

Attachments:

Replies to This Discussion

You need to duplicate your curves, because you've got a single list which contains N references to the same curve. Inside your look, add

crv = crv.DuplicateCurve();

Oh actually, polylines are a bit different, they do not derive from Rhino.Geometry.Curve.

To duplicate polylines, write:

crv = new Polyline(crv);

Thank you very much, it works now! 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service