Reference · Build a mesh and a drawing
REAL_CRAFTconstant
The real craft that lie in the fleet band for scale: Starship with Super Heavy, Saturn V, SLS and the International Space Station. Each is a variant of the package, so its length is the sourced figure, axis is the way its length runs in its own model
(y up the stack, nose up; x along the station's long axis), and a rocket points its nose right. They are never scaled: they are drawn at the lineup's own scale.
Import it
import { REAL_CRAFT } from "@johnmorrisdotca/uchusen-rockets/build";
Definition
const REAL_CRAFT: readonly [{ readonly key: "starship:v3"; readonly name: "Starship with Super Heavy"; readonly axis: "y"; }, { readonly key: "saturn-v:saturn-v"; readonly name: "Saturn V"; readonly axis: "y"; }, { readonly key: "sls:block-1"; readonly name: "SLS Block 1"; readonly axis: "y"; }, { readonly key: "iss:iss"; readonly name: "ISS"; readonly axis: "x"; }] = [
{ key: "starship:v3", name: BESIDE_NAME, axis: "y" },
{ key: "saturn-v:saturn-v", name: "Saturn V", axis: "y" },
{ key: "sls:block-1", name: "SLS Block 1", axis: "y" },
{ key: "iss:iss", name: "ISS", axis: "x" },
] as const
Examples
import { REAL_CRAFT } from "@johnmorrisdotca/uchusen-rockets/build";
console.log(REAL_CRAFT.map((craft) => craft.name));[ 'Starship with Super Heavy', 'Saturn V', 'SLS Block 1', 'ISS' ]What it prints (run when this page was built)