Code Monkey home page Code Monkey logo

mst-dendrites's Introduction

MST-Dendrites

Realistic artificial dendrites using minimum spanning trees and Blender 3D. A short tutorial on how to use it can be found here.

mstree.py

mstree.py gives access to functions for creating minimum spanning trees with balancing factor. The work is based on a paper for synthetic neuronal structures by Hermann Cuntz. Given a set of points, the algorithm calculates a minimum spanning tree on them.

Blender Addon

mst_blender is an addon for Blender 3D to create minimum spanning trees directly in Blender. To install, copy the mst_blender folder into your Blender script directory (minimum Blender version 2.70/2.80). Two new GUI-Panels will show up in your Tools panel, where you can adjust settings for your MST. As of Blender 2.80, you will find the operators in Add->Mesh->Minimum Spanning Tree.

This addon was mainly developed to create Dendritic structures in Blender as a bachelor thesis, but it can be used to just create minimum spanning trees when using a balancing factor of 0.

mst-dendrites's People

Contributors

luca-heltai avatar martinpyka avatar pherbers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mst-dendrites's Issues

blender 2.8

Hey there, great addon, just wondering how to get it to work with blender 2.8. I installed it both ways: extracting the zip and copying to /roaming/../addons and also by installing through blender preferences gui / install addons. But I can't get it to work. Is there anything missing to make it work with most current version of blender? Thanks

Add multiple roots option

I'm currently using your addon to create semi-realistic arterial/vein structures but since originally it was meant for creating dendritic structures I'm running into issues.

Mainly, I'd like it if there was the option to have multiple root locations so I could start an artery at one point, have all the capillary branches, then have them group back to a single or multiple veins.

Currently the only way I can do this is more of a "trick" where I make 2 different trees that are slightly different, flip one 180 degrees, then merge their geometries. But, this is inefficient and tedious and usually results in a bunch of meshing errors when I try to port them into COMSOL.

If there is actually way to already do this I'd love to know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.