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

pickBellsfunction

Which count engines burn: from the middle out, and a ring that is only partly used has them evenly round it, so three of a Falcon 9's nine are the middle one and two opposite. A source says how many; where they stand is this rule.

Import it

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

Definition

function pickBells(bells: readonly Bell[], count: number): Bell[]

Parameters

NameTypeDescription
bellsreadonly Bell[]

All the bells of a part.

countnumber

How many burn.

Returns

Bell[]

The bells that burn.

Examples

import { build } from "@johnmorrisdotca/uchusen-rockets/build";
import { bellsOf, pickBells } from "@johnmorrisdotca/uchusen-rockets";

const booster = build({ rocket: "falcon-9", variant: "block-5" }).parts[0];
console.log(booster ? pickBells(bellsOf(booster.pieces), 3).length : 0);
3

What it prints (run when this page was built)

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