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

FlatPlacetype

Text on a flat wall: at is the anchor, the middle of the capitals' height; right is the way the text reads and up the way a letter stands, both unit vectors; the viewer who sees the text right way round stands on the side of right x up.

Import it

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

Definition

interface FlatPlace extends PlaceBase {
    at: Vec3;
    right: Vec3;
    up: Vec3;
}

Members

NameTypeDescription
atVec3
rightVec3
upVec3
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 { FlatPlace } from "@johnmorrisdotca/uchusen-rockets";

const wall: FlatPlace = { at: [6.4, 20, 0], right: [0, 0, -1], up: [0, 1, 0], height: 0.9, align: "middle" };
console.log(wall.height);
0.9

What it prints (run when this page was built)

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