cdbrauer / VoxelFuse

A toolkit for processing 3D components made with mixtures of materials and multiple manufacturing processes
GNU General Public License v3.0
34 stars 7 forks source link

ModuleNotFoundError: No module named 'quad_mesh_simplify' #50

Open alexge233 opened 2 years ago

alexge233 commented 2 years ago

This is using python 3.9.5 on OSX (x64) and installed using pip.

import voxelfuse as vf
from voxelfuse.mesh import Mesh
from quad_mesh_simplify import simplify_mesh 
ModuleNotFoundError: No module named 'quad_mesh_simplify'
AlexHex7 commented 2 years ago

Same problem...

alexander-hagg commented 2 years ago

Same problem here. This is a problem in the quad mesh simplify library though. Issue was mentioned there, including quick workaround https://github.com/jannessm/quadric-mesh-simplification/issues/14: download the repo, build it and then copy the build folder into your virtual environment.

rk0n commented 1 year ago

As another quick workaround, instead of copying files, you can use the PR branch here from @Xiaoming-Zhao, which contains a fixed version. To install it, run the following command using pip:

pip install git+https://github.com/Xiaoming-Zhao/quadric-mesh-simplification.git

After that, you can install voxelfuse using pip:

pip install voxelfuse