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

RoundPlacetype

Text wrapped on a hull of revolution round the spine (the Y axis, or the line through axis): y is the height of the middle of the capitals and az the azimuth of the anchor, in radians round Y from +Z towards +X, as everywhere else in the kit. radius is the hull's radius, one number or a function of the height for a cone. run is the way the text reads: around the hull, left to right seen from outside (the default); up the spine, towards the bow, for lettering along a ship's length; or down.

Import it

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

Definition

interface RoundPlace extends PlaceBase {
    radius: number | ((y: number) => number);
    y: number;
    az: number;
    run?: "around" | "up" | "down";
    axis?: readonly [
        number,
        number
    ];
    sides?: number;
}

Members

NameTypeDescription
radiusnumber | ((y: number) => number)
ynumber
aznumber
run (optional)"around" | "up" | "down" | undefined
axis (optional)readonly [number, number] | undefined

The x, z of the spine, when it is not the Y axis.

sides (optional)number | undefined

How many sides the hull's own mesh has (the kit's drums have 56), so the lettering clears the flats between them.

heightnumber

The height of a capital letter, in metres.

align (optional)"start" | "middle" | "end" | undefined

Which end of the text is on the anchor: start (the default), middle or end.

Examples

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

const hull: RoundPlace = { radius: 6.7, y: 12, az: 0, height: 1.2, align: "middle", run: "around" };
console.log(hull.radius);
6.7

What it prints (run when this page was built)

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