From a7ec9c0e6d2a9dfb814b99f8d253fd081f284b02 Mon Sep 17 00:00:00 2001 From: zhouyr9 Date: Wed, 31 Dec 2025 22:05:15 +0800 Subject: [PATCH] update --- .../KSP_wiki/vessel_log/Stellaria_history.py | 216 +++++++++++++++++- src/OneNote_tool/onenote.py | 3 + 2 files changed, 218 insertions(+), 1 deletion(-) diff --git a/src/KSP_tools/KSP_wiki/vessel_log/Stellaria_history.py b/src/KSP_tools/KSP_wiki/vessel_log/Stellaria_history.py index 4a92a30..25f1600 100644 --- a/src/KSP_tools/KSP_wiki/vessel_log/Stellaria_history.py +++ b/src/KSP_tools/KSP_wiki/vessel_log/Stellaria_history.py @@ -60,7 +60,36 @@ operating_history_raw = """ 2056-12-31 Picking up crew for Europa Outpost Construction Mission 1 2057-01-02 Earth Departure for Europa Use standard trajectory with 165km/s of departure burn +2057-02-25 Europa Arrival, First crewed mission to Europa + 2057-02-27 Heavy Cargo Delivery to Surface via Qingtian Cargo Shuttle + 2057-03-15 Crew descend to Europan Surface, Beginning construction of Europa Outpost + 6 crewed ascend and descend operations to Europa Surface via Callisto MPV between 2057-03-15 and 2057-09-15 + 2057-10-01 Europa Outpost Construction Mission 1 Crew ascend to Stellaria, wrapping up construction phase 1 +2057-10-04 Europa Departure for Earth + Use Fast trajectory with 216km/s of departure burn +2057-12-20 Earth Arrival +2058-01-05 Start maintenance and upgrades, extensive overhauls to bring ST-01 closer to full Stellaria specifications + Add more greenhouse modules, upgrade life support systems, add another Rotating Habitat Ring +2058-05-15 Maintenance and upgrades complete. +2058-06-01 Picking up crew for Saturn Exploration Mission 1 +2058-06-03 Earth Departure for Saturn + Use Fast trajectory with 210km/s of departure burn +2058-10-12 Saturn Arrival, First crewed mission to Saturn + + 2059-05-31 Parked into Iapetus orbit, orbital science completed + 2059-06-15 Start Iapetus Surface operation +2059-07-01 Wrapping up Saturn Exploration Mission. Saturn Departure for Earth + Use standard trajectory with 162km/s of departure burn +2059-11-24 Back from Saturn, Earth Arrival + +2059-11-25 Parking to Star Port, Starting to upgrade +2059-02-10 Upgrades complete, ST-01 now fully meets Stellaria specifications. + +2060-02-11 Out of Star Port, config for Outer Solar System Exploration +2060-02-12 Pick up Outer Solar System Exploration Crew 1 and supply +2060-02-12 Earth Departure for Neptune + 160km/s departure burn @@ -97,5 +126,190 @@ operating_history = [ "2054-05-12 Begin Trial Run in Earth Orbit, testing all systems", "2054-08-22 Trial Run complete, all systems perform as expected. Including multiple run to GEO and Lunar Orbit before returning to LEO.", ] - } + }, + { + 'log_name': "Deep Space Test Mission", + 'start_time': "2054-09-07", + 'end_time': "2054-11-28", + 'mission_detail': "Uncrewed mission to Earth-Sun Lagrange Point 2 to test long-duration operations", + 'sub_log': [ + "2054-09-07 Begin Deep Space Test Mission", + "2054-11-28 Test Mission Complete, all systems nominal. Returning to LEO.", + ] + }, + { + 'log_name': "Maintenance before Commissioning", + 'start_time': "2055-12-01", + 'end_time': "2056-02-28", + 'mission_detail': "", + 'sub_log': [] + }, + { + 'log_name': 'Inner Solar System Exploration Mission 1 outbound to Mecury', + 'start_time': "2055-03-20", + 'end_time': "2055-04-17", + 'mission_detail': "Earth-Mecury transfer, using standard trajectory with 127km/s of departure burn", + 'sub_log': [ + "2055-03-20 Picking up crew for Inner Solar System Exploration Mission 1", + "2055-03-22 Earth Departure for Mecury", + "2055-04-17 Mercury Arrival", + ] + }, + { + 'log_name': "Inner Solar System Exploration Mission 1 Mecury Operations", + 'start_time': "2055-04-18", + 'end_time': "2055-06-30", + 'mission_detail': "First crewed mission to Mercury", + 'sub_log': [ + "2055-04-17 Mercury Arrival", + "2055-04-18 Orbital Survey of Mercury begins", + "2055-06-14 First Crewed Surface Landing on Mercury", + "2055-06-15 EVA operations commence", + "2055-06-30 Surface operations complete, returning to orbit", + "2055-08-15 Departure from Mercury for Venus", + ] + }, + { + "log_name": "Inner SolarSystem Exploration Mission 1 outbound to Venus", + "start_time": "2055-08-15", + "end_time": "2055-10-01", + "mission_detail": "Mecury-Venus transfer, using standard trajectory with 85km/s of departure burn", + "sub_log": [ + "2055-08-15 Departure from Mercury for Venus", + "2055-10-01 Venus Arrival", + ] + }, + { + 'log_name': 'Inner Solar System Exploration Mission 1 Venus Operations', + 'start_time': "2055-10-01", + 'end_time': "2056-03-24", + 'mission_detail': "First crewed mission to Venus, no crewed landing attempted due to extreme surface conditions. Probe deployment only.", + 'sub_log': [ + "2055-10-01 Venus Arrival", + "2055-10-02 Orbital Survey of Venus begins", + "2055-10-10 Landing Probe Deployment", + "2055-11-10 Begin Upper Atmosphere Survey via Callisto MPV", + "2056-03-24 Departure from Venus for Earth", + ] + }, + { + 'log_name': 'Inner Solar System Exploration Mission 1 return to Earth', + 'start_time': "2056-03-24", + 'end_time': "2056-04-12", + 'mission_detail': "Venus-Earth transfer, using standard trajectory with 75km/s of departure burn", + 'sub_log': [ + "2056-03-24 Departure from Venus for Earth", + "2056-04-12 Earth Arrival", + ] + }, + { + 'log_name': "Maintenance", + 'start_time': "2056-04-15", + 'end_time': "2056-06-01", + 'mission_detail': "", + 'sub_log': [] + }, + { + 'log_name': "Mars One Construction Mission 2 outbound to Mars", + 'start_time': "2056-06-02", + 'end_time': "2056-07-01", + 'mission_detail': "Earth-Mars transfer, using standard trajectory with 126km/s of departure burn", + 'sub_log': [ + "2056-06-02 Picking up crew for Mars One Construction Mission 2", + "2056-06-04 Picking up Mars One construction cargo", + "2056-06-06 Earth Departure for Mars", + "2056-07-01 Mars Arrival, First crewed mission to Mars using Stellaria", + ] + }, + { + 'log_name': "Mars One Construction Mission 2 Mars Operations", + 'start_time': "2056-07-03", + 'end_time': "2056-10-12", + 'mission_detail': "Continuing the construction of Mars One Base", + 'sub_log': [ + "2056-07-03 Crew descend to Martian Surface, Continuing the construction of Mars One Base", + "2056-07-20 Heavy Cargo Delivery to Surface via Callisto MPV", + "2056-09-17 Mars One Construction Mission 3 Crew Arrival via XH-01, joining Stellaria crew. First Crew Handover on Mars.", + "2056-10-12 Mars One Construction Mission 2 Crew ascend to Stellaria", + "2056-10-15 Departure from Mars for Earth", + ] + }, + { + 'log_name': "Mars One Construction Mission 2 return to Earth", + 'start_time': "2056-10-15", + 'end_time': "2056-11-03", + 'mission_detail': "Mars-Earth transfer, using Fast Return trajectory with 212km/s of departure burn", + 'sub_log': [ + "2056-10-15 Departure from Mars for Earth", + "2056-11-03 Earth Arrival", + ] + }, + { + 'log_name': "Maintenance", + 'start_time': "2056-11-04", + 'end_time': "2056-12-10", + 'mission_detail': "", + 'sub_log': [] + }, + { + 'log_name': "Europa Outpost Construction Mission 1 outbound to Europa", + 'start_time': "2056-12-15", + 'end_time': "2057-02-25", + 'mission_detail': "Earth-Europa transfer, using standard trajectory with 165km/s of departure burn", + 'sub_log': [ + "2056-12-15 Start preparations for Europa Outpost Construction Mission 1", + "2056-12-20 Europa Outpost Construction Package arrival via Qingtian Cargo Shuttle", + "2056-12-31 Picking up crew for Europa Outpost Construction Mission 1 ", + "2057-01-02 Earth Departure for Europa", + ] + }, + { + 'log_name': "Europa Outpost Construction Mission 1 Europa Operations", + 'start_time': "2057-02-27", + 'end_time': "2057-10-01", + 'mission_detail': "First crewed mission to Europa", + 'sub_log': [ + "2057-02-27 Heavy Cargo Delivery to Surface via Qingtian Cargo Shuttle", + "2057-03-15 Crew descend to Europan Surface, Beginning construction of Europa Outpost", + "6 crewed ascend and descend operations to Europa Surface via Callisto MPV between 2057-03-15 and 2057-09-15", + "2057-10-01 Europa Outpost Construction Mission 1 Crew ascend to Stellaria, wrapping up construction phase 1", + "2057-10-04 Europa Departure for Earth", + ] + }, + { + 'log_name': "Europa Outpost Construction Mission 1 return to Earth", + 'start_time': "2057-10-04", + 'end_time': "2057-12-20", + 'mission_detail': "Europa-Earth transfer, using Fast trajectory with 216km/s of departure burn", + 'sub_log': [ + "2057-10-04 Europa Departure for Earth", + "2057-12-20 Earth Arrival", + ] + }, + { + 'log_name': "Maintenance and Upgrades", + 'start_time': "2058-01-05", + 'end_time': "2058-05-15", + 'mission_detail': "Extensive overhauls to bring ST-01 closer to full Stellaria specifications. Add more greenhouse modules, upgrade life support systems, add another Rotating Habitat Ring", + 'sub_log': [] + }, + { + 'log_name': "Saturn Exploration Mission 1 outbound to Saturn", + 'start_time': "2058-06-01", + 'end_time': "2058-10-12", + 'mission_detail': "Earth-Saturn transfer, using Fast trajectory with 210km/s of departure burn", + 'sub_log': [ + "2058-06-01 Picking up crew for Saturn Exploration Mission 1", + "2058-06-03 Earth Departure for Saturn", + "2058-10-12 Saturn Arrival, First crewed mission to Saturn", + ] + }, + { + 'log_name': "Saturn Exploration Mission 1 Saturn Operations", + 'start_time': "2059-05-31", + 'end_time': "2059-07-01", + 'mission_detail': "First crewed mission to Saturn", + 'sub_log': [ + "2059-05-31 Parked into Iapetus orbit, orbital science completed", + "2059-06-15 Start Iapetus Surface operation", ] \ No newline at end of file diff --git a/src/OneNote_tool/onenote.py b/src/OneNote_tool/onenote.py index c30b729..6a8b068 100644 --- a/src/OneNote_tool/onenote.py +++ b/src/OneNote_tool/onenote.py @@ -319,5 +319,8 @@ if __name__ == "__main__": path = sys.argv[1] else: path = r'C:\Users\zhouyr9\Documents\2025.mht' + + with open(path, "r", encoding='latin-1') as f: + content = f.read() out = load_OneNote_document(path) print(f"Found {len(out['pages'])} pages")