Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
Automate rocket design and manufacturing workflows with TypeScript-based calculation, modeling, and production tools
triggers
["design a model rocket with automated calculations","generate rocket thrust and stability calculations","automate rocket manufacturing specifications","calculate rocket trajectory and performance","design rocket fins and body tube dimensions","optimize rocket motor selection and staging","generate rocket manufacturing blueprints","validate rocket stability and center of pressure"]
A TypeScript-based automation program for designing and manufacturing model rockets, developed by students at Shenzhen 22 High School. This tool automates complex calculations for rocket stability, thrust, trajectory, and generates manufacturing specifications.
Installation
# Clone the repository
git clone https://github.com/Kevin100202/Rocket-Design-and-Manufacturing-Automation-Program-from-Shenzhen22highschool.git
cd Rocket-Design-and-Manufacturing-Automation-Program-from-Shenzhen22highschool
# Install dependencies
npm install
# Build the TypeScript project
npm run build
# Run the program
npm start
Project Structure
The project typically includes modules for:
Stability Calculations: Center of gravity (CG) and center of pressure (CP)
Thrust Calculations: Motor performance and impulse
// If stability.isStable === falseif (!stability.isStable) {
// Option 1: Increase fin size
rocket.setFinHeight(rocket.finHeight * 1.2);
// Option 2: Move fins rearward
rocket.setFinPosition(rocket.finPosition + 20);
// Option 3: Add nose weight
rocket.addNoseWeight(10); // grams// Recalculateconst newStability = stabilityCalc.calculate();
}
Insufficient Thrust
// If thrustToWeight < 5.0if (performance.thrustToWeight < 5.0) {
// Reduce weight or upgrade motorconsole.log("Consider:");
console.log("- Using lighter materials");
console.log("- Upgrading to next motor class");
console.log(`- Current T/W: ${performance.thrustToWeight.toFixed(2)}`);
}
Simulation Errors
try {
const trajectory = simulator.simulate({ timeStep: 0.01, maxTime: 30 });
} catch (error) {
if (error.message.includes('divergence')) {
// Reduce time step for better accuracyconst trajectory = simulator.simulate({
timeStep: 0.001,
maxTime: 30
});
} elseif (error.message.includes('invalid motor')) {
console.error("Motor data incomplete or invalid");
}
}