/microgen

Microstructure generation

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Microgen Logo

Microstructure generation

build-and-test workflow Anaconda-Server Badge PyPI version 3MAH DOI

Documentation

Provider Status
Read the Docs Documentation Status

Installation


With conda:

conda install -c conda-forge -c cadquery -c set3mah microgen

With pip (Linux only):

pip install microgen

You may need to install dependencies mentioned in the requirements.txt file

pip install -r requirements.txt

To modify the sources, clone this repository and set up the following environment:

Create a conda environment with all the required dependencies

conda env create -f environment.yml -n microgen-dev
conda activate microgen-dev

Then install microgen:

python setup.py install

Examples

Click on the image to be redirected to the corresponding example on Microgen's documentation

Basic shapes

Repeated cells

Triply Periodic Minimal Surfaces (TPMS)

3D operations

Mesh