offsetting multiple closed polylines inwards

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!!!

Load Previous Replies
  • up

    Arend

    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.

    • up

      RustBoy

      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.

      • up

        Venkatesh Natarajan

        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.