OrHelper is a module which aims to facilitate interacting and scripting with OpenRocket from Python.
Project description
orhelper
orhelper is a module which aims to facilitate interacting and scripting with OpenRocket from Python.
Prerequisites
- OpenRocket 15.03
- Java JDK 1.8
- Open JDK 1.8
- Oracle JDK 8 (requires signup)
- Ubuntu:
sudo apt-get install openjdk-8-jre
- Python >=3.6
Setup JDK
Linux
- Export JAVA_HOME environment variable
JAVA_HOME=/usr/lib/jvm/[YOUR JDK 1.8 FOLDER HERE]
Windows
- Set Windows environment variables to the following:
- Oracle
JAVA_HOME=C:\Program Files\Java\[YOUR JDK 1.8 FOLDER HERE]
- OpenJDK
JAVA_HOME=C:\Program Files\ojdkbuild\[YOUR JDK 1.8 FOLDER HERE]
- Oracle
Installing
-
Install orhelper from pip
pip install orhelper
-
Download the OpenRocket .jar file (if you don't already have it)
- Linux
wget https://github.com/openrocket/openrocket/releases/download/release-15.03/OpenRocket-15.03.jar
- Linux
-
Set environment variable
CLASSPATH
path to OpenRocket .jar file. (Only required if it's not already at.\OpenRocket-15.03.jar
)CLASSPATH=\some\path\to\OpenRocket-15.03.jar
-
See
examples/
for usage examples -
See the OpenRocket wiki for more info on usage and the examples
Credits
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
orhelper-0.1.1.tar.gz
(5.9 kB
view details)
Built Distribution
orhelper-0.1.1-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file orhelper-0.1.1.tar.gz
.
File metadata
- Download URL: orhelper-0.1.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 550fe63527b3713cfb0b9452909ac7ab6df3e44e3712f60b0e955e31b8e8f9af |
|
MD5 | fa1fa91ca34af99fe9c1a9c6aa08c82e |
|
BLAKE2b-256 | a93db8fe1db527cf94dcedb810fc7f4df8202255722bb14ba45ced62bd2bfff2 |
File details
Details for the file orhelper-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: orhelper-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc3da42daff032a4f69892436ff00c202f6c730b3318560508427f000561b78a |
|
MD5 | 6f8f67f2a9a13b194d1c3d0cfdaeae6f |
|
BLAKE2b-256 | a959810f1b36a6c08b473235b68eb2a28e70b658de5aef6b9d56b3b73bdbe02c |