Skip to main content

A toolkit for processing 3D components made with mixtures of materials and multiple manufacturing processes

Project description

VoxelFuse

The multi-material manufacturing toolkit.

Example 1

Example 2

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.

.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:

  1. 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
  2. Create your model. By default the library will use a scale of 1mm per voxel when importing/exporting.
  3. 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.



IDEAlab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voxelfuse-1.0.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

voxelfuse-1.0.2-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file voxelfuse-1.0.2.tar.gz.

File metadata

  • Download URL: voxelfuse-1.0.2.tar.gz
  • Upload date:
  • Size: 12.8 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

Hashes for voxelfuse-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a7f7c494d184576381194c09108c907cbbfdb3ce39360b85faf9fdc4f4c69794
MD5 c9930ab1e83b67273b96776162756086
BLAKE2b-256 65d426ff66e2a4fd3993cd48d1ecd0e329efd5a95bc7829de16d08215e0cde4d

See more details on using hashes here.

File details

Details for the file voxelfuse-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: voxelfuse-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.1 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

Hashes for voxelfuse-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2b9a4911f3c477d1ce0a0a20d8114a91c03421cc046f186cc9f924aa0eb5cfc
MD5 3da2846a9fd0777b494dc52c1858dcff
BLAKE2b-256 2faa9336dcaef0b34d2cfb2ceb31fcaa70125de9bfcb6d7e6fd724e4ac60e177

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page