本文へ移動

Uchusen Rockets宇宙船

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

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

目次

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

DRONE定数

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

Where things are on the SPX repair drone, in its own frame: metres, its lowest point at y = 0, its front towards +Z. A build uses two of them: emitter, the tractor beam's origin at the middle of the lens glass (the beam leaves along emitterDirection), and weldTip, the point of the welding tool on the left arm.

インポート

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

定義

const DRONE: { readonly emitter: Vec3; readonly emitterDirection: Vec3; readonly weldTip: Vec3; readonly gripper: Vec3; readonly diameter: 1.03; } = {
    emitter: [0, 0.03 + DRONE_LIFT, 0.576] as Vec3,
    emitterDirection: [0, 0, 1] as Vec3,
    weldTip: (() => {
        const t = weldTip();
        return [t[0], t[1] + DRONE_LIFT, t[2]] as Vec3;
    })(),
    gripper: (() => {
        const w = wristOf(ARMS[0]);
        return [w.to[0] + w.d[0] * 0.17, w.to[1] + w.d[1] * 0.17 + DRONE_LIFT, w.to[2] + w.d[2] * 0.17] as Vec3;
    })(),
    diameter: 1.03,
} as const

メンバー

名前型説明
emitterVec3

The tractor beam's emitter: the middle of the lens glass. The beam leaves along +Z.

emitterDirectionVec3

The direction the beam leaves along.

weldTipVec3

The weld's tip: the end of the welding tool on the left arm.

gripperVec3

The gripper's centre between its fingers, on the right arm.

diameter1.03

The saucer's diameter, metres.

例

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

console.log(DRONE.emitter, DRONE.weldTip);
[ 0, 0.7145595641157383, 0.576 ] [ -0.23373721416365542, 0.08269828060553674, 0.6053603892883402 ]

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

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

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