Skip to content

Co-de-iT/DesignByData_EPC_2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Based Tectonics

Agent-based Tectonics @ DesignByData 2019

Codes used in the Agent-based tectonics workshop held @ Design By Data 4-8 February 2019 - tutor: Alessio Erioli, Co-de-iT

Please note that this material is a compendium to the workshop, so many implied instructions, premises and cautions given during the dat-to-day development have not been included.

Tools used: Rhinoceros 3D v6 (includes Grasshopper), Visual Studio 2017.


AgentSystemFinal

Contains .gh files, the Visual Studio project files and .sln file for the final version of the simulation. There are 3 .gh files: basic, intermediate and full-optional. Read the enclosed README FIRST.txt and changelog.txt files for full specifications.

@ utilities

Contains .gha asssemblies and .dll libraries and general purpose .gh definitions used in the workshop.

3Dpeople_20181116 - 3D people as meshes in 3 different resolutions

M00_Millipede FEM field.gh - simple use of Millipede Grasshopper plugin to generate a scalar and vector field of structural information over a FEM model of a mesh surface
M01_Millipede graphics generator.gh - generates and bakes geometry for 3 different diagrams of Millipede generated data
Millipede_data.ghdata - this file is a sample of how data is passed between M00 and M01
interpolate mesh data.gh - interpolate scalar and vector data while performing a Catmull-Clark subdivision of a mesh - sometimes Millipede can be slow on big geometries. This definition allows the use of a lower-resolution mesh for faster analysis and interpolate data to use on a high-res mesh

Util_Clipping plane - Turntable base.3dm
Util-01_clipping plane anim.gh
Util-02_turntable.gh
Util-03_record animation.gh
These files are helpers to generate, respectively: an animation of a moving clipping plane (for a model tomography), a turntable of one or more geometries, an animation of the agents from their trajectories as polylines

Util_post-processing-Dendro - template for isosurfacing line-base network geometries. Reading the Dendro plugin documentation is strongly suggested here

@ utilities/Components

CurlNoise.gha - calculates Curl Noise for a point in x,y,z - useful to generate spatial vector field data

FileToScript2.gha - syncs the code of a C# or VB scripting component in Grasshopper with an external editor - this is an updated version for Rhino6 of FileToScript.gha, a tool written by Mateusz Zwierzycki wrapping up a code by Vicente Soler - additional code to update it for Rhino 6 by Daniel Fink, wrapped and recompiled as a .gha assembly by Alessio Erioli. Original discussion on FileToScript.

SimplexNoise.dll - library with Simplex Noise generation functions, it can be used to embed Curl Noise calculations (which are based on Simplex Noise) in a custom C# script

@ utilities/Display Modes

Contains a bunch of customized Display Modes for Rhino 6 - they can be installed in Rhino from:
Tools > Options > View > Display Modes > Import

@ utilities/Mesh Modeling

Rhino files and Grasshopper definitions for basic Mesh modeling (low poly to subdivision techniques)


dayly progress

These folders contain the daily progress of the course. When present, the in class folder contains the WIP files developed that day

day 01

01-00_iterative strategies - intuition.gh - introduction to iterative strategies in Grasshopper - intuitive approach (standard compopnents + Anemone plug-in)
01-01_environment and field - intuition.gh - reading information from an environment/field - intuitive approach
01-02_boundary behaviors intuition.gh - simple boundary behavior - intuitive approach
01-03_environment and field - wrap - intuition.gh - boundary wrap behavior - intuitive approach

CS_00_intro.gh - introduction to C# programming in Grasshopper
CS_01_data 01.gh - data types in C# - part 1
CS_01_data 02.gh - data types in C# - part 2 - loops and conditional statements

day 02

02-00_stigmergy - basic - intuition.gh - reading and writing information in an environment - intuitive approach

CS_02_functions.gh - functions in C#
CS_03_classes.gh - classes and objects in C#

day 03

CS_04_gradient descent.gh - gradient descent example in C#
CS_05_delegates example.gh - explanation of delegates, anonymous functions and lambda syntax in C#
CS_06_RTree point search.gh - using RTree data structure in C# - simple example of nearest neighbours search

reference mesh.gh - a reference mesh model to use in next exercises

day 03/AgentSystem

Visual Studio project folder for the basic Agent System setup

AgentSystemFlock.gh - a flocking agent system based on Craig Reynolds classical rules
AgentSystemMesh.gh - implementation of the FollowMesh behavior in the Agent System
FollowMesh.gh - Particle System following a mesh geometry

day 03/CS backup files

Backup of some initialization .cs files

day 04

day 04/AgentSystem

Visual Studio project folder for the evolved version of the Agent System

AgentSystem.gh - the final version of the Agent System - agents are capable of patrolling a mesh surface, read scalar and vector data and release elementary bodies along their trajectories whose formation results in a performative ornamentation

NOTE: create a separate final version of the workflow with Dendro definitions included

About

Design By Data 2019 - Agent-based tectonics workshop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages