fayolle / PyFRep

A simple python library for differentiable F-Rep modeling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

F-Rep based library for Python

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

Requirements

The dependencies are:

  • NumPy
  • Scikit image
  • SciPy
  • Polyscope
  • Torch

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.

About

A simple python library for differentiable F-Rep modeling

License:MIT License


Languages

Language:Python 100.0%