reilleya / openMotor

An open-source internal ballistics simulator for rocket motor experimenters
GNU General Public License v3.0
398 stars 78 forks source link

Problem with eng file export #195

Closed aushe02 closed 3 years ago

aushe02 commented 3 years ago

There is an extra semicolon at the end of the eng file export. This prevents it from being imported into OpenRocket. See the example file below.

M2115 75.000254 635.00127 P 2.478183 4.745756 Austin 0 0.01 0.03 1769.1244 0.06 1786.7673 0.09 1804.1987 0.12 1821.413 0.15 1838.4048 0.18 1855.1687 0.21 1871.6994 0.24 1887.9914 0.27 1904.0398 0.3 1919.8393 0.33 1935.385 0.36 1950.6718 0.39 1965.6949 0.42 1980.4495 0.45 1994.9309 0.48 2009.1344 0.51 2023.0556 0.54 2036.69 0.57 2050.0332 0.6 2063.0809 0.63 2075.8291 0.66 2088.2736 0.69 2100.4104 0.72 2112.2357 0.75 2123.7456 0.78 2134.9366 0.81 2145.8049 0.84 2156.3472 0.87 2166.56 0.9 2176.4402 0.93 2185.9844 0.96 2195.1897 0.99 2204.0531 1.02 2212.5717 1.05 2220.7429 1.08 2228.5639 1.11 2236.0324 1.14 2243.1458 1.17 2249.9019 1.2 2256.2985 1.23 2262.3336 1.26 2268.0052 1.29 2273.3115 1.32 2278.2508 1.35 2282.8214 1.38 2287.0219 1.41 2290.851 1.44 2294.3073 1.47 2297.3898 1.5 2300.0974 1.53 2302.4293 1.56 2304.3847 1.59 2305.9629 1.62 2307.1635 1.65 2307.9859 1.68 2308.43 1.71 2308.4956 1.74 2308.1825 1.77 2307.4909 1.8 2306.421 1.83 2304.9731 1.86 2303.1477 1.89 2300.9452 1.92 2298.3663 1.95 2295.412 1.98 2292.083 2.01 2288.3803 2.04 2284.3053 2.07 2279.8591 2.1 2275.0431 2.13 2269.8588 2.16 2264.3079 2.19 2258.3921 2.22 2252.1132 2.25 2245.4733 2.28 2238.4744 2.31 2231.1187 2.34 2223.4086 2.37 2215.3465 2.4 2206.9348 2.43 2198.1764 2.46 2189.0739 2.49 2179.6303 2.52 2169.8484 2.55 0.0 ; ;