I noticed a mismatch in the mass of the rocket and its components when reading a open rocket (.ork) file from the openrocketdoc interface and from OpenRocket-15.03.jar itself.
I have provided a minimal example below and attached the .ork file I was reading below.
I see that the mass of the rocket without motor is 2447 grams. Further if I check the mass of the nose cone component in open rocket it is 218 grams while in the openrocketdoc interface it is 0.
Question:
I was wondering if this is a bug or this is the expected behaviour. Further if I have components with overridden mass the loader does not see the overridden component mass either.
Is there some way by which I can get the correct component and rocket mass readings from the .ork file?
Hi Nathan,
I noticed a mismatch in the mass of the rocket and its components when reading a open rocket (.ork) file from the openrocketdoc interface and from OpenRocket-15.03.jar itself.
I have provided a minimal example below and attached the .ork file I was reading below.
Minimal Example
import openrocketdoc from openrocketdoc import loaders rocketloader = openrocketdoc.loaders.Openrocket() rocket = rocketloader.load('StarterDesign.ork') print("Rocket Mass:") print(rocket.mass)
Example Output
Rocket Mass: 2.03641177398
Issue
If I open the file with the OpenRocket simulator version 15.03 that can be downloaded from http://openrocket.sourceforge.net/download.html
I see that the mass of the rocket without motor is 2447 grams. Further if I check the mass of the nose cone component in open rocket it is 218 grams while in the openrocketdoc interface it is 0.
Question:
I was wondering if this is a bug or this is the expected behaviour. Further if I have components with overridden mass the loader does not see the overridden component mass either.
Is there some way by which I can get the correct component and rocket mass readings from the .ork file?
Thanks, Sanket
.ork file attached:
StarterDesign.ork.zip