Reference · Rockets, variants, parts and the fit check
creditLinefunction
One credit as a line of text.
Import it
import { creditLine } from "@johnmorrisdotca/uchusen-rockets";
Definition
function creditLine(id: CreditId): string
Parameters
| Name | Type | Description |
|---|---|---|
id | "clarence365-block3" | "clarence365-s24b7" | "martiandays-2019" | "stanley-falcon-9" | "kubaha-dragon-2" | "progressth-dragon-1" | "antonio-falcon-heavy" | "echo3-grasshopper" | "smithsonian-discovery" | "nasa-shuttle-hi-res" | "nasa-shuttle-parts" | "nasa-lunar-module" | "nasa-apollo-soyuz" | "nasa-gemini" | "nasa-friendship-7" | "nasa-jupiter-c" | "nasa-iss" | "nasa-hubble" | "nasa-cluster-ii" | "nasa-insight" | "nasa-curiosity" | "nasa-hete" | "nasa-grease-gun" | The id of a credit in |
Returns
string
The credit as one line of text.
Examples
import { creditLine } from "@johnmorrisdotca/uchusen-rockets";
console.log(creditLine("clarence365-block3"));"SpaceX Starship Block 3" by Clarence365 (https://sketchfab.com/3d-models/spacex-starship-block-3-6f6c6f88a3eb4b4d822fdca66733fbb2), CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Reduced from 913,217 triangles; logos, wordmark and serial number removed; rescaled to sourced sizes; separated into booster and ship; unseen payload bay interior removed; materials merged and renamed.What it prints (run when this page was built)