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
- Java JDK 1.8
- Open JDK 1.8
- Oracle JDK 8 (requires signup)
- Ubuntu:
sudo apt-get install openjdk-8-jre
- Python >=3.7
- Pipenv for dependency management
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
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.0.1.tar.gz
(5.0 kB
view hashes)
Built Distribution
orhelper-0.0.1-py3-none-any.whl
(12.4 kB
view hashes)