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
| Name | Type | Description |
|---|---|---|
label | string | The number or letters in the middle. |
place | MarkingPlace | Where; |
style (optional) | MarkingStyle |
|
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);trueWhat it prints (run when this page was built)