Grasshopper

algorithmic modeling for Rhino

One thing, I´m trying to figure out the way the parameters work within the "LBOut" component. Let´s say I want to bring walls from Grasshopper to Revit. If I want to ocntrol their height, may I add the "unconnected height" parameter in the "LBOut" component? or should I set the walls in Revit to reach certain level?

THX

Views: 864

Replies to This Discussion

Right now you'd have to use the Unconnected Height parameter of walls to control their height.  Their base level is determined by the elevation of the curve and its closest Revit level, but for parameters that require an ElementID, things like the top level of a wall or material parameters, there's no way for Lyrebird to find them yet.  I plan on adding support in the future for some things like materials, but other things like Top Level for a wall or column would be a little more difficult and require more thought to do well.

cool I guess i just have to add the parameter and then use an integer as an input right? Because I tried and it gives me an error...

The parameter has to be added, but it can take a number or integer.  A problem you may run into is that Lyrebird currently only does a 1 to 1 match for its inputs unlike most other GH components so if you're trying to assign one value to 5 walls/curves, you need to duplicate the height value and then graft it to match the curve data tree.

Attachments:

Perfect, it´s solved. Thanks!!

One more thing, what if I want to create a window or a door in a wall. hos should I proceed?

THX

Also, how can I generate a slab with a hole in the middle? Say a rectangle defining the perimeter and an interior offset of this rectangle to define the "hole" (exploding both to get the lines as a grafted LBOut "C" input). Does the LBOut component recognize such a structure?

THX

It´s me again. I noticed in the tutorial that you can preview the geometry in Grasshopper. If I am not wrong, using the "custom" preview component. What is its input?

THX

Alright lets see if I can get all three answers for you.

Creating Hosted Elements:

The origin point you provide needs to intersect a wall.  The easiest way to do this is to use Lyrebird to create the walls and place the point(s) on the curves used to create the walls, but it's not absolutely necessary.  

Basically what's happening behind the scenes is Lyrebird places a small family with a cube geometry and looks for a wall that intersects it and uses that wall as its host. This may require some refinement as different situations come up that I didn't run into during my testing.

Slabs with Holes:

I'll preface this by saying that there's some odd gaps in the Revit API that prevent some things from happening.  For instance you can create Floors and Roofs via the API, but you can't create a Ceiling which functions almost identically to either of those.  Another omission is Floors accepting multiple curves to create holes.  Roofs and Walls that are created via profile can accept multiple curves and use the interior ones to create holes, but floors cannot.  A workaround would be to place openings based on the other curves, but I wasn't happy with that so I thought I'd wait and see what the Revit 2015 release has.

So when you're creating a floor, roof, or wall with a custom profile, you don't want to explode and graft the curves.  They should be closed planar curves and if it's a roof or wall by profile, you can feed multiple curves per branch and create elements with holes.  With floors you can only have one closed curve per branch because it can't create holes yet.

Preview:

The preview I show int he video may come back to haunt me, but I wasn't trying to imply there was a function that retrieved the Revit geometry to generate a preview in GH.  It was just trying to show that using the same data you can construct similar things with both Revit and GH to show that you're making as close of a translation as possible between two completely different platforms.  I didn't show that part of the sketch because it was really messy and I didn't want to take the time to clean it up before making the video.  It's all just off to the side in a tangle of wires.  

Sorry for the confusion on that one.

I've attached another file that shows basically what was happening in the video by creating a small revit building with walls, a door, a floor, and a roof with a hole.  The Lyrebird components are referencing Revit data from the default.rte template that ships with Revit 2014 if you want to test it as is, otherwise you may have to reset what family types these are set to.

Attachments:

Hi! One more question. Do you know if it is possible to orient a door when you insert it in a wall using a Lyrebird component? 

As far as I know, Lyrebird does it by default according to the orientation of the line that is used to create the wall in Revit. But what if I want to modify the direction of the openning?

THx

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