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

deckSummaryfunction

The numbered deck summary of a ship, bow to stern: every section that is a deck, numbered from 1 at the bow. A deck is its own part group, so a viewer can show it alone or highlight it from its number.

Import it

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

Definition

function deckSummary(ship: ShipList): (Deck & { id: string; })[]

Parameters

NameTypeDescription
shipShipList

The ship's list.

Returns

(Deck & { id: string; })[]

The decks, deck 1 first.

Examples

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

for (const deck of deckSummary(SAMPLE_SHIPS.scout)) console.log(deck.number, deck.name);
1 Upper platform
2 Middle platform
3 Lower platform
4 Command gallery
5 Helm and navigation deck
6 Chart and sensor deck
7 Instrument lab
8 Wet lab
9 Surgery
10 Stretcher bay
11 Ring habitat, deck A (16 m radius)
12 Ring commons
13 Ring services deck
14 Shield gallery
15 Reactor control room
16 Coolant pumps and valves
17 Engineering gallery, upper
18 Engineering gallery, lower

What it prints (run when this page was built)

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