Skip to main content

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
  • 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]
      

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
      
  • 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

  • Richard Graham for the original script: Source
  • @not7cd for some initial organization and clean-up: Source
  • And of course everyone who has contributed to OpenRocket over the years.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

orhelper-0.0.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file orhelper-0.0.1.tar.gz.

File metadata

  • Download URL: orhelper-0.0.1.tar.gz
  • Upload date:
  • Size: 5.0 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

Hashes for orhelper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 853bbff3753867e96bd3b6a021b03c718575b7a81ebf56e67960fd9f5a6cb45e
MD5 d0446d38163bd653fc5191af0fc39562
BLAKE2b-256 c1ab75a5c92d014718f00519a7b90fbce0160778127079678742710d87333078

See more details on using hashes here.

File details

Details for the file orhelper-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: orhelper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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

Hashes for orhelper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73da2f1103a0bbf18715e71dfd39e7bb1084378fe297315cff0dfb7051388880
MD5 32340e93e3c959b535aa3779a7524b6c
BLAKE2b-256 624fc1af9661c403e10b924c6d60a1d7c141f9659fd79b5ae52521a3dae38da9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page