Git Product home page Git Product logo

blender-soft-rod's Introduction

Blender Soft Arm

Documentation Status CI

The Blender Soft Arm (bsr) includes data visualization tools and analysis for soft-arm robotics data. The slender body is defined by a series of points and radius, and the data is visualized in Blender.

How to install

Easiest way to install the stable version of the package is to use pip:

pip install bsr

Examples

We provide minimal example scripts to demonstrate the usage of the package.

Development version

The development version includes unit-tests, documentation, examples, and other development tools. We primarily use poetry to manage the dependencies and the development environment. Necessary commands are provided in the Makefile.

git clone https://github.com/GazzolaLab/Blender-Soft-Rod.git
cd Blender-Soft-Rod
make install  # Assuming you have poetry installed.
make pre-commit-install

Below are additional commands that you can use to manage the development environment.

  • Documentation
cd docs
make clean
make html
open build/html/index.html
  • Unittests
make test
  • Code formatting
make formatting
  • Check type-hinting
make mypy

blender-soft-rod's People

Contributors

skim0119 avatar rohar10 avatar adikorlahalli avatar hanson-hschang avatar darrenbiskup avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

Ivan Raikov avatar  avatar Fan Kiat Chan avatar Noel Naughton avatar Keshav Shivam avatar Tejaswin Parthasarathy avatar

blender-soft-rod's Issues

Execute Blender-python script using system-python interpreter

@Rohar10 Currently, all python scripts are running within the Blender, using Blender-Python-Interpreter. To make this tool more useful and compatible with other packages, we want to be able to run the script using other system-python-interpreter (i.e. conda/poetry/pyenv).

Below links shows method to install bpy package on conda-python. Lets see if we can launch the script using a system-python-interpreter and generate .blender file. This methods should be documented somewhere in README file.

Spline-based rod visualization

  • Instead of cylinder-sphere model, we need some more optimized model for visualization
  • related to #10

Look into bezier or bspline method with bevel.

Keyframe counting

Set up a counter for keyframe, and a method to set last frame to avoid infinite running.

Set up camera

Currently, the camera in the results of the .blend file is initialized from a far distance. It might be better to have a command to set camera location, look at and some other camera properties. (Might be useful to have similar things as the one in povray?

BR2 visualization

Create example cases (either in documentation or part of package):

  • Given the position of the center lines of three FREEs, the BR2 can be visualized.
  • Given the position of the center line of the BR2 and centerline location of three rods, visualize all three.

Originally posted by @hanson-hschang in #9 (comment)

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.