Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.51 KB

README.md

File metadata and controls

50 lines (37 loc) · 1.51 KB

Space_Colonization_heat_sink

Pierre LESBATS, PhD Student
York University, Fall 2021

PRESENTATION

Topic: Heat transfer generative design.
Goal: Create a heat sink with a generative design.
Why: to give the best shape to the heat sink.
How? : Using Space colonization algorithm I create a tree shape. I export the shape in 3D.
I do a heat simulation with SolidWorks to analyze the shape designed with the algorithm.

THIS REPOSITORY

This repository contains the space colonization algorithm.
I based my work on an existing code.
The source is provided in the Credit section.
I made modifications to the code to export it.

SOFTWARE

Processing : https://processing.org/
Meshmixer: https://www.meshmixer.com/
SolidWorks: https://www.solidworks.com/

LIBRARY

obj export: nervoussytem library (https://n-e-r-v-o-u-s.com/tools/obj/).
Camera: peasycam library (https://mrfeinberg.com/peasycam/).

RUNNING

To run the code install Processing software.
Then add the two libraries: nervousytem and peasycam.
The trees parameters are located at the top of each script.
Modify them as you want to get the tree you need.
When your tree is displayed press on your keybors "s" touch to save it as an .obj on your directory.

PROBLEM

I want to export the tree generated as an STL but I can't.
I cheated using boxes but I have problem with the STL file to modify it.

CREDIT

Coding Rainbow, Daniel Shiffman
http://patreon.com/codingtrain Code for: https://youtu.be/JcopTKXt8L8