Skip to content

Releases: SofaDefrost/DefrostSofaBundle

v22.06.01

02 Feb 18:12
3f4da4c
Compare
Choose a tag to compare

SOFA v22.06 integrating several of the plugins made by Defrost for SoftRobotics.

This is a bundle of SOFA binaries specially intented for soft robotics.
The bundle contains:

Instructions

Windows

Windows

To open a Terminal: Start > type "cmd" > press Enter

Install the dependencies

  1. Install Microsoft Visual C++ 2019 Redistributable.

  2. Install python + pip
    Open a Terminal and run python -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 3.
    Else, install one of these compatible versions:

    Make sure to enable pip installation and addition to PATH.
    Open a Terminal and run python -V again. You should see the version of python you just installed.

  3. Install numpy + scipy
    Open a Terminal and run python -m pip install numpy scipy

Install the SOFA bundle for soft robotics

Go to https://github.com/SofaDefrost/DefrostSofaBundle/releases/
Download the ZIP corresponding to your system your version of python.
Extract the ZIP on your Desktop.

Execute runSofa

Open a Terminal and run

cd %HOMEPATH%\Desktop\DefrostSofaBundle*
set PYTHONPATH=plugins\SofaPython3\lib\python3\site-packages
set PYTHONPATH=%PYTHONPATH%;plugins\STLIB\lib\python3\site-packages 
bin\runSofa.exe
Ubuntu

Ubuntu

Install the dependencies

  1. Install libopengl0
    sudo apt install libopengl0

  2. Install python + pip
    Open a Terminal and run python3 -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 3.
    Else, search which compatible version is proposed by your package manager:

    sudo apt update
    sudo apt info python3 | grep -i 'version: '

    If the proposed version is in [3.7 ; 3.10] then install it

    sudo apt install python3-dev python3-distutils
    curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
    python3 /tmp/get-pip3.py

    Open a Terminal and run python3 -V again. You should see the version of python you just installed.

  3. Install numpy + scipy
    Open a Terminal and run

    python3 -m pip install --upgrade pip
    python3 -m pip install numpy scipy

Install the SOFA bundle for soft robotics

Go to https://github.com/SofaDefrost/DefrostSofaBundle/releases/
Download the ZIP corresponding to your system your version of python.
Extract the ZIP on your Desktop.

Execute runSofa

Open a Terminal and run

cd ~/Desktop/DefrostSofaBundle*
export PYTHONPATH=plugins/SofaPython3/lib/python3/site-packages 
export PYTHONPATH=$PYTHONPATH:plugins/STLIB/lib/python3/site-packages 
./bin/runSofa
MacOS

MacOS

Install the dependencies

  1. Install python + pip
    Open a Terminal and run python3 -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 2.
    Else, search which compatible version is proposed by your package manager:

    brew update
    brew info python

    If the proposed version is in [3.7 ; 3.10] then install it

    brew install python

    Open a Terminal and run python3 -V again. You should see the version of python you just installed.

  2. Install numpy + scipy
    Open a Terminal and run

    python3 -m pip install --upgrade pip
    python3 -m pip install numpy scipy

Install the SOFA bundle for soft robotics

Go to https://github.com/SofaDefrost/DefrostSofaBundle/releases/
Download the ZIP corresponding to your system your version of python.
Extract the ZIP in your User folder.

Execute runSofa

Open a Terminal and run

cd ~/DefrostSofaBundle*
export PYTHONPATH="plugins/SofaPython3/lib/python3/site-packages"
export PYTHONPATH=$PYTHONPATH:"plugins/STLIB/lib/python3/site-packages" 
./bin/runSofa

v22.06.00

29 Jun 19:31
0a35164
Compare
Choose a tag to compare

SOFA v22.06 integrating several of the plugins made by Defrost for SoftRobotics.

This is a bundle of SOFA binaries specially intented for soft robotics.
The bundle contains:

Instructions

Windows

Windows

To open a Terminal: Start > type "cmd" > press Enter

Install the dependencies

  1. Install Microsoft Visual C++ 2019 Redistributable.

  2. Install python + pip
    Open a Terminal and run python -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 3.
    Else, install one of these compatible versions:

    Make sure to enable pip installation and addition to PATH.
    Open a Terminal and run python -V again. You should see the version of python you just installed.

  3. Install numpy + scipy
    Open a Terminal and run python -m pip install numpy scipy

Install the SOFA bundle for soft robotics

Go to https://github.com/SofaDefrost/DefrostSofaBundle/releases/
Download the ZIP corresponding to your system your version of python.
Extract the ZIP on your Desktop.

Execute runSofa

Open a Terminal and run

cd %HOMEPATH%\Desktop\DefrostSofaBundle*
set PYTHONPATH=plugins\SofaPython3\lib\python3\site-packages
set PYTHONPATH=%PYTHONPATH%;plugins\STLIB\lib\python3\site-packages 
bin\runSofa.exe
Ubuntu

Ubuntu

Install the dependencies

  1. Install libopengl0
    sudo apt install libopengl0

  2. Install python + pip
    Open a Terminal and run python3 -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 3.
    Else, search which compatible version is proposed by your package manager:

    sudo apt update
    sudo apt info python3 | grep -i 'version: '

    If the proposed version is in [3.7 ; 3.10] then install it

    sudo apt install python3-dev python3-distutils
    curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
    python3 /tmp/get-pip3.py

    Open a Terminal and run python3 -V again. You should see the version of python you just installed.

  3. Install numpy + scipy
    Open a Terminal and run

    python3 -m pip install --upgrade pip
    python3 -m pip install numpy scipy

