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

propellantOffunction

The record of what an engine burns, found by the engine's name in a variant's engine text, or null when no page read here names it. A rocket's rocket makes "solid motor" mean its own.

Import it

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

Definition

function propellantOf(rocket: string, engineText: string | null | undefined): EnginePropellant | null

Parameters

NameTypeDescription
rocketstring

A rocket's id.

engineTextstring | null | undefined

The engine text of a part, as a variant's data words it ("9 Merlin 1D"), or null or undefined.

Returns

EnginePropellant | null

What that engine burns, or null.

Examples

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

console.log(propellantOf("falcon-9", "9 Merlin 1D")?.propellant.value, propellantOf("starship", "3 sea-level and 3 vacuum"));
LOX / RP-1 null

What it prints (run when this page was built)

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