本文へ移動

Uchusen Rockets宇宙船

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

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

目次

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

EngineCard型

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

One engine type: what it burns, how hard it pushes and how it runs. The numbers agree: thrust (newtons) is massFlow (kg/s) times isp (seconds) times g0, and exhaust is isp times g0.

インポート

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

定義

interface EngineCard {
    id: string;
    name: string;
    role: EngineRole;
    module: string;
    count: number;
    code?: "FTD" | "DCD";
    thrust: number;
    isp: number;
    massFlow: number;
    exhaust: number;
    exhaustOfC: number;
    fuel: string;
    fuelCapacity: number;
    operation: "continuous" | "pulsed";
    pulseHz?: number;
    jetPower: number;
    note: string;
}

メンバー

名前型説明
idstring
namestring
roleEngineRole
modulestring

The kit module that carries it, and how many engines that module has.

countnumber
code (省略可)"FTD" | "DCD" | undefined

The fleet's code for the drive, where it has one: FTD, the Fusion Torch Drive.

thrustnumber

Thrust of one engine in newtons.

ispnumber

Specific impulse in seconds.

massFlownumber

Propellant used by one engine at full thrust, kg/s.

exhaustnumber

Exhaust speed in m/s, and as a fraction of the speed of light.

exhaustOfCnumber
fuelstring

What it burns and how much its module holds, in tonnes, when full.

fuelCapacitynumber
operation"continuous" | "pulsed"
pulseHz (省略可)number | undefined

Pulses a second, for a pulsed engine.

jetPowernumber

Power in the jet, watts.

notestring

What it is and what its limits are.

例

import { ENGINE_CARDS, type EngineCard } from "@johnmorrisdotca/uchusen-rockets";

const card: EngineCard = ENGINE_CARDS["fusion-main"];
console.log(card.name, card.thrust / 1e6, "MN", card.exhaustOfC);
Magnetic-nozzle fusion drive, main 30 MN 0.03925375601009949

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

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

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