Install the SOFA bundle for soft robotics

Go to https://github.com/SofaDefrost/DefrostSofaBundle/releases/
Download the ZIP corresponding to your system your version of python.
Extract the ZIP on your Desktop.

Execute runSofa

Open a Terminal and run

cd ~/Desktop/DefrostSofaBundle*
export PYTHONPATH=plugins/SofaPython3/lib/python3/site-packages 
export PYTHONPATH=$PYTHONPATH:plugins/STLIB/lib/python3/site-packages 
./bin/runSofa
MacOS

MacOS

Install the dependencies

  1. Install python + pip
    Open a Terminal and run python3 -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 2.
    Else, search which compatible version is proposed by your package manager:

    brew update
    brew info python

    If the proposed version is in [3.7 ; 3.10] then install it

    brew install python

    Open a Terminal and run python3 -V again. You should see the version of python you just installed.

  2. Install numpy + scipy
    Open a Terminal and run

    python3 -m pip install --upgrade pip
    python3 -m pip install numpy scipy

Install the SOFA bundle for soft robotics

Go to https://github.com/SofaDefrost/DefrostSofaBundle/releases/
Download the ZIP corresponding to your system your version of python.
Extract the ZIP in your User folder.

Execute runSofa

Open a Terminal and run

cd ~/DefrostSofaBundle*
export PYTHONPATH="plugins/SofaPython3/lib/python3/site-packages"
export PYTHONPATH=$PYTHONPATH:"plugins/STLIB/lib/python3/site-packages" 
./bin/runSofa

v22.04.01

04 Apr 08:11
6ddc22f
Compare
Choose a tag to compare

This is a bundle of SOFA binaries specially prepared for RoboSoft 2022 workshop.
The bundle contains:

  • sofa-framework/sofa@robosoft2022 (snapshot from master, at commit 479fd27b, 30 March 2022)
  • sofa-framework/SofaPython3@robosoft2022 (synced with master)
  • SofaDefrost/STLIB@robosoft2022 (synced with master)
  • SofaDefrost/SoftRobots@robosoft2022 (synced with master)
  • sofabot/SoftRobots.Inverse@robosoft2022 (private repository)

Instructions

Windows

Windows

To open a Terminal: Start > type "cmd" > press Enter

Install the dependencies

  1. Install Microsoft Visual C++ 2017 Redistributable.

  2. Install python + pip
    Open a Terminal and run python -V
    If the command shows a version that is in [3.7 ; 3.9], skip to step 3.
    Else, install one of these compatible versions:

    Make sure to enable pip installation and addition to PATH.
    Open a Terminal and run python -V again. You should see the version of python you just installed.

  3. Install numpy + Scipy
    Open a Terminal and run python -m pip install numpy scipy

Install the SOFA RoboSoft bundle

Go to https://github.com/SofaDefrost/RoboSoft2022/releases/tag/release-main
Download the ZIP corresponding to your system and the version of python you just installed.
Extract the ZIP on your Desktop.

Execute runSofa

Open a Terminal and run

cd %HOMEPATH%\Desktop\SOFA_robosoft2022_*
set PYTHONPATH=plugins\SofaPython3\lib\python3\site-packages
bin\runSofa.exe
Ubuntu

Ubuntu

Install the dependencies

  1. Install libopengl0
    sudo apt install libopengl0

  2. Install python + pip
    Open a Terminal and run python3 -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 3.
    Else, search which compatible version is proposed by your package manager:

    sudo apt update
    sudo apt info python3 | grep -i 'version: '

    If the proposed version is in [3.7 ; 3.10] then install it

    sudo apt install python3-dev python3-distutils
    curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
    python3 /tmp/get-pip3.py

    Open a Terminal and run python3 -V again. You should see the version of python you just installed.

  3. Install numpy + scipy
    Open a Terminal and run

    python3 -m pip install --upgrade pip
    python3 -m pip install numpy scipy

Install the SOFA RoboSoft bundle

Go to https://github.com/SofaDefrost/RoboSoft2022/releases/tag/release-main
Download the ZIP corresponding to your system and the version of python you just installed.
Extract the ZIP on your Desktop.

Execute runSofa

Open a Terminal and run

cd ~/Desktop/SOFA_robosoft2022_*
export PYTHONPATH=plugins/SofaPython3/lib/python3/site-packages 
./bin/runSofa
MacOS

MacOS

Install the dependencies

  1. Install python + pip
    Open a Terminal and run python3 -V
    If the command shows a version that is in [3.7 ; 3.10], skip to step 2.
    Else, search which compatible version is proposed by your package manager:

    brew update
    brew info python

    If the proposed version is in [3.7 ; 3.10] then install it

    brew install python

    Open a Terminal and run python3 -V again. You should see the version of python you just installed.

  2. Install numpy + scipy
    Open a Terminal and run

    python3 -m pip install --upgrade pip
    python3 -m pip install numpy scipy

Install the SOFA RoboSoft bundle

Go to https://github.com/SofaDefrost/RoboSoft2022/releases/tag/release-main
Download the ZIP corresponding to your system and the version of python you just installed.
Extract the ZIP in your User folder.

Execute runSofa

Open a Terminal and run

cd ~/SOFA_robosoft2022_*
export PYTHONPATH=plugins/SofaPython3/lib/python3/site-packages 
./bin/runSofa