kendamaworld optable → tableimport fullseye as fs; fs.ledger.ken_mesh(kp: 'dict', *, n: 'int' = 32) -> 'dict' (実装を直接呼ぶなら import kendamaworld; kendamaworld.ken_mesh(kp: 'dict', *, n: 'int' = 32) -> 'dict'、台帳から引くなら opsdrive.get("ken_mesh"))けん + 皿胴(大皿・小皿)+ 中皿のメッシュ。原点 = 皿胴の中心(手元)、けん = +x(けん先が +x)、皿胴の軸 = +z(大皿が上)。
面ラベル: 27 けん・皿胴の胴、28 大皿(皿胴の +z のラッパと皿)、30 小皿(−z)、31 中皿(けんの −x の端の開いた部分)。
返り値 {"V", "F", "color" (M,3), "label" (M,), "parts": {"ken": (f0, f1), "cross": (f0, f1)}, "anchors": {...},
"cup_radius", "cup_depth", "ken_length"}。anchors(局所座標)= cross (0 = 皿胴の中心)、spike_tip、base_rim(中皿の縁の中心)、
big_rim(大皿の縁の中心)、small_rim、tie(皿胴の糸穴 (0, −cross_radius, 0))、big_axis (+z)、small_axis (−z)、
base_axis (−x)、ken_axis (+x)、grip(技の持つ所 = kp[“grip”])。
2 つの閉じた回転体(けん・皿胴)は交わって置かれる(描画は深度で解く)。面は全部外向き(符号つき体積 > 0)。
py -3.11 examples/gallery_drive_world_objects.pypy -3.11 examples/poc_kendama.pytable を入力に取れる)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
kendamaworld)add_ken · ken_set_pose · string_mesh · add_string · string_set · kendama_world · kendama_rig · ken_truth
Provenance: kendamaworld.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.