Grasshopper

algorithmic modeling for Rhino

Hi all,

i want to make a simple recursion in Python.

I have a polygon, i explode it, evaluate each segment and want to stroke a line(closedPolyline) throw the points.

I didnt found a solution searching on the web, but i read in the help, that Polylines are closed if start and end points coincide, so i am a litte bit confused why it isnt closed.

Also i think there is something wrong  in the first loop, i dont adds more than one curve to the list. Not sure why

Thanks in advance!

Views: 1769

Attachments:

Replies to This Discussion

Hi Tom!

like always i really apreciate your help and your enormous readiness to help others.

i posted also in the rhino forum and learned how noobish i tried this:)

https://discourse.mcneel.com/t/close-polyline-python-rc-geometry-po...

Now with this knowledge i might be able to solve the problem of this discussion http://www.grasshopper3d.com/forum/topics/python-curvecurveintersec... you already answered to.

Probably its the same that i need to put it in a recursion. I will try it this weekend, maybe i am now fit enough to fixed.

Have a nice weekend!

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