Running from Source#
This section assumes that you are familiar with python and environments. DAVE works with the standard python distributions. If you do not have python yet then download and install it from https://www.python.org/.
Python 3.10 or higher
Windows 10 or higher
Option 1: PyPi#
DAVE can be installed as a python package. This is the way to go if you want to work with DAVE from python but do not intent to change DAVE itself.
Dave is available on PyPi and can be installed using pip. The name of the package is useDAVE.
> pip install useDAVE
Option 2: From GitHub#
Fork or checkout from RubendeBruin/DAVE
the install the requirements via
> pip install -r requirements.txt
All requirements are available on PyPi as well so there is no need to use conda.
Option 3 : Conda / Mamaba (not preferred)#
It is preferred to install DAVE via pip as not all DAVE requirements are available on conda.
If you already have anaconda or miniconda installed then DAVE can be downloaded and installed from conda-forge using the following command:
> conda create -n DAVE DAVE -c conda-forge
This will install DAVE and most of its requirements.
After installing DAVE, the following two packages need to be installed from PIP as they are not available on conda at this moment:
> pip install PySide6-essentials PySide6-QtAds
The first time that DAVE runs it will download the equilibrium core. Equilibrium core can be used for free for educational purposes. link
Starting the Gui#
The DAVE Gui can be started using the following python code:
from DAVE import *
s = Scene()
If you wish to use DAVE through Jupyter Lab then the DAVE environment needs to be registered with ipykernel.
> activate DAVE
> conda install ipykernel
> python -m ipykernel install --user --name DAVE --display-name "Python (DAVE)"
Jupyter Lab can be started using
> jupyter lab
This will start lab in the current folder.
Install blender (optional)#
Blender is an excellent and free tool for 3d modeling, the artist way. It can be used for creating visuals checking meshes and for rendering DAVE scenes.
Blender can be obtained from blender