Orhelper
orhelper is a module which aims to facilitate interacting and scripting with OpenRocket from Python
Install / Use
/learn @SilentSys/OrhelperREADME
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
For most people jpype will be able to automatically find the JDK. However, if it fails or you want to be sure you are using the correct version, add the JDK path to a JAVA_HOME environment variable:
- Find installation directory (e.g.
/usr/lib/jvm/[YOUR JDK 1.8 FOLDER HERE]) - Open the
~/.bashrcfile with your favorite text editor (will likely need sudo privileges) - Add the following line to the
~/.bashrcfile:export JAVA_HOME="/usr/lib/jvm/[YOUR JDK 1.8 FOLDER HERE]" - Restart your terminal or run the following for the changes to take effect:
source ~/.bashrc
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
CLASSPATHpath 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
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.6kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
