Project

General

Profile

Simple Usage » History » Version 1

Jules Waldhart, 2018-03-14 16:11

1 1 Jules Waldhart
h1. Simple Usage
2
3
move4d main interface is through python bindings, also a GUI provide some functionalities, but currently we do not aim at making it a complete interface. Python binding are aimed at accessing all functionalities of move4d -- but that's a work in progress.
4
5
h2. Install everything
6
7
h2. Download some p3d files
8
9
You can find a lot here: @ git://redmine.laas.fr/laas/move3d/assets.git @
10
11
h2. Launch GUI from python console
12
13
start a python 3 console (we recommend using ipython3) and if your environment is properly set you should be able to do:
14
15
<pre><code class="python">
16
import move4dogre
17
from move4d import move4d
18
m4dapp=move4dogre.Move4d(["-f","path/to/a/p3d_file.p3d"]) # try with "path/to/assets/ADREAM/ADREAM_APPART.p3d"
19
m4dapp.start()
20
# this starts the GUI in another thread, you can still provide commands to the python prompt
21
</code></pre>