Giter Site home page Giter Site logo

aalavandhaann / py_bl_meshskeletonization Goto Github PK

View Code? Open in Web Editor NEW
39.0 3.0 7.0 47 KB

Mesh Skeleton Extraction Using Laplacian Contraction

License: GNU General Public License v3.0

Python 100.00%
mesh skeletonization meshskeletonization skeleton skeletonextraction laplacian contraction mesh-contraction laplacian-smoothing

py_bl_meshskeletonization's Introduction

MeshSkeletonization

This is an implementation of Skeleton Extraction by Mesh contraction as cited below.

Au OK, Tai CL, Chu HK, Cohen-Or D, Lee TY. Skeleton extraction by mesh contraction. ACM Transactions on Graphics (TOG). 2008 Aug 1;27(3):44.

The plugin is still under development. As of now only the mesh contraction step is complete. There are 2 more steps to complete before extracting the skeleton of the mesh

Dependency python packages

  • BPY module (Blender python environment)
  • Numpy
  • Scipy

Usage

Install the plugin or copy the folder meshskeletonization inside the Blender addons folder. Then activate the plugin through Blender user interface. Once enabled you should be able to see a tab named Mesh Skeletonization in the tools panel.

Play around the following parameters and press Mesh Contraction for the contraction process. Depending on the mesh resolution and supplied parameters expect the time delay for the process to complete. Once the mesh contraction is complete you should find the contracted mesh (with almost zero volume) duplicated alongside the original mesh. The name of the contracted mesh will be a combination of the original mesh name concatenated with the parameter values you supplied.

In short:-

  • Select the mesh object in Object Mode
  • Press Mesh Skeletonization
  • You should see a duplicated mesh that is contracted

Notes

  • It is necessary to triangulate the mesh in Blender, otherwise results are going to be crazy
  • Except the linear systems solved to take some time as it uses numpy and scipy
  • If someone can help me with other steps, wow, greatly appreciated. Maybe I can help in some way back.

Have Fun

py_bl_meshskeletonization's People

Contributors

aalavandhaann 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

py_bl_meshskeletonization's Issues

skeletonization plugin

Is the skeletonization from mesh plugin developed? Or it is just the mesh contraction part?
How do I run the skeletonization given an .obj object to retrieve a skeleton.

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.