Space Mission Plan Generator

Space Mission Plan Generator

Architect your mission parameters, define vehicle configurations, and generate an official flight plan dossier.

🚀 Strategic Objectives

🛰️ Configuration

0 for Robotic Missions

⏳ Mission Logistics

$

📄 Flight Plan Preview

Review the official mission documentation below before exporting.

${inputs.milestones.value.replace(/\n/g, '
') || 'None Defined'}

Generated via Space Mission Plan Generator. This document is for simulation/planning purposes only.
`; dossierArea.innerHTML = html; } // --- PDF Export --- document.getElementById('smp-pdf-btn').addEventListener('click', function() { if (typeof html2pdf === 'undefined') { const script = document.createElement('script'); script.src = 'https://cdnjs.cloudflare.com/ajax/libs/html2pdf.js/0.10.1/html2pdf.bundle.min.js'; script.onload = executePDF; document.head.appendChild(script); } else { executePDF(); } }); function executePDF() { const element = document.getElementById('smp-dossier-area'); const safeName = (inputs.name.value || 'Mission').replace(/[^a-z0-9]/gi, '_'); const opt = { margin: 0.5, filename: `${safeName}_FlightPlan.pdf`, image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2 }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' } }; html2pdf().set(opt).from(element).save(); } });
Scroll to Top