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

RocketEntrytype

One rocket: its id and name, its variants, its default variant, the group it is listed under and who made it.

Import it

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

Definition

interface RocketEntry {
    id: string;
    name: string;
    status: RocketStatus;
    variants: readonly Variant[];
    defaultVariant: string;
    maker: MakerId;
    madeBy: Figure<string>;
}

Members

NameTypeDescription
idstring
namestring
statusRocketStatus
variantsreadonly Variant[]
defaultVariantstring
maker"fleet" | "spacex" | "nasa" | "blue-origin" | "rocket-lab" | "russia" | "us-army" | "sites"

Which group the demo lists it under.

madeByFigure<string>

Whose it is and who built it, as its source says, or a blank.

Examples

import { ROCKETS, type RocketEntry } from "@johnmorrisdotca/uchusen-rockets";

const starship: RocketEntry | undefined = ROCKETS["starship"];
console.log(starship?.name, starship?.variants.map((variant) => variant.id));
Starship [ 'v1-flight1', 'v1', 'v2', 'v3', 'v4', '2019' ]

What it prints (run when this page was built)

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