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

MarkingStyletype

How a marking is made. Everything has a default.

Import it

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

Definition

interface MarkingStyle {
    ink?: MaterialName;
    weight?: number;
    face?: FaceName;
    tracking?: number;
    thickness?: number;
    lift?: number;
    detail?: number;
    lines?: boolean;
    frame?: boolean | {
        pad?: number;
        line?: number;
    };
    field?: MaterialName | {
        material: MaterialName;
        pad?: number;
        raise?: number;
        below?: number;
    };
    inline?: MaterialName;
    outline?: {
        material: MaterialName;
        width?: number;
    };
    onField?: number;
    flood?: boolean | "beside";
    worn?: boolean;
}

Members

NameTypeDescription
ink (optional)"fin" | "deck" | "white" | "tile" | "dark" | "bell" | "foam" | "steel" | "tile-plain" | "soot" | "bell-inside" | "engine-metal" | "engine-pale" | "fin-dark" | "black" | "ink-worn" | "gold" | "solar" | "glass" | "blue" | "yellow" | "concrete" | "ground" | "sand" | "water" | "red" | "hull-white" | "hull-white-worn" | "hull-orange" | "hull-orange-worn" | "hull-dawn" | "hull-dawn-worn" | "hull-yellow" | "hull-grey" | "hull-grey-dark" | "hull-blue" | "panel-dark" | "coolant" | "blanket" | "copper" | "coil" | "radiator" | "radiator-hot" | "hazard" | "frost" | "lamp-amber" | "lamp-blue" | "lamp-red" | "plant" | "fuel" | "core" | "blanket-worn" | "foil" | "kapton" | "pipe-steel" | "window" | "coil-lit" | "nav-red" | "nav-green" | "nav-white" | "strobe" | "beacon" | "flood" | "light-pool" | "light-pool-mid" | "light-pool-edge" | "halo-port" | "halo-port-soft" | "halo-starboard" | "halo-starboard-soft" | "halo-stern" | "halo-stern-soft" | "halo-strobe" | "halo-strobe-soft" | "halo-beacon" | "halo-beacon-soft" | "halo-window" | "glass-clear" | "sky-wash" | "grow-lamp" | "leaf" | "soil" | "fabric" | "wood" | "lawn" | "lawn-dark" | "meadow" | "shrub" | "bark" | "flower" | "crop-gold" | "crop-green" | "water-clear" | undefined

The paint, a material name; black by default.

weight (optional)number | undefined

How much each letter is made bolder, in capital heights added to each side of a stem; 0.016 by default, 0 for the face as drawn.

face (optional)"michroma" | "orbitron" | "oxanium" | "goldman" | undefined

The face the Latin letters are drawn in: michroma (the default), orbitron, oxanium or goldman.

tracking (optional)number | undefined

The extra space between letters, in capital heights; each face has its own default (0.14 for Michroma).

thickness (optional)number | undefined

How thick the paint stands, in metres; the default grows with the letters.

lift (optional)number | undefined

How far the paint stands off the surface before its own thickness, in metres; the default clears the curve and the hull's flats.

detail (optional)number | undefined

0.25 to 1: fewer points in each outline at a low level. 1 by default.

lines (optional)boolean | undefined

Draw each letter's outline as lines too, which is what the line and thick looks show; true by default.

frame (optional)boolean | { pad?: number; line?: number; } | undefined

A painted border round the text, as stencils have; true takes the defaults (a gap of 0.45 and a line of 0.1, in capital heights).

