Grasshopper

algorithmic modeling for Rhino

Hi all,

Complete newbie here...

The issue:

I have built a model in grasshopper, but some of the panel centroids are .1 - 1mm out of plane in the Z direction. I would like to move these panels back into plane.

I would like to extract the most common number from a list, in order to shift the incorrect panels to the most common plane.

What is the easiest method of extracting the most common number from a list?

Apologies if this is a simplistic question.

Views: 1723

Attachments:

Replies to This Discussion

Hi.

Check this out.

Attachments:

perfect! worked a treat!

Thank you very much!

You may also get a useful answer using just the Truncate component. But you'll have to tweak the truncation factor to suit your particular number distribution.

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