Giter VIP home page Giter VIP logo

blmath's Introduction

lace

version python versions version

Polygonal mesh library developed at Body Labs.

This library is deprecated. The primary successor is lacecore:

  • Provides polygonal meshes optimized for cloud computation.
  • Supports triangles and quads.
  • Provides OBJ loading via the obj extra.

Several other mesh-related libraries were broken out from this package and blmath:

  • polliwog provides low-level functions for working with triangles, optimized for cloud computation.
  • entente provides functions for working with meshes having vertexwise correspondence.
  • proximity provides proximity queries.
  • hobart obtains planar cross sections.
  • tri-again provides simple 3D scenegraphs for debugging meshes, polylines, and points.
  • meshlab-pickedpoints loads and saves MeshLab picked point (.pp) files.

For batteries-included prototyping, Trimesh is recommended as an alternative.

Installation

Install dependencies

Mac OS:

brew update && brew install boost
pip install numpy==1.13.1
pip install lace

Linux:

apt-get install -y --no-install-recommends libsuitesparse-dev libboost-dev
pip install numpy==1.13.1
pip install lace

Docker:

docker build .

Install the library

pip install lace

Development

pip install -r requirements_dev.txt
pip install -e .
rake test
rake lint

Acknowledgements

This library was refactored from legacy code at Body Labs by Alex Weiss, with portions by Eric Rachlin, Paul Melnikow, Victor Alvarez, and others. It was extracted from the Body Labs codebase and open-sourced by Guillaume Marceau. In 2018 it was forked by Paul Melnikow and published as metabolace. Thanks to a repository and package transfer from Body Labs, the fork has been merged back into the original.

License

The project is licensed under the two-clause BSD license.

This project uses the RPly library to read and write PLY files, by Diego Nehab, IMPA, distributed under the MIT License.

blmath's People

Contributors

algrs avatar eerac avatar gmarceau avatar jbwhite avatar lillekemiker avatar paulmelnikow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

blmath's Issues

Add deprecation warnings on import of vx

As discussed in #12, this is a legacy library destined for deprecation.

Two pieces of functionality have already been broken out into new libraries in the lace org, and more will be added in the future.

One of these is vg which replaces blmath.numerics.vx.

When vx is imported, this should emit a deprecation warning which refers developers to the new package.

Add deprecation warnings on import of geometry code moved to polliwog

As discussed in #12, this is a legacy library destined for deprecation.

Two pieces of functionality have already been broken out into new libraries in the lace org, and more will be added in the future.

One of these is polliwog which replaces several parts of blmath.geometry.

Importing one of the replaced modules should emit a deprecation warning which refers developers to the new package.

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.