Skip to content

Expands the Design Report (print/export) with more static design data and adds a CSV export. - #3320

Open
thzero wants to merge 5 commits into
openrocket:unstablefrom
thzero:exportdesigninfo
Open

thzero wants to merge 5 commits into
openrocket:unstablefrom
thzero:exportdesigninfo

Conversation

@thzero

@thzero thzero commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This was done because I wanted more information on PDF print outs but also need a CSV output of some of the main specifications of the rocket.

Printed report

  • New Rocket Static Stats section: length, max diameter, mass (empty/loaded), CG (empty/loaded), CP, fineness (L/D), stability (cal and %), drag coefficient at the default Mach, normal-force slope (CNα), and pitch/roll inertia — shown for the whole rocket and, for multi-stage designs, per stage.
  • Layout cleanup: bold, larger rocket name; two-column metadata (Stages | Design type, Designer | Kit); more consistent spacing.
  • Design Notes (revision + comment) on their own page.
  • Motors moved to their own page under a Motors header (like Parts Detail).
  • New Include motors checkbox in the print/export dialog to omit the motor/flight tables.

CSV export

  • New Save as CSV button. Exports the textual design info only (no diagram): metadata + statistics as Scope,Field,Value,Unit, with value and unit in separate columns.
  • Whole-rocket and per-stage statistics come from the same DesignReport.computeStaticStats(...) as the PDF, so the two never diverge.
  • Adds nose-to-fin-root top/bottom distances per stage and per fin set (duplicate fin-set names disambiguated with Russian l10n changes. #1/OpenRocketDocument leaks after closing BasicFrame #2).
  • UTF-8 BOM so spreadsheets render unit symbols (e.g. oz·in²) correctly.

@neilweinstock

Copy link
Copy Markdown
Contributor

Looks pretty good. One small issue: the "Include motors" should be a checkbox in the main content selection list up top (probably named "Motor summary" or something like that) rather than on its own in the bottom.

@thzero

thzero commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Looks pretty good. One small issue: the "Include motors" should be a checkbox in the main content selection list up top (probably named "Motor summary" or something like that) rather than on its own in the bottom.

Done...

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants