Grasshopper

algorithmic modeling for Rhino

Johann Magnus Kjartansson
• Male
• København
• Iceland
• Blog Posts
• Discussions (13)
• Events
• Groups
• Photos
• Photo Albums
• Videos

## Johann Magnus Kjartansson's Discussions

### Sort surfaces between horizontal or vertical ones.2 Replies

I should be able to ask this question without posting a picture.I have a closed brep that consists of horizontal and vertical surfaces.I have exploded the brep and now I want to get only the…Continue

Started this discussion. Last reply by Johann Magnus Kjartansson Apr 8, 2014.

Marley an interface request, this was the place where I thought it would be obvious to find this function, but after googling I found it in the Solution menu.Great function, but I'm dumb so I like…Continue

Started Apr 19, 2013

### Branch item count4 Replies

I have 10 branches in a tree. In each branch I have a collection of points.What I want to find out is how many points there are in each branch.I can get the amount of total points in the whole tree…Continue

Started this discussion. Last reply by Johann Magnus Kjartansson Mar 20, 2013.

### Test if a curve is within another curve

I have a collection of closed curves. Some of these closed curves are contained within another curve. I simply want to sort my list of curves into 2 separate list.1) Curves that are not contained…Continue

Started Apr 21, 2012

# Johann Magnus Kjartansson's Page

## Latest Activity

"wow! i really need this! Is there any way to get to to drop it "normal", assuming original is a flat object and you are dropping it to a curved surface and need it tilted to the normal direction of the surface? "
Jun 30, 2014
"Thanks man, that worked! :) I had already solved it with a much more complicated one...will use your solution."
Apr 8, 2014
"One solution that comes to my mind: project all surfaces on flat (horizontal or vertical) one then have some with 0 area and some with more than 0 - here is your culling pattern."
Apr 8, 2014
Johann Magnus Kjartansson posted a discussion

### Sort surfaces between horizontal or vertical.

I should be able to ask this question without posting a picture.I have a closed brep that consists of horizontal and vertical surfaces.I have exploded the brep and now I want to get only the horizontal surfaces?So I need to make a cull pattern that sorts my surfaces to two lists of horizontal and vertical surfaces.Does anyone have a quick (I assume) sollution?See More
Apr 8, 2014
"Hello Luca, This is exactly what I'm looking for as I want to work with a standard 2440 x 1220 mm osb boards in my structure. Could you possibly make this definition with a little bit more guidance text in the file, to walk me through it. It…"
Apr 6, 2014
Johann Magnus Kjartansson posted a discussion

Marley an interface request, this was the place where I thought it would be obvious to find this function, but after googling I found it in the Solution menu.Great function, but I'm dumb so I like dumby proof things ;)See More
Apr 19, 2013
"Ahh, thank you. My tree was only at a second level of branching {A;B} so this did the trick. {A;B}     ->     {A} As I understand it correctly, it takes all the B branches in each list and flattens them onto a single branch…"
Mar 20, 2013
"You'll have to use the [Pathmapper] component.  {A;B;C}           ->          {B} should do the trick. "
Mar 20, 2013
"Sorry, I forgot to mention that in each of the 10 brances, area sub-branches as the data is originally collected from polylines, so a sub-branch for each polyline. I'm using "Control Points" to collect the points from the…"
Mar 20, 2013
"You don't need flatten at all. Just use List Length on the entire tree and you'll get lengths for each branch in the tree. -- David Rutten david@mcneel.com Poprad, Slovakia"
Mar 20, 2013
Johann Magnus Kjartansson posted a discussion

### Branch item count

I have 10 branches in a tree. In each branch I have a collection of points.What I want to find out is how many points there are in each branch.I can get the amount of total points in the whole tree by flattening it and doing list length. But is it possible to flatten only the branches and then do a list length that will give me the number of points in each branch?See More
Mar 20, 2013
Johann Magnus Kjartansson posted a discussion

### Test if a curve is within another curve

I have a collection of closed curves. Some of these closed curves are contained within another curve. I simply want to sort my list of curves into 2 separate list.1) Curves that are not contained within another curve2) Curves that are contained within another curveThe reason why I want to do this is because I am offsetting all my curves to make a roof edge and I want the curves in the contained list to offset outwards, and the not contained curves to offset inwards. Right now I am sorting my…See More
Apr 21, 2012
"I get an error when I try to run the script, both in Rhino and Grasshopper. I want to use this to be able to render a view, then make2d and place the vector lines over the rendered image, having the viewport boundary as vectore lines would really…"
Apr 14, 2012
"Yes that's it! Thank you very much Lucas! I'm gonna go drop some bombs on my terrain :)"
Mar 31, 2012
"it isn´t very elegant, but it works... is it what you were looking for??"
Mar 30, 2012
"In my case the "trees" are circles, so I can use Grasshopper to place tree blocks in the center of the circles, then I want to drop these 3D trees down to the terrain surface... Just to avoid confusion, I dont want to project the 2D…"
Mar 30, 2012

## Profile Information

Company, School, or Organization
Aarhus School of Architecture

Join Grasshopper

• View All