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

shipPiecesfunction

The pieces of a whole ship: every module in its place, with clamps from the spine to the modules hung beside it. A ship's mesh is these pieces.

Import it

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

Definition

function shipPieces(ship: ShipList, options?: ModuleOptions): Piece[]

Parameters

NameTypeDescription
shipShipList

A ship's list of places.

options (optional)ModuleOptions

What to draw, for every module. detail is lowered for a ship of many modules.

Returns

Piece[]

The pieces, in metres, the bottom of the spine at y = 0.

Examples

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

const pieces = shipPieces([{ module: "tank-cryo-12" }], { detail: 0.5 });
console.log(pieces.length > 100);
true

What it prints (run when this page was built)

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