openrocket/core/fileformat.txt
Richard Graham 3d5ae6752a Big update to custom expression feature.
- supports range and index subexpressions and many new operators
 - switched to my patched version of exp4j to support all this.
 - expressions belong to rocket document. Accessed from analysis menu.
 - expression importing from file
 - datatypes section defined in file for storing datatypes other than internal ones
 - flightdatatype fix to forget outdated types
 - many GUI fixes to custom expressions
 - new unitgroups supported. Auto unit detection for SI units in custom expressions.

Had to carefully merge loading/saving code with Kevins recent de-localization update. Hopefully changes to materials saving kept but switched datatype access to just using symbol as the key.

Hopefully can get the changes to exp4j upstream so we don't need to keep using this patched version.
2012-08-05 23:59:54 +00:00

47 lines
2.1 KiB
Plaintext

The current OpenRocket file format is "documented" only as the
reference implementation. This will hopefully change in the future.
The "version" attribute of the <openrocket> tag describes the file
format version used, while the "creator" attribute MAY describe the
software and version used to write the document.
The file format version is increased every time the format is
changed. The minor number is increased when changes are made that are
mostly backward-compatible, meaning that older software versions
should be able to read the design sans the new features. The major
number is increased when changes are made that render the design
problematic or impossible to read for older software. For maximum
compatibility software should save a file in the oldest file format
version that supports all the necessary design features.
The following file format versions exist:
1.0: File format version of the first public release (OpenRocket 0.9.0)
1.1: Introduced with OpenRocket 0.9.4. Adds support for saving fin
tabs (<tabheight>, <tablength> and <tabposition> elements) and
allows attaching subcomponents to a tube coupler (previously
forbidden).
1.2: Introduced with OpenRocket 1.1.1. Adds the <digest> tag to
motor definitions. The digest uniquely identifies the
functional characteristics of a particular thrust curve motor.
1.3: Introduced with OpenRocket 1.1.9. Adds the <launchlongitude> and
<geodeticmethod> parameters to the simulation conditions element.
1.4: Introduced with OpenRocket 12.03. Adds the launchrodvelocity and
deploymentvelocity attributes to <flightdata> element. The motor
digesting algorithm was changed. Adds <separationevent> and
<separationdelay> elements to stage components (except sustainer).
1.5: Introduced with OpenRocket 12.xx. Added ComponentPresets.
Added lowerstageseparation as recovery device deployment event.
1.6 (pre):
Added <datatypes> section for supporting datatypes other than
internal ones. Currently only supports datatypes from custom expressions.