Giter VIP home page Giter VIP logo

myvox's Introduction

MyVox

Lightweight, simple, C++, CPU-based voxelizer based on the implementation of https://github.com/sylefeb/VoxSurf. For further details on the algorithm, refer to their repository.

Voxelizer implementation requires no further dependencies. It operates on .stl files and outputs a .csv file which is intented to be processed further with Paraview.

This voxelizer implementation ouputs the same results as the base implementation of VoxSurf without any further dependencies. Additionally, it has the option to scale the voxelization to the same size as the underlying .stl file.

Getting Started

Clone the repository to your local machine and to the project build directory. It comes with a Makefile, therefore you only have run the make command for installation.

git clone https://github.com/alhermann/MyVox.git
cd ~/MyVox/build
make clean && make

Make sure to use the correct C++ compiler for your machine. For MacOS change inside the Makefile to clang++, for Linux machines use CC = g++ (default) and on Windows machines use icpc or g++ from the MinGW compiler.

Example

Pass an .stl file path as an argument. The voxelized output will be placed inside the build directory. Optionally pass a fourth argument as the voxel resolution.

./MyVox ../model.stl ../model.csv

STL VOX

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.