Skip to content

Blender Add-on and example file for Matt Parker XmasTree

Notifications You must be signed in to change notification settings

Sharkmanblu/Blender_XmasTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blender 500 LED XmasTree

Blender Add-on and example file for Matt Parker @standupmath 500 LED and [@GSD6338-Harvard]((https://github.com/GSD6338/XmasTree/) Xmas Tree

This repo (my first one) contains the file necessary to animate/create/preview/import and export CSV file for the "500-LED Xmas Tree" created by Matt Parker ( watch the video at the link belove) and Computational Design @GSD6338-Harvard directly in Blender.

NOTE: Working Blender version 3.0 or above

LINK blender download : https://builder.blender.org/download/

LINK Stand-up Maths Youtube Video : https://www.youtube.com/watch?v=WuMRJf6B5Q4

File and Folder Description

  • ../XmasTree_2021.blend : Blender example file ready to production ; open the file and you will find two readme notes on how to use and understand the file structure and add-on

  • ../Add-on/XmasTree_Import-Export.py : Add-on installation file

  • ../Coords/coords_2021.csv : Matt Parker LED coordinates @standupmath

  • ../Coords/coords_adjusted.csv : Harvard LED coordinates @GSD6338-Harvard-Coords

  • ../Example_Effect/Fire_Effect.csv : fire effect created with geometry node and exported with add-on /....

Basic Usage to create new effect

Open blender example file and strat the animation with he play button or with the spacebar key, you will see the Fire_Effect in real time calculated by the geometry node group.

Install the add-on via "Edit->Preferences->Add-Ons->install", selecting the downloaded "XmasTree_Import-Export.py", install it and activate it.

In the geometry node editor try to connect other output node to the color input node and watch the other example live.

  1. Current output node
  2. Input node

  1. New output node
  2. Input node

Modify or create new effect as you like.

When you're happy with the result open the Xmas Tree panel and the export subpanel, select a folder and a filename and click "Save CSV RGB Value" to save your personal .csv file.

  1. Open folder browser
  2. Selct folder and set filename ##IMPORTANT! FILENAME NAME AND EXTENSION IS MANDATORY eg. INsideOut_Effect.csv
  3. Accept path
  4. Press button to save the data

Basic Usage to load effect

Hide GeoNode collecion and unhide Import Tree one.

With the example file open and the add-on installed, hide "GeoNode" collecion and unhide "Import Tree" one.

Go to the Xmas Tree panel and the import subpanel, select a .csv file in "Select LED CSV File" field and click the "Load Led CSV animation" button.

Wait a few seconds and then start the animation with the play button or spacebar key.

  1. Hide Geo_Node collection
  2. Unhide Import Tree collection
  3. Open file browser
  4. press button to load data

CONCLUSION

I'm not a good coder so the add-on may be instable, you're free to inspect/modify my code as well as the blender example file.

File in COORDS folder are provided by @standupmath and @GSD6338-Harvard

About

Blender Add-on and example file for Matt Parker XmasTree

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages