Grasshopper

algorithmic modeling for Rhino

Hey guys,

Im new to grasshopper and not sure which tool(s) to  use for this one. I have huge number of closed rectangles that needs to be offsetted to create depth for the walls and floor plates(it's a section, btw). The problem is that they have different vector directions, so they offset randomly,both inwards and outwards. So I was wondering if there is a way I could split them into lists based on the their directions and offset those lists to get the desired outcome.

Thanks!!!

Views: 4406

Attachments:

Replies to This Discussion

offset loose

thanks ... that did work better, but i still have a a few polylines offsetting the wrong way, and a few that don't offset at all.

try this.

Attachments:

still no luck :(. Isn't it possible to split the geometry into lists based on their direction? Inverting the offset distance of one of those lists should do the trick?

this may help you

Attachments:

I wish

Please attach your file.

Agreed. We can't really replicate what you're doing without it.

Offset are different because the curves are oriented in a different direction. This can be solved using the orient curve.

If all curves are in completely different planes, this is probably not the right approach. If they're just in the xy plane, it should solve your worries.

Attachments:

This def offsets in both directions and compares the lengths, allowing you to choose which side you want to offset. Apologies for not giving credit - I can't remember whose solution this is.

I ended up used a different approach of extruding the curves in x and y directions producing strips of surfaces; then projecting the surface edges on to another surface. sorry, I couldn't upload the file here because the file size is too large. Anyway, thanks for your help guys, I really appreciate it. Learnt some interesting stuff I could use for my other assignments.

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