OrbParts.module
README.md
OrbParts
Part catalog + craft math for Orbiteer. A craft design is a stack of part ids, top (pod) to bottom (first stage).
catalog/byId— the nine parts (pod, nose cone, two tanks, liquid engine, solid booster, decoupler, fins, legs) with mass, fuel, thrust, mass flow, size, drag, torque, and stability stats.defaultDesign()— the starter two-stage rocket.stages(stack)— splits the stack into firing-order segments at decouplers (each decoupler drops with the segment below it), summing thrust/flow/fuel per segment.readout(stack, g0)— the VAB readout: wet/dry mass, first-stage thrust and TWR, drag area, control torque, per-stage delta-v (Tsiolkovsky with segment-local propellant), burn times, total delta-v, and validity problems (no pod, no engine, TWR ≤ 1).