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

Descriptiontype

A rocket to check or build: its id, its variant (left out: the rocket's default) and any other part in a slot, by part id.

Import it

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

Definition

interface Description {
    rocket: string;
    variant?: string;
    parts?: Readonly<Record<string, string>>;
    form?: "stack" | "space";
}

Members

NameTypeDescription
rocketstring
variant (optional)string | undefined

Left out: the rocket's default variant.

parts (optional)Readonly<Record<string, string>> | undefined

Another part in a slot, by its id.

form (optional)"stack" | "space" | undefined

space draws the craft after its lower stages have gone. Left out, the launch stack.

Examples

import { check, type Description } from "@johnmorrisdotca/uchusen-rockets";

const description: Description = { rocket: "starship", variant: "v3", parts: { ship: "starship-v2-ship" } };
console.log(check(description).label);
Custom build, not a vehicle that flew: Super Heavy, Block 3 (V3) with Ship, Block 2 (V2)

What it prints (run when this page was built)

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