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

BuilderRowtype

One row of the builder, from the bottom: what it chooses, the parts it offers, the one chosen, and whether the builder made the choice because only one part fits.

Import it

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

Definition

interface BuilderRow {
    label: string;
    options: readonly BuilderOption[];
    chosen: string;
    auto: boolean;
}

Members

NameTypeDescription
labelstring

What this row chooses.

optionsreadonly BuilderOption[]
chosenstring
autoboolean

One answer only: the builder made the choice.

Examples

import { builderState, type BuilderRow } from "@johnmorrisdotca/uchusen-rockets";

const row: BuilderRow | undefined = builderState().rows[0];
console.log(row?.label, row?.chosen, row?.auto);
Super Heavy starship-v1-flight1-booster false

What it prints (run when this page was built)

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