本文へ移動

Uchusen Rockets宇宙船

出典つきの寸法から描いたロケットです。ページに置いて、分解して、回して見られる線画と彩色した3Dビューに加え、ロケットが本当に組み合わさるかを確かめる、型付きのデータモデルを備えています。

Uchusen は、宇宙を飛ぶ乗り物を意味する日本語「宇宙船」(うちゅうせん)から取った名前です。 名前について(英語)

目次

リファレンス · メッシュと図面を作る

REAL_CRAFT定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The real craft that lie in the fleet band for scale: Starship with Super Heavy, Saturn V, SLS and the International Space Station. Each is a variant of the package, so its length is the sourced figure, axis is the way its length runs in its own model (y up the stack, nose up; x along the station's long axis), and a rocket points its nose right. They are never scaled: they are drawn at the lineup's own scale.

インポート

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

定義

const REAL_CRAFT: readonly [{ readonly key: "starship:v3"; readonly name: "Starship with Super Heavy"; readonly axis: "y"; }, { readonly key: "saturn-v:saturn-v"; readonly name: "Saturn V"; readonly axis: "y"; }, { readonly key: "sls:block-1"; readonly name: "SLS Block 1"; readonly axis: "y"; }, { readonly key: "iss:iss"; readonly name: "ISS"; readonly axis: "x"; }] = [
    { key: "starship:v3", name: BESIDE_NAME, axis: "y" },
    { key: "saturn-v:saturn-v", name: "Saturn V", axis: "y" },
    { key: "sls:block-1", name: "SLS Block 1", axis: "y" },
    { key: "iss:iss", name: "ISS", axis: "x" },
] as const

例

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

console.log(REAL_CRAFT.map((craft) => craft.name));
[ 'Starship with Super Heavy', 'Saturn V', 'SLS Block 1', 'ISS' ]

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/uchusen-rockets 0.14.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。