This repository uses the GHops component within Grasshopper in Rhino3D to generate Gridfinity (https://gridfinity.xyz/ developed by Zack Freedman) modules automatically by controlling some key parameters such as count in X, Y, total height, divider height & height of bottom surface.
By using the hops component, we are able to simplify the Grasshopper file into one only exposing the key parameters. There will be a brief run through of the use of hosp below. For more information on how to use hops, go to https://developer.rhino3d.com/guides/compute/hops-component/.
- readMe
- gridfinity.ghx (source GHX file with GH definitions to be referenced when using hops)
- gridfinity_HopsDefault.gh (template GH file to get started with using Gridfinity for Rhino3D in hops)
-
Open Rhino3D
-
Install Hops: First, you need to install the Hops plugin for Grasshopper. You can download the plugin from the food4Rhino website (https://www.food4rhino.com/en/app/hops) or install it using the Rhino Package Manager (search PackageManager in command line in Rhino3D).
-
Open Grasshopper: Open Grasshopper by typing "grasshopper" in the command line in Rhino3D.
-
Add a Hops component: To use Hops, you need to add a Hops component to your Grasshopper definition. You can do this by going to Params --> Util --> Hops. The easier way is to double-click or press the spacebar on the Grasshopper canvas & search for "Hops"
-
Pull gridfinity.ghx file into your local machine (alternatively, able to path the hops to https://github.com/commandRobot/gridfinity-rhino3d/raw/main/gridfinity.ghx , but that may not be working)
-
Connect your script to a Path: There are 2 ways to connect your Hops component to the source Grasshopper Hops file
- Right-Click on the Hops component & select "Path". Then, select the gridfinity.ghx file from within your local machine
- Right-Click on the hops component & selct "Show Input: Path". Then open a Panel (right-click or space bar in GH canvas and search "Panel") and paste the permalink to the hops (https://github.com/commandRobot/gridfinity-rhino3d/raw/main/gridfinity.ghx) The hop should now show the parameter inputs and output.
-
Customise: Customise your gridfinity by connecting various number sliders to the inputs. Ensure that your Hops visibility is turned on, so that the preview of the geometry appears in Rhino3D
-
Bake: Once you are happy with your gridfinity piece. Right click on hops and select "bake". This will bake your geometry into Rhino3D, where you will be able to export your file into your 3D printing slicer of choice for printing. (WIP: Bake button to directly bake )
Permalink to the file: https://github.com/commandRobot/gridfinity-rhino3d/raw/main/gridfinity.ghx