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

labelsOffunction

The labels of a ship: one for every named section of every module, each pointing at its part, alternating sides so a sheet can carry them on both sides. A label's point follows the module wherever the list puts it.

Import it

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

Definition

function labelsOf(ship: ShipList): Label[]

Parameters

NameTypeDescription
shipShipList

The ship's list.

Returns

Label[]

The labels, bottom of the spine first.

Examples

import { labelsOf, SAMPLE_SHIPS } from "@johnmorrisdotca/uchusen-rockets";

const labels = labelsOf(SAMPLE_SHIPS.hauler);
console.log(labels.length, labels.filter((label) => label.side === "left").length);
93 46

What it prints (run when this page was built)

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