Elefront for Grasshopper

5 min read

Elefront was developed by Ramon van der Heijden and is a plug-in focusing on managing model data and interaction with Rhino objects. The plug-in allows users to bake geometry to the Rhino model with the option of specifying attributes. These attributes include an unlimited amount of user-defined attributes using key-value pairs. This way it is possible to treat a 3D Rhino model as a database. Each object ‘knows’ what it is, what it belongs to, where it should go, what size it is, when it needs to be fabricated, etc. Instead of trying to store geometry in a database, Elefront stores data in a ‘Geometrybase’. Thereby turning your Rhino model into a quasi BIM model or as Ramon refers to it, ‘SoftBIM’.

SoftBIM

SoftBIM was first coined by UN Studio, of which Ramon use to work. In their ACADIA 2012 paper, ‘SoftBIM – An open-ended building information model in design practice‘, the authors proposed an integrative, schematic, and open-ended model for dealing with complex assemblies of geometric and non-geometric project data, aiming to remain non-reliant on specific software packages.

Elefront adopts this methodology by focusing on both geometry and data. By storing all data inside Rhino geometry, Elefront will enable you to split up your Grasshopper process into manageable portions that multiple users can use as input for further Grasshopper development. Moreover, Elefront is ideal for exporting Grasshopper data into Dynamo/Revit. By using it in conjunction with Rhynamo, Rhino objects with embedded intelligence can be transferred seamlessly into Revit. Without initially intending to do so, Elefront has significantly improved the interoperability between Rhino and Revit.

Elefront_Attributes_1600x1000
Elefront_Components explained_1600x1150

Elefront components

Here are a few useful components that I use regularly:

Bake Objects

Required inputs include: Geometry, attributes, bake name and Boolean toggle to active. One of the cool features of this component is that if a name is specified, all objects that were previously baked with the same name will be automatically deleted once the new objects are created. This setting means that you no longer have to delete previously baked geometry before re-baking them.

Object Attributes

This is used in conjunction with the ‘Bake Objects’ component. Required inputs include name, layer, colour, material, keys and values. Once baked, it will create objects with ‘UserText’ assigned to them.

This Rhino feature is one of the ‘hidden’ commands that often gets overlooked by users. Essentially, UserText will allow you to create custom parameters for objects which aren’t visible in the properties pallet. Therefore, beyond just specifying the name of the object and its display colour, etc., we can create custom parameters just like in Revit. For example, if we had a panelised surface, we could create a ‘Mark’ key (parameter) and define its value. There is no limit to the number of keys/values that can be applied to elements. We can therefore build-up as much information as desired.

However, it is important to note that when baking an object, it can only have one set of Elefront attributes. Also, Elefront attributes can only be assigned to Rhino objects that have been baked from Grasshopper. It is not possible to assign attributes to a Grasshopper element and use those attributes without baking them. This limitation means that parallel data structures (geometry and data) will need to be maintained throughout your Grasshopper script until they are ready to be baked.

Elefront_Panelisation_1600x600

To access UserText values once elements have been baked, you can use the ‘GetUserText‘ in the Rhino command line. If you select ‘All keys’, Rhino will return all the user attributes for that element. To clear an object’s UserText once it has already been created, use the ‘SetUserText‘ command in Rhino and enter “” (double quotation marks).

Elefront_UserText_1600x1000

Get User Attributes & Get User Values

One of the powerful advantages of Elefront is the ability to bake objects into Rhino and then reference them back into Grasshopper. When doing this, you will need to perform a solution recompute (F5) before Elefront can read the baked Rhino geometry.

Elefront_GetUserAttributes_1600x800

Data Description

This component will help you organise your grasshopper definitions. By setting a description, it will automatically be updated downstream if modified. 

Elefront_DataDescription_1600x500

Reference Block by Name

This is a powerful component and works similarly to some of the other Grasshopper plug-ins like Human and Horster. For example, you may have some residential apartments that have been manually modelled. If these are turned into a Rhino block and named accordingly such as ‘1 Bed’, ‘2 Bed’, etc., we can use this component to reference in only the blocks we need. Additionally, the blocks contain any associated data in the form of user attributes we can use the ‘Filter by User Attributes’ components to narrow down our selection.

resi_tanonomy_1600x800

The example below shows a series of predefined apartment layouts that have been analysed with Ladybug for SEPP65 solar compliance. The results were then embedded into the rhino block. Using this component, we can reference into our Grasshopper script from our library only those 1-bed apartments that comply with SEPP65 solar access at a given rotation.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add Revision to sheets

Add revisions to multiple sheets

A simple Dynamo workflow for adding or removing a revision to multiple sheets simultaneously in Revit 2022 or lower.

Create Internal Elevations with Dynamo
Premium

Create internal elevations

Generate elevation markers and corresponding internal elevation views using Dynamo based on rooms and their bounding wall’s orientation.

Sync Room Parameters
Premium

Sync room parameters

A Dynamo workflow to synchronise instance-based room parameters, such as apartment number, nested within a Revit model group.

Rhino Inside Revit for Dynamo users

Rhino.Inside Revit for Dynamo users

Learn some of the key differences between Dynamo and Rhino.Inside Revit and discover the benefits of migrating certain Dynamo workflows to Rhino.Inside Revit.

Copyright​

© 2023 Parametric Monkey
Parametric Monkey and the Parametric Monkey logo are trademarks of Parametric Monkey Pty Ltd.

CONTACT US

Drop us a message and someone from our team will be in touch with you shortly.

BOOM!

Thank you for your interest. Someone from our team will be in touch soon.

WORKSHOP APPLICATION

To find out about upcoming public workshops or to organise a private workshop, please submit the following contact form and we’ll be in touch soon.