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

PartPosetype

How a part stands in the picture at a phase. A picture, not a measurement: dx and dy are in heights of the whole vehicle.

Import it

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

Definition

interface PartPose {
    dx?: number;
    dy?: number;
    pitch?: number;
    rest?: boolean;
    gone?: boolean;
    moves?: Readonly<Record<string, number>>;
}

Members

NameTypeDescription
dx (optional)number | undefined
dy (optional)number | undefined
pitch (optional)number | undefined

Turned this many degrees from upright.

rest (optional)boolean | undefined

Its base stands on the ground.

gone (optional)boolean | undefined

It has left the picture.

moves (optional)Readonly<Record<string, number>> | undefined

Degrees each moving group of the part (grid-fins, legs, forward-flaps, aft-flaps) is turned from where it is drawn at rest. A picture, not a measurement.

Examples

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

const pose: PartPose = { dx: 0.2, dy: -0.1, pitch: 12 };
console.log(pose);
{ dx: 0.2, dy: -0.1, pitch: 12 }

What it prints (run when this page was built)

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