Airthium / tanatloc-converters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tanatloc converters

Various formats (STEP, DXF, msh, vtu) to GLB

Compilation

Simple way

Use the Docker build in the tanatloc/worker repository.

Hard way

Requirements

  • System packages (Ubuntu 22.02 list):

    automake bison catch cmake file \
    flexg++ gfortran git \
    libfftw3-dev libgl1-mesa-dev libgsl-dev \
    libhdf5-dev liblapack-dev libnlopt-dev \
    libopenblas-dev libxi-dev libxmu-dev \
    make mesa-common-dev mpich \
    patch pkg-config python3-minimal python3-distutils \
    rapidjson-dev \
    tcl-dev tk-dev \
    unzip \
    wget
  • FreeFEM

  • VTK

  • OpenCASCADE

  • Gmsh

  • Catch2

  • TinyGLTF

Clone

git clone git@github.com:Airthium/tanatloc-converters.git
cd tanatloc-converters

Compilation

mkdir build
cd build
cmake ..
make -j"$(nproc)"
make install
CMake parameters Value
DBUILD_TESTING ON or OFF
DCMAKE_PREFIX_PATH Example: /usr/local/lib/cmake
DOpenCASCADE_DIR Example: $OCCPATH/lib/cmake/opencascade
DVTK_DIR Example: $VTKPATH/lib/cmake/vtk-9.1
DCMAKE_INSTALL_PREFIX Example: /home/${USER}/tanatloc-converters

About

License:GNU Affero General Public License v3.0


Languages

Language:C++ 93.7%Language:CMake 3.8%Language:GLSL 1.5%Language:Shell 1.0%