Grasshopper

algorithmic modeling for Rhino

Yay ! 

I managed to put Galapos to good use on one of my projects.

I have a set of key points that have theoretical positions, and a set of survey points which gives me the real location of these points.

The problem is to place the "cloud" of surveyed points in a position which minimises the sum of offsets between theory and reality.

I set up a simple definition which finds the "pairs" of points, gets the distance between them, and adds up these distances : that's the value I need to minimize.

Then I set 3 "genes" which are 3 sliders :

One for a global translation of the survey ponts in "X" direction, one for a translation in "Y", and one for a global rotation around the centerpoint of my project.

The evolutionary solver was able to minimise the summ of distances by 30% !

This means that the fittings I design to connect my steel structure to the existing buildings will need less allowance for adjustments.

Cheers,

--

Olivier

Views: 255

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