Grasshopper

algorithmic modeling for Rhino

Hello All, 

I've got multiple polysurfaces in a group. Id like to create a rectangular surface thats edges meet with the farthest outside edge of the grouped geometries. My plan was to pick the exterior face of a bounding box of each group of polysurfaces. The bounding box however is currently aligned to the xy. Im trying to align the bounding box via 3 points at the corners of the geometry. I havn't gotten very far past the bounding box part of this but my train of thought had to do with using a point to measure for the farthest distance to points which would be the "outside edges" of the geometry. Hopefully that was clear enough. Let me know if you have any ideas for an approach. Attached is some images and the groups of polysurfaces I'm working with.

Thanks!

Views: 2018

Attachments:

Replies to This Discussion

While I was waiting for ning.com to come back up this morning, I puttered a little more with the "center" of any point cloud...  First by clustering the code and adding the X, Y and Z domains, then realizing there was a simpler way:

A 'PtCloudCntr' cluster is included in this revised version of yesterday's effort; it might be useful in other contexts.  Pieter's vector solution for a minimum bounding box, regardless of orientation, is far superior.

Attachments:

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