field (optional)"fin" | "deck" | "white" | "tile" | "dark" | "bell" | "foam" | "steel" | "tile-plain" | "soot" | "bell-inside" | "engine-metal" | "engine-pale" | "fin-dark" | "black" | "ink-worn" | "gold" | "solar" | "glass" | "blue" | "yellow" | "concrete" | "ground" | "sand" | "water" | "red" | "hull-white" | "hull-white-worn" | "hull-orange" | "hull-orange-worn" | "hull-dawn" | "hull-dawn-worn" | "hull-yellow" | "hull-grey" | "hull-grey-dark" | "hull-blue" | "panel-dark" | "coolant" | "blanket" | "copper" | "coil" | "radiator" | "radiator-hot" | "hazard" | "frost" | "lamp-amber" | "lamp-blue" | "lamp-red" | "plant" | "fuel" | "core" | "blanket-worn" | "foil" | "kapton" | "pipe-steel" | "window" | "coil-lit" | "nav-red" | "nav-green" | "nav-white" | "strobe" | "beacon" | "flood" | "light-pool" | "light-pool-mid" | "light-pool-edge" | "halo-port" | "halo-port-soft" | "halo-starboard" | "halo-starboard-soft" | "halo-stern" | "halo-stern-soft" | "halo-strobe" | "halo-strobe-soft" | "halo-beacon" | "halo-beacon-soft" | "halo-window" | "glass-clear" | "sky-wash" | "grow-lamp" | "leaf" | "soil" | "fabric" | "wood" | "lawn" | "lawn-dark" | "meadow" | "shrub" | "bark" | "flower" | "crop-gold" | "crop-green" | "water-clear" | { material: MaterialName; pad?: number; raise?: number; below?: number; } | undefined

A smooth raised plate under the text, standing out of the plating and the stringers: a material, or { material, pad, raise } (pad in capital heights, raise in metres, 0.3 by default, below the extra metres it reaches under the text for a second line).

inline (optional)"fin" | "deck" | "white" | "tile" | "dark" | "bell" | "foam" | "steel" | "tile-plain" | "soot" | "bell-inside" | "engine-metal" | "engine-pale" | "fin-dark" | "black" | "ink-worn" | "gold" | "solar" | "glass" | "blue" | "yellow" | "concrete" | "ground" | "sand" | "water" | "red" | "hull-white" | "hull-white-worn" | "hull-orange" | "hull-orange-worn" | "hull-dawn" | "hull-dawn-worn" | "hull-yellow" | "hull-grey" | "hull-grey-dark" | "hull-blue" | "panel-dark" | "coolant" | "blanket" | "copper" | "coil" | "radiator" | "radiator-hot" | "hazard" | "frost" | "lamp-amber" | "lamp-blue" | "lamp-red" | "plant" | "fuel" | "core" | "blanket-worn" | "foil" | "kapton" | "pipe-steel" | "window" | "coil-lit" | "nav-red" | "nav-green" | "nav-white" | "strobe" | "beacon" | "flood" | "light-pool" | "light-pool-mid" | "light-pool-edge" | "halo-port" | "halo-port-soft" | "halo-starboard" | "halo-starboard-soft" | "halo-stern" | "halo-stern-soft" | "halo-strobe" | "halo-strobe-soft" | "halo-beacon" | "halo-beacon-soft" | "halo-window" | "glass-clear" | "sky-wash" | "grow-lamp" | "leaf" | "soil" | "fabric" | "wood" | "lawn" | "lawn-dark" | "meadow" | "shrub" | "bark" | "flower" | "crop-gold" | "crop-green" | "water-clear" | undefined

A thin line inside the edge of every letter in this material, which makes dark lettering read as outlined: set in 0.04 capital heights from the edge, 0.025 wide.

outline (optional){ material: MaterialName; width?: number; } | undefined

A heavier outline round the outside of every letter, in this material and this wide (capital heights): { material, width }. Together with a solid fill and a bolder weight it makes a one-weight face read bold.

onField (optional)number | undefined

The paint stands on a plate this many metres proud that another marking laid (a second line on the same field).

flood (optional)boolean | "beside" | undefined

Floodlights, which glow in the Lit look. true stands them above the line; "beside" stands one at each end, a capital clear of the letters.

worn (optional)boolean | undefined

Faded patches in the letter paint, the same on every letter: a property of the paint, not of the light.

Examples

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

const style: MarkingStyle = { ink: "black", weight: 0.016, tracking: 0.14, frame: true };
console.log(style.ink);
black

What it prints (run when this page was built)

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