#!/usr/bin/env bash
# ascii version 2.78.a+dfsq0-4

sudo apt install -y blender

# Topology optimization with ToOptix
# /usr/share/blender/scripts in in blender-data

git clone http://github.com/DMST1990/ToOptiX /tmp/ToOptix

sudo cp -a /tmp/ToOptix/ToOptix/BlenderGUI/ToOptix /usr/share/blender/scripts/addons

# Enable by going to User preferences Ctrl Alt U -> Addons -> Mesh -> Select Mesh: Topologie Optimization

# In the ToOptix tab on the right choose a solver /usr/bin/ccx from calculix-ccx installed with freecad automate script.



