fayolle / PyFRep

A simple python library for differentiable F-Rep modeling
MIT License
0 stars 0 forks source link
frep implicit-surface python sdf signed-distance-function

F-Rep based library for Python

Simple Python API for (differentiable) F-Rep based geometric modeling.

Requirements

The dependencies are:

See also the file 'setup.py'

Installation

Create a Python virtualenv

python -m venv venv

activate on Windows

./venv/Scripts/Activate

or OSX/Linux

./venv/bin/activate

and install

pip install -e .

Example

See some of the examples in the directory '/examples'. For example

python examples/gyroid_example_render.py

should create a window and show an example of a periodic micro-structure.