Rhino

Rhino/Sketchup/Revit seamless workflows

This week I'm giving a quick introduction to Flux, an app for interoperability between various design software like Rhino, Revit, Sketchup, Dynamo, Grasshopper, and other programs like Google Sheets and Excel. Much like Doodlebug, Flux can drastically cut down on time and effort wasted on getting digital models and drawings from one program to the next. It also allows users to collaborate on projects through the cloud using any of its supported apps. I've been using it this summer on a small project during my internship at HKS, and Flux has allowed the project team to divide up modeling tasks between users using both Rhino and Sketchup (some users prefer one software over the other) but still have changes reflected in both programs, since all data is hosted online through the Flux cloud.

Below is a quick demo showing how a project can send data from Rhino to Sketchup. This workflow is valuable because it lets users take advantage of the differences in each program; I prefer the ease and speed of the geolocation and shadows in Sketchup, though I'd rather model everything in Rhino. I've created a new "Project," and each project contains data called "Connections" that users set up to upload different parts of the model to the cloud. 

In the animation above, I'm drawing new geometry in Rhino and creating a new connection through Flux, then sending that geometry using the "Upload" (up arrow) once the modifications are made. In Sketchup, I navigate to that same connection, switch the arrow to "Download" (down arrow), and the geometry downloads and places itself in the Sketchup model. All scaling happens through the app, meaning that I can draw in inches in Rhino and feet in Sketchup, and not worry about scaling the geometry.

Modifying the geometry and updating the connection will automatically delete the previous iteration of the geometry when you download from Flux. The extra lines in the Sketchup view are edges from the Rhino loft, which can be removed (actually just …

Modifying the geometry and updating the connection will automatically delete the previous iteration of the geometry when you download from Flux. The extra lines in the Sketchup view are edges from the Rhino loft, which can be removed (actually just hidden) by using "Soften Edges" which I did in the previous animation.

Every modeling and drawing program has its advantages and disadvantages. The last post about Doodlebug demonstrated another way that we can use the best features in each program without dealing with extra files and conversions. With Flux, you can model freeform in Rhino, take advantage of Revit families, and use the easy geolocation features in Sketchup for proper shadow studies, all without having to export and re-save files every time you want to move your work to another program.

Get a free account and the apps for each software at https://flux.io/
Free accounts get two projects with 10GB storage total (should be plenty for smaller projects). 

Automate Make2D using Grasshopper

The work happening in the script I'm showing today is only possible if you use the new Make2D component that comes with the work in progress version of Rhino 6. The developers at McNeel allow Rhino 5 users with a paid license to access the work-in-progress build of Rhino 6 (Windows only). If you have a license key you can access the WIP build here: https://www.rhino3d.com/download/rhino/wip

The new Make2D component means you can work in Rhino and see a real-time update of the Make2D function without having to re-run "Make2D" in Rhino each time you want to export linework. This script will be critical in an upcoming tutorial that explains how to take the linework from the Make2D component and bring it into Illustrator without having to save and export Illustrator files.

The script relies on Grasshopper's Geometry Pipeline which automatically selects all geometry with either a given name or a given layer. This component is extremely useful since it allows the user to just have the script running in the background in Grasshopper and work solely in Rhino, but still have Grasshopper doing all the work in the script.

For the script to work, you have to have saved a Named View that will determine the camera positioning for the Make2D, and type that name into the first yellow panel (mine is called "View1"). Have a look at the script I've attached and some of various components involved. 

Click to enlarge and see what the different components are doing.

Component: "Carve" for boolean subtraction

A common way of working in Rhino, at least in early design stages, is to perform a bunch of boolean subtractions on a simple mass. I've created a Grasshopper component called "Carve" which makes performing subtractive boolean operations in Rhino much quicker and easier to iterate.

The component asks for original geometry, geometry to use for the subtraction, and the layer name for baking the new geometry (this must match an existing layer in the Rhino file). The component automates the subtraction, and resets itself anytime the user moves the subtraction geometry in Rhino. It moves the result off to the side so a user can operate by moving the solids on one side, and immediately see the result of the subtraction without having to turn off any layers or hide geometry.

This component relies on the baking functions built into the Human plugin. Download that at this link: http://www.food4rhino.com/app/human and follow the installation instructions on the food4rhino page.  

To install the .ghuser file, in Grasshopper, select File->Special Folders->User Object Folder, and drag the file into that folder. Then, restart Rhino and Grasshopper.

Note: The carved geometry must be on its own layer. Make sure the subtraction geometry is not set on this layer, or the script won't work.

User component: Carve.ghuser 
Example Grasshopper script: DeisherStudio_CARVE.gh 
Example Rhino file: DeisherStudio_Carve.3dm