Grasshopper

algorithmic modeling for Rhino

generating rectangles from a given point (how to change to centre point)

Hi all, 

I'm fairly new to GH, and think this is a very elementary task but alas I cannot figure it out for myself. 

Basically I want to create rectangular perforations in a larger rectangle, however, i cannot generate the rectangles from a 'centre point', rather, they seem to originate from a corner point (which skews everything off center, some of the perforations run off the original surface)
Could someone kindly help me to build these rectangles so they're uniformly distributed on the original surface, please?


Thanks very much.

Views: 1309

Attachments:

Replies to This Discussion

Hi Andrew, the Rectangle component X and Y input require domains. You've supplied single values that get automaticly converted to domain from 0 To your value. Provide symmetrical domains e.g. -1 To 1.

Yes! 
Of Course, i was looking in the wrong place for the solution. Solved perfectly. 
Thanks very much for you help Pieter.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service