本文へ移動

Uchusen Rockets宇宙船

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

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

目次

リファレンス · ロケット・型式・部品・適合チェック

specBlock関数

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

The spec block of a ship, for its sheet and its inspector: length, beam, height, dry and full mass, the engines by role, thrust, acceleration, top and cruise speed and the trip to Proxima Centauri in ship time and in Earth's. Crew, passengers and cargo belong to the ship's own bible and are not here.

インポート

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

定義

function specBlock(ship: ShipList, extras?: { computer?: string; atc?: number; }): SpecLine[]

引数

名前型説明
shipShipList

The ship's list.

extras (省略可){ computer?: string; atc?: number; }

The ship's computer ("KAZE core v4") and its number of small craft (ATC), which belong to the ship and not to the kit.

戻り値

SpecLine[]

The lines, in the order a sheet prints them.

例

import { specBlock, SAMPLE_SHIPS } from "@johnmorrisdotca/uchusen-rockets";

for (const line of specBlock(SAMPLE_SHIPS.scout)) console.log(`${line.name}: ${line.value}`);
Length: 151.9 m
Beam: 38.8 m
Dry mass: 2,330 t
Full mass: 4,590 t
Engines, main (FTD ×3): 3 x 30 MN = 90 MN
Acceleration: 1.999 g full, 3.939 g dry
Cruise speed: 1.3% of c
Top speed: 2.7% of c
Proxima Centauri: 319.1 years aboard, 319.1 years on Earth

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

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

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