background preloader

GhPython

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

ALEX HOFREFE-RHINO DEFINITIONS This definition was developed for my final thesis project to generate a louver system based on functional requirements within the building. The performance was then tested in Ecotect. A large part of my thesis design involved invertible arena seating with many moving parts. I used Grasshopper as a means to develop the seating testing clearances, site lines, and many other variables. This definition looks at taking any curved surface, and generating weaving geometry across it. The parametric skyscraper uses Grasshopper to generate the entire structure. My favorite definition to date, this definition generates box designs based on real boxes I crafted in the wood shop while in Grad school This definition extrudes geometry based on their proximity to a polyline attractor. Using a definition created by paramod, I wanted to see if I could edit the definition so that different panels could be combined to create a seamless surface This was one of the first definitions from scratch I ever created.

mcneel/ghpython ghPython – New component and parallel modules | Steve Baer's Notes Just in time for Christmas… ghPython 0.6.0.3 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 0.6.0.3; the ability to call components from python and an easy way to do this using multiple threads. ghPython 0.6.0.3 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

Grasshopper | Sean Madigan This definition divides a given surface and flattens each quad section to be unrolled to a grid on the xy plane. Once unrolled each face is then flattened and given tabs for reconstruction. Labels are provided. THIS IS CURRENTLY A BETA VERSION AND IS NOT FULLY DEVELOPED, CHECK BACK FOR [...] This definition is a compilation of three major executions. This definition creates a parametric hyperbolic paraboloid surface at any given point in space. This definition takes any curved surface and populates it with a gradient of circles. This Grasshopper definition takes any given surface and populates it with a rectangular “fizz” pattern using a system of attractor curves in coordination with a bit of randomness. This definition takes any given surface and divides it into a given number of rows and columns. This Grasshopper definition aggregates any single rectangular unit between two given surfaces.

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 Grasshopper « WeWantToLearn.net Philosophical Statement: Inti: The Incan Sun God, his face portrayed as a gold disk from which rays and flames extended. Inti is the Sun and controls all that implies: warmth, light and sunshine. During the festival of Inti Ramyi, held during the Summer Solstice, Inti is celebrated with much drinking, singing and dancing - special statues are made of wood are burned at the end of the festival. Inti incorporates 288 petals are self-assembled into 12 concentric rings, with each petal representing the hours of the day and each ring every month of the year. ‘Timber-Wave’; a plywood instillation emerging and crashing on to the desolate Black Rock Desert. The design of the Timber Wave was driven by creating an interactive environment. Physical Statement: ‘Timber-Wave’ structure consists of 3 layers of 12 intersecting plywood ribbons. 1:20 Scale Model Link: issuu.com/henryturner/docs/portfolio? Taking people as the pollen. The Petal Hypothesis sits expressively within its setting. Interactivity:

Rhino Python Tutorials – Plethora Project Plethora-Project.com 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 : jomasan@gmail.com 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...

FABRICATION STUDIO for CNC LASER CUTTING | Universidad Europea de Madrid WALLACE Owen Architects - Online Professional Portfolio Experimenting with trusses. There are many ways to make a truss, this is a simple method and ready to apply to (almost) any surface just define which surface you wish to use and it will automativally generate it. Make sure to use the expanded version of the definition when dealing with more complicated surfaces (shown to the left in dark green). In ordeer to extrude the geometry of the truss I have included a simple definition (shown in dark blue), experiment with this to get the desired effect. Most parts are labeled and ready to explore, it is a limited definition. But a great starting point to learn from. I have included a Rhino 3D model of this design for of this design for anyone wishing to use it or play with it, unfortunately the Grasshopper definition I used to make the waffle structure can't be found anymore.

Related: