MetaBall(t) Part 03

This post is a continuation of MetaBall(t) Part 02 and focuses on transferring coloured curves generated previously in GH into Rhino.

I’m using Rhino 6 and the model units are in mm. MetaBall Part 03 requires additional components from the following plug-ins:

Clean Parallel (EleFront Plug-in) and Object Bake (LunchBox)

Step 00.jpg

Step 00:



We start with creating layer names for Rhino. Similar to the number of colours, the number of layers is the same as the number of MetaBall layers. As a result we reuse the List Length and this time we feed it into the C input of a Series Component to generate a series of numbers starting at 0. We then use a panel and Concatenate component to create the following layer names:

MB 0, MB 1, MB 2, MB 3, …

Tip #1: By right clicking on the

Concatenate component, we can specify the manner input A is separated from input B. In this case I’ve separated the inputs using a space.

 
Step 01.jpg

Step 01:



In this step I’ve used a Clean Parallel component from the EleFront plug-in. This component cleans and removes empty branches of data from the MetaBall Curves list (P input) and repeats the same task on other lists (layer name and colours in this instance).

Tip #2: Make sure to right click on the Clean Parallel component and select Remove Empty option.

 
Step 02.jpg

Step 02:



In the last step we use the Object Bake component from LunchBox. Then we feed the outputs of the Clean Parallel component to the Bake inputs. To create a True / False condition, use the Boolean Toggle component.

Tip #3: Make sure the Boolean Toggle is set back to False once the Baking Process is complete. If not, GH will continue baking the geometry once there’s a change in the script.

Previous
Previous

MetaBall Part 02

Next
Next

Image to Contour