A toolkit for processing 3D components made with mixtures of materials and multiple manufacturing processes
Project description
The multi-material manufacturing toolkit.
VoxelFuse provides a set of Python commands for importing, modifying, displaying, and exporting multi-material 3D model data. This library allows scripts to be quickly created for processing different classes of models and generating the files needed to produce them.
Created as part of a research project with IDEAlab at ASU.
Features
- .vox and .stl file import
- Isolation of specific materials and layers
- Boolean operations for both volumes and materials
- Dilate and Erode Operations
- Gaussian Blurring
- Conversion of voxel data to mesh surfaces
- Model rendering with grids and axes
- .stl file export
- .gcode file modification
Installation
The voxelfuse library can be installed using pip.
pip3 install voxelfuse
To use the .stl file import commands/examples, Gmsh must also be installed.
Extensions
VoxelFuse-Primitives
Additional classes to generate 3D primitives and assist in the generation of new models. See VoxelFuse-Primitives for details.
.vox File Generation
If desired, input models can be created in a .vox file format to allow different materials to be specified in a single model. This also speeds up import times. My process using MagicaVoxel is as follows:
- Use the "Open" button under the "Palette" section to open the color-palette-8mat.png file. This will give you 8 colors that correspond to the materials defined in materials.py
- Create your model. By default the library will use a scale of 1mm per voxel when importing/exporting.
- Save the model as a .vox file using the "export" function (NOT the "save" function).
Using MagicaVoxel and the .vox format will limit you to using distinct voxel materials. The library's import function will convert these files to a data format that allows material mixing.
Documentation
Please see the wiki for code documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file voxelfuse-1.1.1.tar.gz
.
File metadata
- Download URL: voxelfuse-1.1.1.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02bb7cb71878b5097351aa99a6a0d0a113913d4893cd56294150de82301a0fb0 |
|
MD5 | 8f3d3b7b476c6343fa149d07db67266f |
|
BLAKE2b-256 | 2ae7b4c59947adbd1a0efd856c4861700b049ab5f12fa43ded63ee80849667ec |
File details
Details for the file voxelfuse-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: voxelfuse-1.1.1-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21c33dc1eac4c7bc9ed1e0bfe07d858c2302fb0ca6ac195438b288f25d9031fd |
|
MD5 | 575951feceed43d6d1948353ae984e84 |
|
BLAKE2b-256 | 73e20694ab85ba4fe7da2edd83495f351207fdad17339f550efa51d1192967b6 |