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

HullBoxtype

A box the path must not pass through, in metres. A point on the face is outside.

Import it

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

Definition

interface HullBox {
    min: readonly [
        number,
        number,
        number
    ];
    max: readonly [
        number,
        number,
        number
    ];
}

Members

NameTypeDescription
minreadonly [number, number, number]
maxreadonly [number, number, number]

Examples

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

const hull: HullBox = { min: [-1, 0, -1], max: [1, 2, 1] };
console.log(hull.max[1]);
2

What it prints (run when this page was built)

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