background preloader


For designers who want to use the same flexible language everywhere, GhPython is the Python interpreter component for Grasshopper that allows to execute dynamic scripts of any type. Unlike other scripting components, GhPython allows to use the rhinoscriptsyntax to start scripting without needing to be a programmer. Once on-board and with some practice, you can also get the most of external Python and .Net modules and libraries. This component is open-source, and works in Rhino 5. Join this group to receive updates of new versions, and visit the Grasshopper forum for support. To install: In Grasshopper, choose File > Special Folders > Components folder. Downloads: License: Related:  grasshopper_pythonGH-Pythonc_air

mcneel/ghpython ghPython – New component and parallel modules | Steve Baer's Notes Just in time for Christmas… ghPython was released this week and it has two new features that I’m really excited about. Download ghPython… A little background David Rutten was visiting the McNeel Seattle office in November to discuss future work on Grasshopper and Rhino. When David is in town it always gives me the chance to brainstorm with him and try to solve some of the features that users ask for. Out of these chats came the two major new features in ghPython; the ability to call components from python and an easy way to do this using multiple threads. ghPython ships with a new package (ghpythonlib) that supports these two new features. Components As Functions (node-in-code) There is a module in ghpythonlib called components which attempts to make every component available in python in the form of an easy to call function. Notice that the above sample is just three lines of script (and two lines of comments to help describe what is happening.) Use those CPUs

Path Mapper Help As a result of a request please find a series of examples for using the Path Mapper component. The First installment of this is showing the Path Mapper imitating some already existing components. Flatten, Graft, Simplify and Flip Matrix. There is also an additional example showing Integer Divide to which there is no existing component. For those uninitiated in the dark arts of pathmapper the component can be found on the Sets Tab> Tree Section with the icon of a red cube. UPDATED to correct an error in the Flip Matrix demonstration path_count should be item_count. Updated: 2011-04-20 Replace Branches Not sure if it's right to include this here as its actually encouraging you not to use the Path Mapper, but sometimes there are benefits to being able to keep the definition free from restrictions like the Path Mapper. I hope to follow this up with some more..... Tags: Branches, Mapper, Path, Pathmapper, Replace Attachments: PathMapper_20110315.ghx, 658 KB ▶ Reply to This

Rhino.Python This is the group for the Python interpreter in Grasshopper, now in version 0.5.101. If you are eager to try the Python syntax in Grasshopper go to food4Rhino to download.... The new GhPython component brings: Rhinoscript syntax to GrasshopperThe GhPython component is similar to the ones of C# and Vb.Net components in GrasshopperControl the number of inputs and outputs to the componentInclude libraries to the .NET SDK and huge number of Python add-on functionsIntegrates with the new Python editor included in Rhino 5 Python is a modern programming language developed for remarkable power with very clear syntax. The Rhino.Python website is a great place to get more information about Python in Rhino and Grasshopper.

ghPython – Outside the Canvas | Steve Baer's Notes As a follow up to my post about the new features in ghPython, I wanted to point out another feature now available; running Grasshopper components outside of the Grasshopper canvas. Download ghPython… You will need to have installed ghPython and have used the component in grasshopper at least once. Start RhinoRun EditPythonScript and enter the following script Run the python script ghpythonlib (both components and parallel) modules are available in the standard python editor in Rhino. This also lets you work in a slightly different way where you can get points in Rhino using rhinoscriptsyntax “get input” type functions and pass those points (or curves or breps) into the Grasshopper component code. Like this: Like Loading... Ben Coorey Rhino Python Tutorials – Plethora Project is an initiative to accelerate computational literacy in the frame of architecture and design. It aligns with the "show me your screens" motto of the TopLap live-coding group attempting to get rid of Obscurantism in digital design. Directed by Jose Sanchez Contact me at : Bio: Jose Sanchez is an Architect / Programmer / Game Designer based in Los Angeles, California.

Adaptive Scaffolding | Explode_BReps @ UVa This definition creates a thickened ground geometry from two sloping curves. Scaffolding grows out of the thickened ground, and its dimensions are derived from the ribs in the ground. This scaffolding can then be trimmed by a curve and a cylinder as if it were growing around walls and buildings. Click here to download the definition. Like this: Like Loading... WALLACE Architecture « ParaPractice ParaPractice Architecture CRISTINA PARREÑO AT ARCO MADRID: PAPER CHANDELIERS Architecture ARCO Measuring Machine Architecture + Parametric Design DIY 5 Axis Architecture + Industrial Design Kuka Research Architecture + Parametric Design 2012 IAP Fabrication Workshop Architecture + Workshops Testing To Failure Architecture Dis[Course]4 @ MIT Architecture + Parametric Design MIT Open House Installation Architecture + Parametric Design Grasshopper Workshop @ The 3RDWARD Architecture + Parametric Design + Workshops Parametric Consultation @ KPF Architecture + Parametric Design Niernberg Wedding Chuppah Architecture + Parametric Design AIANY Technology Lecture Series Architecture Archeography IV_SuperFront Architecture + Parametric Design Axis Mundi Tower Consultation Architecture + Parametric Design Grasshopper @ Perkins & Will Architecture + Parametric Design

Grasshopper to Catia Progress Update We’re continuing progress with Dassault Systèmes on implementing Catia into architectural process. Our first course of study aims at the Grasshopper/Catia workflow, and since our previous post, we’ve delved into Knowledgeware, the scripting platform for Catia. Our conclusion: Knowledgeware is awesome. Of the candidates, we’ve taken a particular interest in composite materials, which would be lighter weight, easier to install, and last significantly longer. grasshopper code . a collection of codes & grammars for Grasshopper, a generative modeling tool for Rhinoceros. 3D Hilbert Curve This definition generates a 3D Hilbert Curve, a continuous fractal space-filling curve. nGon mesh tessellation Starting from a closed surface it builds a nGon mesh tessellation Curves Sorter Starting from a list of curves it takes the first one then it looks for the closest curve and it eventually flips the direction to optimize the toolpath lenght. froGH A sparse collection of tools for Grasshopper. See the code, explanation and download here. Clusterizer This definition groups indexes of connected points into separate clusters. Spirograph This definition simulates a spirograph tool. 3D Differential mesh relaxation This definition explores the 3D relaxation of a mesh effected by an image gradient. Vorospace Math surfaces .

VERTEX DIGITAL DESIGN [Sub]Code This page is set up to host bits of codes and sample algorithms. Those algorithms are free to be explored or even shared with proper recognition to the author.Please let me know if you reached any interesting result using any piece of the code provided. Before downloading anything from Digital [Sub]stance you consent to the following license agreement Digital [Sub]stance by Marios Tsiliakos is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Based on a work at Permissions beyond the scope of this license may be available at “If you Enjoyed anf found the content of this blog useful please consider donating to keep Digital [Sub]stance up and running.” Grasshopper Definitions