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

Placedtype

One module placed on a ship: where its origin stands and how it is turned.

Import it

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

Definition

interface Placed {
    index: number;
    module: KitModule;
    at: Vec3;
    turn: number;
    how: "spine" | "port" | "beside";
}

Members

NameTypeDescription
indexnumber
moduleKitModule
atVec3
turnnumber
how"spine" | "port" | "beside"

How it is held: on the spine, hung from a port, or beside the spine.

Examples

import { assemble, type Placed } from "@johnmorrisdotca/uchusen-rockets";

const placed: Placed[] = assemble([{ module: "engine-fusion-3" }, { module: "tank-cryo-12" }]).placed;
console.log(placed.map((one) => one.at[1]));
[ 0, 11.6 ]

What it prints (run when this page was built)

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