PDF export is converting channel Top Width units incorrectly
name: "Bug Report Template"
about: "For filing bugs. Please search for existing issues first. Also see CONTRIBUTING."
Bug Report
Current Behavior A clear and concise description of the behavior.
The PDF export Width that is reported in the Discharge Summary on page one looks to be incorrectly converted to English units. The actual width, as shown in the Discharge Tab, is correct. It is converted to feet "again" in the PDF report, resulting in a width that's 3.281 times larger than it should be.
Expected behavior/code A clear and concise description of what you expected to happen (or code).
The PDF should report the correct width.
Possible Solution
This is caused on line 476 in exportpdf.py
. I am not sure if the AC2 behavior is that the quantity stored in self.parent.channel_char['Top_Width'][0]
is always a particular units or not.
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.
Top Width is correct in the Cross-section Tab:
But it's being converted twice in the PDF: