Grasshopper

algorithmic modeling for Rhino

Hi,

I've written a Python script that should determine lines that are inside the intersection areas of three or more circles. The script kinda works but I'm missing something, since it doesn't "delete" all of the lines that are in the intersection areas (pic).

I'm evaluating the line positions by determining their start and end points and evaluating if they are in the intersection area.

Does anybody have an idea on how to fix this?

Thanks.

Views: 588

Attachments:

Replies to This Discussion

hi Marc,

it seemed that the task can be done by grasshopper components and i read in a post by Steve Baer that you can access the components by importing components from ghpythonlib (you can even imported outside the canvas!!)

so i took the liberty to modify your script this way and it worked!!

Attachments:

Wow, this is amazing. Thank you so much for your insight!
However, the gpythonlib can't be imported some how?

Do you know how I could change your code, for it not to trim the intersection lines with the region, but to omit the whole lines (even if a piece is outside the region)?

I've solved the import problem by updating rhino to the latest version.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service