Grasshopper

algorithmic modeling for Rhino

I have been using grasshopper for 3 days now and I am trying to create a script that will find the largest and (hopefully) the best spaces to intervene in a very large city.

The approach I am using is finding the closest point from a building (internal element) to the street (external element). The subdivision and overlapping of these distances gives a graphic representation of which spaces are more susceptible to an intervention.

However I just hit a wall since I still don't grasp fully the concept and notions of trees and data in grasshopper.

the next step is to create a 2d polysurface (and someday 3D) with the points that conform the closest point lines. I need to sum 450 end point with 450 beginning points to generate 900 points. But using the math sum operator gives me the sum of the XYZ coordinate of the points.

After I solve this issue I will get to finding a way to replace the closest points that go inside a building with the second closest point. But for now, finding how to sum points and creating the surface is more than enough.

Views: 1699

Attachments:

Replies to This Discussion

Looks good!
Not sure how well the technique I showed for the medial axis will cope with very large data sets, because it relies on computing the voronoi of a large number of points (depending on how densely you sample the input curves), and I believe there are much faster algorithms out there for computing the medial axis...

If my last post looked good, then this must look awesome! ;)
In fact, its much better. I found it in this discussion [1] posted by Mateusz Zwierzycki. He didn't post the definition, but showed a picture, so I interpretated it and added the [flatten].

greetings,

--

max

[1] http://www.grasshopper3d.com/forum/topics/maximum-inscribed-circle?...

Attachments:

hello!

I'm having trouble downloading this ghx. it's downloading only as an XML.

Is it possible you could reupload it?

but overall, curious to see if you have been able to take this into 3D.

i'm trying identify the medial axis between surfaces of the interior of this volume.

I'm trying to extract the medial axis here to create a new geometry.

many thanks,

rp

Attachments:
Ghx are XML files so you have to right click to download the file.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service