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

hazardMarkingfunction

Diagonal warning stripes of black and warning yellow in a box, for a hatch frame, a swing area or the edge of a gantry: width metres along the text, place.height metres tall, stripes at 45 degrees.

Import it

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

Definition

function hazardMarking(place: MarkingPlace, width: number, style?: MarkingStyle): Piece[]

Parameters

NameTypeDescription
placeMarkingPlace

The place of the box; align says which end of its width is on the anchor and at or y is the middle of its height.

widthnumber

How long the box is, in metres.

style (optional)MarkingStyle

ink is the colour of the stripes (hazard by default) on a black ground.

Returns

Piece[]

The pieces.

Examples

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

console.log(hazardMarking({ radius: 6.7, y: 3, az: 0, height: 0.5, align: "middle" }, 4).length > 4);
true

What it prints (run when this page was built)

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