Release v2
First bugfix, first new feature and first technical improvement.
New Features
- Add
cleanup_maneuver_nodes
option. Enabled by default, this will delete any maneuver nodes created if any problem occurs when creating the transfer, in order to leave a clean slate for the next attempt.
Bug Fixes
- Fix issue
search.ks fails when time:seconds > 2^31
. The kOSrange
expression expects values to fit within a signed 32 bit integer. This caused the script to break when run on save games with a universal time greater than 2³¹ seconds or about 233 years. Replaced therange
expression with afrom
loop as a straightforward workaround.
Technical Improvements
- Calculate the time at destination periapsis (used when creating the arrival node) directly from Keplerian orbital parameters of the intercept patch. This is more efficient and accurate than the previous approach, which used a line search to find the closest approach distance by trying different times.