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

dockingMarkingfunction

A docking marker: a ring with four ticks and the port's number in the middle, painted where a ship should line up. place.height is the ring's outer diameter, and the anchor is its centre.

Import it

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

Definition

function dockingMarking(label: string, place: MarkingPlace, style?: MarkingStyle): Piece[]

Parameters

NameTypeDescription
labelstring

The number or letters in the middle.

placeMarkingPlace

Where; align is ignored.

style (optional)MarkingStyle

ink is the paint (hazard, warning yellow, by default).

Returns

Piece[]

The pieces.

Examples

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

console.log(dockingMarking("P4", { radius: 7, y: 5, az: 0, height: 2 }).length > 20);
true

What it prints (run when this page was built)

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