Skip to content

meisam-sdpr/Generative-Design-with-Python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Generative Design with Python 3

This project grows tree-like branching structures from a single seed point, using recursive logic scripted with the Python 3 component in Grasshopper. A few simple parameters control how the form develops.💡

Grasshopper Script

The Workflow:

First, I wrote a script using the Python 3 (Py3) component in Grasshopper. This code relies on recursive logic to generate the overall branching structure.

Here are the variables for this section: 🔸 Inputs: Random Seed, Base Point, and Growth Logic (Length and Angle) 🔹 Outputs: Generative Curves

Ultimately, for a better visual representation, I connected the curves generated by the code to the Multipipe component (which is a SubD tool in Grasshopper) to create a continuous volume over the lines. 🎯

By changing the seed variable in the Python code and tweaking the pipe settings, different forms take shape.


🛠️ Tools Used:

  • Rhinoceros 3D / Grasshopper
  • Python 3 / Py3 Component (for coding the recursive functions and generating the branching geometry)
  • Multipipe Component (for visual representation and adding volume to the lines)

About

Generative branching structures created with recursive Python scripting in Grasshopper.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors