Skip to the content

Uchusen Rockets宇宙船

Rockets drawn from sourced sizes: line drawings and painted 3D views you drop into a page, take apart and turn round, and a typed model that checks whether a rocket really goes together.

Uchusen is the Japanese word 宇宙船 for spaceship. About the name

Contents

Reference · Rockets, variants, parts and the fit check

VariantFactstype

The sourced numbers of a variant: its height and diameter, each part's height by slot, its engines, other facts and any sizes that are not a height or a width.

Import it

import type { VariantFacts } from "@johnmorrisdotca/uchusen-rockets";

Definition

interface VariantFacts {
    height: Figure;
    diameter: Figure;
    parts: Readonly<Record<string, Figure>>;
    engines: Readonly<Record<string, Figure<string>>>;
    more: Readonly<Record<string, Figure<number | string>>>;
    sizes?: Readonly<Record<string, Figure>>;
}

Members

NameTypeDescription
heightFigure<number>

Overall height with every part in place, metres.

diameterFigure<number>
partsReadonly<Record<string, Figure<number>>>

Each part's height by its slot, metres.

enginesReadonly<Record<string, Figure<string>>>

Engines by slot.

moreReadonly<Record<string, Figure<string | number>>>

Other facts, each with its own source.

sizes (optional)Readonly<Record<string, Figure<number>>> | undefined

Sizes that are not a height or a width, shown as they are named here: "Deck length".

Examples

import { variantOf, type VariantFacts } from "@johnmorrisdotca/uchusen-rockets";

const facts: VariantFacts | undefined = variantOf("falcon-9", "block-5")?.facts;
console.log(facts?.height.value, Object.keys(facts?.parts ?? {}));
69.8 [ 'first-stage', 'second-stage', 'fairing' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/uchusen-rockets 0.14.0.