Grasshopper

generative modeling for Rhino

Daniel Illum-Davis
  • Male
  • Copenhagen
  • Denmark
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (7)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Daniel Illum-Davis's Friends

  • Jes Tonsgaard

Daniel Illum-Davis's Discussions

Closing trimmed voronoi curves?
12 Replies

I've (along with a colleague) created a fairly rudimentary city building voronoi command, that populates a given region with a random scattering of points, and from those points creates a voronoi…Continue

Started this discussion. Last reply by Walter Zesk Mar 17, 2011.

Simple move function?
3 Replies

Forgive my apparent ignorance, but I've only picked up grasshopper recently and have endeavoured to get to grips with it, without the need to pester the office's resident grasshopper/CAD monkey (he's…Continue

Started this discussion. Last reply by Daniel Illum-Davis Jan 5, 2010.

 

Daniel Illum-Davis's Page

Latest Activity

Walter Zesk replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"I am not a huge fan of the way offsetting works for closed polylines/polycurves (particularly the little tiny line segments you get when offsetting out).  I generally used the attached little cluster for all my polyline offsetting needs. …"
Mar 17, 2011
Mattias Eriksson replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Ah, now I get it. Sorry for the late reply but I've been on holidays surfing =). Doesn't seem like it is a problem with the code per se, but rather a conflict with how offseting works. When you shrink a closed polycurve with the offset…"
Jan 28, 2010
Rafael Martin replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Hey guys, I'm just having same problem. Couldn't with any of yours tips resolve my problem. My voronoi, when offset, still breaking curves. Try everything that I've found here, with no success. Hope it's a bug, and will be fixed…"
Jan 19, 2010
Mattias Eriksson replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Well, I'm not sure if there is a problem since I haven't experienced any of them. But it is to be expected that some of the paths are empty or even contain multiple cells. 1. If a cell lie entirely outside the trimming region it will be…"
Jan 14, 2010
Daniel Illum-Davis replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Just tested your solution mattias and it's rather wonderful. The only issue I've had is grasshopper's(seemingly?) reluctance to trim/cull reliably with lots of curves at once (as in, some of my curves remain blank rather than having a…"
Jan 12, 2010
Daniel Illum-Davis replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"David, "The Voronoi solver has been highly optimised, and at present it can only deal with convex polygons. I'll add another component which allows you to supply a curve, and then I'll use the convex hull of the curve control points…"
Jan 12, 2010
David Rutten replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Region Boolean operations are ultra slow. Basically it converts all curves to trimmed BReps, then performs a sort of solid boolean on the BReps, then extracts the edges again. Yesterday I started writing a set of functions that operate directly on…"
Jan 8, 2010
David Rutten replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Hi Daniel, "I would be nice if the voronoi bounding box component would accept various shapes". The Voronoi solver has been highly optimised, and at present it can only deal with convex polygons. I'll add another component which…"
Jan 8, 2010
Mattias Eriksson replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Hmm liked the problem and had a stab at it. As far as I can tell this works pretty well. What it does is trimming the region by the voronoi; trimming the voronoi by the region and then joining them after weeding out all the empty trees (i.e. cells…"
Jan 8, 2010
Daniel Illum-Davis replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Had limited success with region intersection. In the end it it did leave me with a series of joined curves (as far as I could tell), BUT it was taking 56,000ms to calculate the intersects, so thats obviously not ideal. May end up baking the basic…"
Jan 7, 2010
Daniel Illum-Davis replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"Trimming the bounding area with the Voronoi cells just results in getting the same bounding area back again. If there was a way to split a surface up perhaps then I could create a surface from the bounding cells, split it using the voronoi and left…"
Jan 7, 2010
Luis Fraguada replied to Daniel Illum-Davis's discussion Closing trimmed voronoi curves?
"can't you trim the bounding area with the trimmed voronoi cells? You can test to see if the curve is closed and if its not, then try to intersect with the bounding cell to get the necessary segment..."
Jan 7, 2010
Daniel Illum-Davis posted a discussion

Closing trimmed voronoi curves?

I've (along with a colleague) created a fairly rudimentary city building voronoi command, that populates a given region with a random scattering of points, and from those points creates a voronoi which is then in turn trimmed using the region inputted at the start.At this stage everything works smoothly (picture 1). Using these curves I then want to offset to create a road network, offset once more to create a building depth and then loft to create the final building.Unfortunately the voronoi…See More
Jan 7, 2010
Daniel Illum-Davis replied to Daniel Illum-Davis's discussion Simple move function?
"Thanks for the reply David, that helped, was easy to define a point on the red and green grid given the bottom left hand corners are both their respective 0 string when exploding a tree, so creating a vector was simple, regardless of the number of…"
Jan 5, 2010
Jes Tonsgaard replied to Daniel Illum-Davis's discussion Simple move function?
"Hehe..."
Jan 5, 2010
David Rutten replied to Daniel Illum-Davis's discussion Simple move function?
"Hi Daniel, you need to find two points, one on the green grid and a corresponding one on the red grid. Then construct a vector between these two points, and feed that vector into the Move component. If you only supply a single motion vector, then…"
Jan 4, 2010

Profile Information

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service