Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

feat(demo-data): demo assemblies seed planner-baked insertion motions; steps fitting opposite sides split

aashub5243ea24182
diff --git a/.claude/rules/onboarding-company-templates.md b/.claude/rules/onboarding-company-templates.md
index 824e666c93..fc24c85e6a 100644
--- a/.claude/rules/onboarding-company-templates.md
+++ b/.claude/rules/onboarding-company-templates.md
@@ -445,6 +445,15 @@ controller joins the main build unused; precision: three levels deep, one step f
sub-assemblies; motor: a chain).
`AssemblyStepSpec` takes `key`, `isSubAssembly` (a header row), `parent` (the header a member
belongs to) and `usedIn` (headers only: the later step that fits the finished unit).
+Steps also carry planner-baked motion — `motion`, `view` (the camera's plan hint) and
+`blockedBy` (written as `warnings.flagged`, so the player fades the step in) — produced by the
+geometry service in fixed-sequence mode, the app's re-motion request, run once per build (the
+main build and each sub-assembly on its own, meshed at the bake's 0.5/0.3 so node ids match)
+and mapped back to steps with `buildAssemblyStepGroups`. One motion moves all of a step's parts,
+so a step fitting parts from opposite sides cannot move; those were split per side. A step with
+no `motion` and no `blockedBy` is a build's first step: the player synthesizes its path. Like
+the STEP sources, the scripts that bake these are not committed — re-derive them whenever a
+step's parts or order change.
`seedAssembly` inserts the rows in play order and sets `parentStepId` / `usedInStepId` in a
second pass; the validator restates the viewer's `validateSubAssemblies` rules (members directly
before their header, no nesting, `usedIn` points forward at a non-header step that is not one of
diff --git a/packages/database/src/datasets/data/motor/assembly.ts b/packages/database/src/datasets/data/motor/assembly.ts
index d751920ba5..7186ac12fb 100644
--- a/packages/database/src/datasets/data/motor/assembly.ts
+++ b/packages/database/src/datasets/data/motor/assembly.ts
@@ -14,6 +14,7 @@ export const motorAssembly: AssemblySpec = {
componentCount: 150,
// The Assembly operation of the MTR-9000 method.
operation: 1,
+ motionsBakedFor: "2a9c952d13053ed4",
steps: [
{
parent: "sa-stator",
@@ -63,7 +64,8 @@ export const motorAssembly: AssemblySpec = {
"7d3de07cc7dd8913",
"83c79d7b54e46f77"
],
- materials: [{ item: "LAM-STK-STA", quantity: 1 }]
+ materials: [{ item: "LAM-STK-STA", quantity: 1 }],
+ view: [-0.96, -0.17, 0.222]
},
{
parent: "sa-stator",
@@ -84,7 +86,9 @@ export const motorAssembly: AssemblySpec = {
"3215466564b2d019",
"52ce8cb33fe4267e"
],
- materials: [{ item: "COIL-9000", quantity: 1 }]
+ materials: [{ item: "COIL-9000", quantity: 1 }],
+ view: [-0.251, 0.934, 0.254],
+ blockedBy: ["8a876595c26d2457"]
},
{
parent: "sa-stator",
@@ -96,7 +100,9 @@ export const motorAssembly: AssemblySpec = {
"3a85a9d9f37ec190",
"c1da3567af4506df"
],
- materials: [{ item: "MAT-VARNISH", quantity: 0.25 }]
+ materials: [{ item: "MAT-VARNISH", quantity: 0.25 }],
+ view: [-0.251, 0.934, 0.254],
+ blockedBy: ["395f78ef89fe5c12", "8a876595c26d2457"]
},
{
key: "sa-stator",
@@ -117,7 +123,8 @@ export const motorAssembly: AssemblySpec = {
"e5047e36ed7e2c04",
"2e4b040edf11e26c"
],
- materials: [{ item: "LAM-STK-ROT", quantity: 1 }]
+ materials: [{ item: "LAM-STK-ROT", quantity: 1 }],
+ view: [-0.251, 0.934, 0.254]
},
{
parent: "sa-core",
@@ -150,7 +157,9 @@ export const motorAssembly: AssemblySpec = {
"cb92d32d07304df9",
"797c1593da70a77c"
],
- materials: [{ item: "MAG-NDFB-45", quantity: 24 }]
+ materials: [{ item: "MAG-NDFB-45", quantity: 24 }],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 301 },
+ view: [-0.251, 0.934, 0.254]
},
{
parent: "sa-core",
@@ -162,7 +171,9 @@ export const motorAssembly: AssemblySpec = {
"e19741d98d31e91c",
"f2159eb6bce443ca",
"9cc7ebc3b7c2d082"
- ]
+ ],
+ view: [-0.444, -0.854, 0.27],
+ blockedBy: ["b97fd66f4a9e86a6", "eca2bdbce853b6eb"]
},
{
key: "sa-core",
@@ -178,7 +189,8 @@ export const motorAssembly: AssemblySpec = {
instruction:
"Check the shaft's bearing seats and runout on the V-blocks, then fit the drive-end key.",
componentNodeIds: ["cfb605a70ba29973", "9f688a49e72e239c"],
- materials: [{ item: "SHF-9000", quantity: 1 }]
+ materials: [{ item: "SHF-9000", quantity: 1 }],
+ view: [0.409, -0.635, 0.655]
},
{
key: "rotor-core",
@@ -187,32 +199,61 @@ export const motorAssembly: AssemblySpec = {
instruction:
"Heat the magnet rotor core and press it onto the shaft against its shoulder. Keep steel tools away from the magnets — they will jump.",
componentNodeIds: [],
- tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }]
+ tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 535 },
+ view: [-0.118, -0.91, 0.399]
+ },
+ {
+ parent: "sa-rotor",
+ title: "Fit the first balance ring",
+ instruction: "Fit the first balance ring against its shoulder.",
+ componentNodeIds: ["0d1d03c7a76ee130"],
+ motion: { type: "linear", direction: [1, 0, 0], distance: 17 },
+ view: [-0.251, 0.934, 0.254]
},
{
parent: "sa-rotor",
- title: "Fit and balance the balance rings",
+ title: "Fit and balance the second balance ring",
instruction:
- "Fit both balance rings, spin the rotor on the balancing mandrel and drill the rings to G2.5. Record the residual unbalance on the traveler.",
- componentNodeIds: ["0d1d03c7a76ee130", "f43b1ae3dbb8cc3e"],
- tools: [{ item: "TL-BAL-MANDREL", quantity: 1 }]
+ "Fit the second balance ring, spin the rotor on the balancing mandrel and drill both rings to G2.5. Record the residual unbalance on the traveler.",
+ componentNodeIds: ["f43b1ae3dbb8cc3e"],
+ tools: [{ item: "TL-BAL-MANDREL", quantity: 1 }],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 17 },
+ view: [0.282, 0.899, 0.334]
},
{
parent: "sa-rotor",
- title: "Press on the bearings",
+ title: "Press on the non-drive-end bearing",
instruction:
- "Press both 6308 C3 bearings onto their seats through the inner race only and pack them with high-temperature grease.",
- componentNodeIds: [
- "b6ddca33f5988b87",
- "3aa7b59161f100dd",
- "9c3f91c00a5666e2",
- "23ecc83537c0220b"
+ "Press the non-drive-end 6308 C3 bearing onto its seat through the inner race only and pack it with high-temperature grease.",
+ componentNodeIds: ["9c3f91c00a5666e2", "23ecc83537c0220b"],
+ materials: [
+ { item: "BRG-6308-C3", quantity: 1 },
+ { item: "CN-BRG-GREASE", quantity: 0.125 }
],
+ tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }],
+ motion: { type: "linear", direction: [1, 0, 0], distance: 82 },
+ view: [0.086, -0.978, 0.19]
+ },
+ {
+ parent: "sa-rotor",
+ title: "Press on the drive-end bearing",
+ instruction:
+ "Press the drive-end bearing on the same way and pack it with grease.",
+ componentNodeIds: ["b6ddca33f5988b87", "3aa7b59161f100dd"],
materials: [
- { item: "BRG-6308-C3", quantity: 2 },
- { item: "CN-BRG-GREASE", quantity: 0.25 }
+ { item: "BRG-6308-C3", quantity: 1 },
+ { item: "CN-BRG-GREASE", quantity: 0.125 }
],
- tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }]
+ tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: [
+ "0d1d03c7a76ee130",
+ "9c3f91c00a5666e2",
+ "b97fd66f4a9e86a6",
+ "cfb605a70ba29973",
+ "f43b1ae3dbb8cc3e"
+ ]
},
{
key: "sa-rotor",
@@ -227,7 +268,8 @@ export const motorAssembly: AssemblySpec = {
title: "Prepare the terminal box base",
instruction:
"Deburr the terminal box base and check its gland thread and gasket face.",
- componentNodeIds: ["0e1599a45ea18d27"]
+ componentNodeIds: ["0e1599a45ea18d27"],
+ view: [0.282, 0.899, 0.334]
},
{
parent: "sa-terminal",
@@ -249,7 +291,9 @@ export const motorAssembly: AssemblySpec = {
"798a1b7a29fd6682",
"4c3d819b7f002b12"
],
- materials: [{ item: "TRM-BLK-6P", quantity: 1 }]
+ materials: [{ item: "TRM-BLK-6P", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 41 },
+ view: [-0.638, -0.059, 0.768]
},
{
parent: "sa-terminal",
@@ -266,7 +310,13 @@ export const motorAssembly: AssemblySpec = {
"56db0acc57f25a6d",
"69068744e2786405"
],
- materials: [{ item: "FST-M6-SS", quantity: 6 }]
+ materials: [{ item: "FST-M6-SS", quantity: 6 }],
+ motion: {
+ type: "linear",
+ direction: [-0.0537, 0.1383, -0.9889],
+ distance: 119
+ },
+ view: [0.086, -0.978, 0.19]
},
{
key: "sa-terminal",
@@ -281,7 +331,8 @@ export const motorAssembly: AssemblySpec = {
instruction:
"Set the finned frame on its feet and check the stator bore and both spigot fits with the bore gauge. Log the bore diameter at three depths.",
componentNodeIds: ["3ecf69d64adbe44e"],
- materials: [{ item: "HSG-9000", quantity: 1 }]
+ materials: [{ item: "HSG-9000", quantity: 1 }],
+ view: [0.987, 0, 0.158]
},
{
key: "main-stator",
@@ -290,7 +341,9 @@ export const motorAssembly: AssemblySpec = {
"Heat the frame to 150 °C and press the wound stator in with the leads toward the terminal box pad. Let it cool on its own — never quench.",
componentNodeIds: [],
materials: [{ item: "STA-9000", quantity: 1 }],
- tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }]
+ tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }],
+ view: [-0.881, 0.364, 0.302],
+ blockedBy: ["3ecf69d64adbe44e"]
},
{
title: "Fit the drive-end bell and seal",
@@ -304,7 +357,13 @@ export const motorAssembly: AssemblySpec = {
"dc56ff278626b510",
"ce68f0a9a22a9da4",
"27ea34557d5914a4"
- ]
+ ],
+ motion: {
+ type: "linear",
+ direction: [-0.9977, -0.0257, -0.0621],
+ distance: 124.2
+ },
+ view: [0.282, 0.899, 0.334]
},
{
key: "main-rotor",
@@ -313,7 +372,9 @@ export const motorAssembly: AssemblySpec = {
"Guide the rotor into the stator bore on the insertion fixture from the non-drive end until the drive-end bearing seats in its bell. The magnets pull hard — keep the fixture guiding until the bearing is home.",
componentNodeIds: [],
materials: [{ item: "ROT-9000", quantity: 1 }],
- tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }]
+ tools: [{ item: "TL-ARBOR-PRESS", quantity: 1 }],
+ view: [0.409, -0.635, 0.655],
+ blockedBy: ["3ecf69d64adbe44e", "560c21c516b9cd97", "8a876595c26d2457"]
},
{
title: "Fit the non-drive-end bell and seal",
@@ -327,14 +388,29 @@ export const motorAssembly: AssemblySpec = {
"9a8c56cde57aa605",
"85f72ddd02385caf"
],
- materials: [{ item: "SEAL-VR-45", quantity: 2 }]
+ materials: [{ item: "SEAL-VR-45", quantity: 2 }],
+ view: [-0.444, -0.854, 0.27],
+ blockedBy: [
+ "3ecf69d64adbe44e",
+ "560c21c516b9cd97",
+ "8a876595c26d2457",
+ "cfb605a70ba29973"
+ ]
},
{
title: "Fit the encoder",
instruction:
"Mount the 2048-line encoder on the shaft stub and route its cable to the terminal box pad. Align the encoder index to the rotor pole mark.",
componentNodeIds: ["86dcf0840a65d653", "eaf27d7841a6225d"],
- materials: [{ item: "ENC-INC-2048", quantity: 1 }]
+ materials: [{ item: "ENC-INC-2048", quantity: 1 }],
+ view: [-0.96, -0.17, 0.222],
+ blockedBy: [
+ "2b09d49ab6e49414",
+ "3ecf69d64adbe44e",
+ "560c21c516b9cd97",
+ "8a876595c26d2457",
+ "cfb605a70ba29973"
+ ]
},
{
title: "Fit the cooling fan and cowl",
@@ -352,7 +428,16 @@ export const motorAssembly: AssemblySpec = {
"555cd4170b48037f",
"e4227e707a3d2910"
],
- materials: [{ item: "FAN-AX-160", quantity: 1 }]
+ materials: [{ item: "FAN-AX-160", quantity: 1 }],
+ view: [-0.444, -0.854, 0.27],
+ blockedBy: [
+ "2b09d49ab6e49414",
+ "3ecf69d64adbe44e",
+ "560c21c516b9cd97",
+ "86dcf0840a65d653",
+ "8a876595c26d2457",
+ "cfb605a70ba29973"
+ ]
},
{
key: "main-terminal",
@@ -360,7 +445,15 @@ export const motorAssembly: AssemblySpec = {
instruction:
"Bolt the terminal box to its pad and land the phase leads on the terminal block in star.",
componentNodeIds: [],
- materials: [{ item: "TRM-BOX-9000", quantity: 1 }]
+ materials: [{ item: "TRM-BOX-9000", quantity: 1 }],
+ view: [0.282, 0.899, 0.334],
+ blockedBy: [
+ "3ecf69d64adbe44e",
+ "560c21c516b9cd97",
+ "86dcf0840a65d653",
+ "8a876595c26d2457",
+ "cfb605a70ba29973"
+ ]
},
{
title: "Fit the nameplate and lifting eye",
@@ -375,7 +468,9 @@ export const motorAssembly: AssemblySpec = {
"84b601003af3f050",
"9e5f677e02d9df27"
],
- materials: [{ item: "NPL-SS-STD", quantity: 1 }]
+ materials: [{ item: "NPL-SS-STD", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 269 },
+ view: [-0.726, 0.665, 0.174]
},
{
key: "dyno",
diff --git a/packages/database/src/datasets/data/precision/assembly.ts b/packages/database/src/datasets/data/precision/assembly.ts
index 98e1669147..0994d352b3 100644
--- a/packages/database/src/datasets/data/precision/assembly.ts
+++ b/packages/database/src/datasets/data/precision/assembly.ts
@@ -14,6 +14,7 @@ export const precisionAssembly: AssemblySpec = {
componentCount: 150,
// The Assembly operation of the HMA-4000 method.
operation: 1,
+ motionsBakedFor: "ca6c2efcac5780bd",
steps: [
{
parent: "sa-valve",
@@ -26,19 +27,34 @@ export const precisionAssembly: AssemblySpec = {
"e8bf8f09529ee566"
],
materials: [{ item: "SEAL-ORING-224", quantity: 6 }],
- tools: [{ item: "TL-VISE-6IN", quantity: 1 }]
+ tools: [{ item: "TL-VISE-6IN", quantity: 1 }],
+ view: [0.086, -0.978, 0.19]
},
{
parent: "sa-valve",
- title: "Fit the springs and end caps",
+ title: "Fit the springs and end cap on side A",
instruction:
- "Drop two die springs and a guide rod into each spring chamber and close them with the stainless end caps. Pull the caps down evenly so the springs load square.",
+ "Drop two die springs and their guide rods into the side A spring chamber and close it with its stainless end cap. Pull the cap down evenly so the springs load square.",
componentNodeIds: [
"66626e2e97a8d1a1",
"520cf35511954890",
"06d7132777dd8d1c",
"33ad2b144aedd898",
- "5c086d032c5eee4c",
+ "5c086d032c5eee4c"
+ ],
+ materials: [
+ { item: "SPR-DIE-25", quantity: 2 },
+ { item: "MCH-END-CAP", quantity: 1 }
+ ],
+ motion: { type: "linear", direction: [1, 0, 0], distance: 72.8 },
+ view: [0.086, -0.978, 0.19]
+ },
+ {
+ parent: "sa-valve",
+ title: "Fit the springs and end cap on side B",
+ instruction:
+ "Repeat on side B: two die springs and their guide rods, then the end cap, pulled down evenly.",
+ componentNodeIds: [
"84f998fe7c97aa9d",
"b6bd5e9f4271efc4",
"806f19dbc026fb78",
@@ -46,9 +62,11 @@ export const precisionAssembly: AssemblySpec = {
"f36fe73b66970cc4"
],
materials: [
- { item: "SPR-DIE-25", quantity: 4 },
- { item: "MCH-END-CAP", quantity: 2 }
- ]
+ { item: "SPR-DIE-25", quantity: 2 },
+ { item: "MCH-END-CAP", quantity: 1 }
+ ],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 72.8 },
+ view: [0.595, 0.777, 0.206]
},
{
parent: "sa-valve",
@@ -60,7 +78,13 @@ export const precisionAssembly: AssemblySpec = {
"f0f02e8fe0ce3766",
"d1a7119000c1de2f"
],
- materials: [{ item: "PIN-CLEVIS-12", quantity: 2 }]
+ materials: [{ item: "PIN-CLEVIS-12", quantity: 2 }],
+ motion: {
+ type: "linear",
+ direction: [-0.9706, 0, -0.2408],
+ distance: 336
+ },
+ view: [0.086, -0.978, 0.19]
},
{
key: "sa-valve",
@@ -78,7 +102,8 @@ export const precisionAssembly: AssemblySpec = {
"Set the pump housing in the housing fixture with the flange face down. Check both bearing bores with the bore gauge and log the readings.",
componentNodeIds: ["9b32dfbe7e293f04"],
materials: [{ item: "MCH-HSG-PUMP", quantity: 1 }],
- tools: [{ item: "TL-FIXT-HSG", quantity: 1 }]
+ tools: [{ item: "TL-FIXT-HSG", quantity: 1 }],
+ view: [-0.726, 0.665, 0.174]
},
{
parent: "sa-pump",
@@ -95,7 +120,9 @@ export const precisionAssembly: AssemblySpec = {
{ item: "BRG-DBL-6205", quantity: 2 },
{ item: "BRG-NDL-HK1512", quantity: 2 }
],
- tools: [{ item: "TL-FIXT-HSG", quantity: 1 }]
+ tools: [{ item: "TL-FIXT-HSG", quantity: 1 }],
+ view: [0.9, 0.329, 0.286],
+ blockedBy: ["9b32dfbe7e293f04"]
},
{
parent: "sa-pump",
@@ -115,7 +142,9 @@ export const precisionAssembly: AssemblySpec = {
"ec15cf4f8505b2d6",
"08c0bf095f4a7d01"
],
- materials: [{ item: "MCH-SHAFT-DR", quantity: 1 }]
+ materials: [{ item: "MCH-SHAFT-DR", quantity: 1 }],
+ view: [0.402, -0.859, 0.318],
+ blockedBy: ["9b32dfbe7e293f04", "cb03e7101d7ccf91"]
},
{
key: "sa-pump",
@@ -144,13 +173,31 @@ export const precisionAssembly: AssemblySpec = {
{ item: "MCH-MANI-BLK", quantity: 1 },
{ item: "MCH-SPACER-KIT", quantity: 1 }
],
- tools: [{ item: "TL-VISE-6IN", quantity: 1 }]
+ tools: [{ item: "TL-VISE-6IN", quantity: 1 }],
+ view: [0.086, -0.978, 0.19]
+ },
+ {
+ parent: "sa-manifold",
+ title: "Fit the gauge and relief valve",
+ instruction:
+ "Fit the pressure gauge and the relief valve cartridge. Set the relief valve fully open for now.",
+ componentNodeIds: [
+ "2e81fe70b14fd4cb",
+ "9a473295139efc59",
+ "a7dd7bddd81f57a9"
+ ],
+ motion: {
+ type: "linear",
+ direction: [0.8532, 0.1068, 0.5105],
+ distance: 217.4
+ },
+ view: [0.086, -0.978, 0.19]
},
{
parent: "sa-manifold",
- title: "Fit the flanges, plugs, gauge and relief valve",
+ title: "Fit the flanges and plugs",
instruction:
- "Bolt both mounting flanges to the +X ports, plug the unused ports, then fit the pressure gauge and the relief valve cartridge. Set the relief valve fully open for now.",
+ "Bolt both mounting flanges to the +X ports and plug the unused ports.",
componentNodeIds: [
"960d93fff94936a1",
"939e9d833fd55e8d",
@@ -163,12 +210,11 @@ export const precisionAssembly: AssemblySpec = {
"3da223e1dbceef1d",
"1ea1fbb95d73fd23",
"b26f0871e2c43bb8",
- "19a67ac20589d526",
- "2e81fe70b14fd4cb",
- "9a473295139efc59",
- "a7dd7bddd81f57a9"
+ "19a67ac20589d526"
],
- materials: [{ item: "MCH-FLANGE-SS", quantity: 2 }]
+ materials: [{ item: "MCH-FLANGE-SS", quantity: 2 }],
+ view: [-0.726, 0.665, 0.174],
+ blockedBy: ["2e81fe70b14fd4cb", "c8f5fd761fd651b7"]
},
{
key: "mani-valve",
@@ -177,7 +223,9 @@ export const precisionAssembly: AssemblySpec = {
instruction:
"Mount the valve stack on the manifold top face over its four O-rings and torque the mounting bolts in a cross pattern.",
componentNodeIds: [],
- materials: [{ item: "ASM-VALVE-SUB", quantity: 1 }]
+ materials: [{ item: "ASM-VALVE-SUB", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 180 },
+ view: [0.086, -0.978, 0.19]
},
{
key: "sa-manifold",
@@ -202,7 +250,8 @@ export const precisionAssembly: AssemblySpec = {
"12da37fe70f19805",
"dccf63513ec08b98",
"9d1c4786f1c97b15"
- ]
+ ],
+ view: [-0.118, -0.91, 0.399]
},
{
key: "module-join",
@@ -210,7 +259,13 @@ export const precisionAssembly: AssemblySpec = {
title: "Mount the manifold and pump together",
instruction:
"Set the manifold assembly on the adapter plate, then offer the pump cartridge up to the manifold's -X face on its dowels and bolt it home. Both come in on this one step — the pump flange locates on the manifold, not the plate.",
- componentNodeIds: []
+ componentNodeIds: [],
+ motion: {
+ type: "linear",
+ direction: [-0.9922, 0.0008, -0.1247],
+ distance: 590
+ },
+ view: [-0.531, 0.756, 0.383]
},
{
key: "module-leak",
@@ -242,7 +297,8 @@ export const precisionAssembly: AssemblySpec = {
materials: [
{ item: "MCH-PISTON-ROD", quantity: 1 },
{ item: "BSH-BRZ-2012", quantity: 2 }
- ]
+ ],
+ view: [0.086, -0.978, 0.19]
},
{
parent: "sa-actuator",
@@ -267,14 +323,26 @@ export const precisionAssembly: AssemblySpec = {
"18be4f5c514950ba",
"afdcdc00dba6f662"
],
- tools: [{ item: "TL-VISE-6IN", quantity: 1 }]
+ tools: [{ item: "TL-VISE-6IN", quantity: 1 }],
+ view: [0.282, 0.899, 0.334],
+ blockedBy: ["c347cff89b24ab60"]
},
{
parent: "sa-actuator",
- title: "Fit the rod eye and rear clevis",
+ title: "Fit the rear clevis",
+ instruction: "Fit the rear clevis mount to the cap end.",
+ componentNodeIds: ["5dac4429fcdddca7"],
+ view: [-0.251, 0.934, 0.254],
+ blockedBy: ["7718b910805ad12c", "c347cff89b24ab60"]
+ },
+ {
+ parent: "sa-actuator",
+ title: "Fit the rod eye",
instruction:
- "Thread the rod eye onto the piston rod and lock it, then fit the rear clevis mount. Stroke the cylinder by hand end to end.",
- componentNodeIds: ["e05e8f557bed18e4", "5dac4429fcdddca7"]
+ "Thread the rod eye onto the piston rod and lock it. Stroke the cylinder by hand end to end.",
+ componentNodeIds: ["e05e8f557bed18e4"],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 89 },
+ view: [0.086, -0.978, 0.19]
},
{
key: "sa-actuator",
@@ -308,14 +376,21 @@ export const precisionAssembly: AssemblySpec = {
"f19047ac269ff869",
"18ad2340ca69243f"
],
- materials: [{ item: "FAB-BASE-WLD", quantity: 1 }]
+ materials: [{ item: "FAB-BASE-WLD", quantity: 1 }],
+ view: [0.819, -0.521, 0.238]
},
{
key: "main-module",
title: "Fit the pump & manifold module",
instruction:
"Lift the module by its two eyes onto the drip tray and bolt it down. Keep the shaft end pointing to the -X end of the frame, where the guard goes.",
- componentNodeIds: []
+ componentNodeIds: [],
+ motion: {
+ type: "linear",
+ direction: [-0.9883, 0.0136, -0.1517],
+ distance: 664.9
+ },
+ view: [-0.118, -0.91, 0.399]
},
{
key: "main-actuator",
@@ -334,7 +409,9 @@ export const precisionAssembly: AssemblySpec = {
"f27c436dd9e07340",
"21bee4a93f2b8e38"
],
- materials: [{ item: "CYL-HYD-40", quantity: 1 }]
+ materials: [{ item: "CYL-HYD-40", quantity: 1 }],
+ view: [-0.311, 0.744, 0.591],
+ blockedBy: ["783593e9237c44b4", "798ad50ef9b4afce"]
},
{
title: "Run the hoses and return line",
@@ -350,7 +427,9 @@ export const precisionAssembly: AssemblySpec = {
"2f04771e9864acc3",
"9142d018a863aaa0",
"c36a0bbf552fdfae"
- ]
+ ],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: ["71bd4ec608ade549", "783593e9237c44b4", "798ad50ef9b4afce"]
},
{
title: "Fit the enclosure panels and shaft guard",
@@ -380,7 +459,14 @@ export const precisionAssembly: AssemblySpec = {
"9d9ad5dcbd4a372a",
"146218cabfbdec87"
],
- materials: [{ item: "FAB-ENCL-PNL", quantity: 1 }]
+ materials: [{ item: "FAB-ENCL-PNL", quantity: 1 }],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: [
+ "71bd4ec608ade549",
+ "783593e9237c44b4",
+ "798ad50ef9b4afce",
+ "ba4e4f246b739ead"
+ ]
},
{
title: "Proof-test at 1.5× rated pressure",
@@ -392,6 +478,14 @@ export const precisionAssembly: AssemblySpec = {
"397c3ace8a2ab116",
"69abd5e67cd7fefa",
"d262a42f629517df"
+ ],
+ view: [0.987, 0, 0.158],
+ blockedBy: [
+ "4115dc01285dc868",
+ "71bd4ec608ade549",
+ "783593e9237c44b4",
+ "798ad50ef9b4afce",
+ "ba4e4f246b739ead"
]
}
],
diff --git a/packages/database/src/datasets/data/robotics/assembly.ts b/packages/database/src/datasets/data/robotics/assembly.ts
index 5ca11ec2cd..a082526a56 100644
--- a/packages/database/src/datasets/data/robotics/assembly.ts
+++ b/packages/database/src/datasets/data/robotics/assembly.ts
@@ -14,6 +14,7 @@ export const roboticsAssembly: AssemblySpec = {
componentCount: 161,
// The Assembly operation of the ROB-2000 method.
operation: 1,
+ motionsBakedFor: "838629b8075c8b90",
steps: [
{
parent: "sa-j2",
@@ -21,18 +22,26 @@ export const roboticsAssembly: AssemblySpec = {
instruction:
"Grease the wave generator with EP gear grease, then slide the 750 W motor onto the gear input and pull the flange screws down in a star pattern. Turn the output by hand through one full revolution — it must run smooth with no tight spot.",
componentNodeIds: ["7ea134ddf5dbf439", "b4d26c5a89d7dbcb"],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.708, -0.059, 0.703]
},
{
parent: "sa-j2",
- title: "Fit the J2 encoder and connectors",
+ title: "Fit the J2 encoder",
instruction:
- "Fit the 19-bit absolute encoder on the motor tail and seat both the power and signal connectors until they click. Record the encoder serial against this drive on the traveler.",
- componentNodeIds: [
- "8cdf90f92ee67d72",
- "3c7e0ff12641e764",
- "8940621372fa1079"
- ]
+ "Fit the 19-bit absolute encoder on the motor tail. Record the encoder serial against this drive on the traveler.",
+ componentNodeIds: ["8cdf90f92ee67d72"],
+ motion: { type: "linear", direction: [0, 1, 0], distance: 35 },
+ view: [0.819, -0.521, 0.238]
+ },
+ {
+ parent: "sa-j2",
+ title: "Fit the J2 connectors",
+ instruction:
+ "Seat both the power and signal connectors until they click.",
+ componentNodeIds: ["3c7e0ff12641e764", "8940621372fa1079"],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["7ea134ddf5dbf439", "8cdf90f92ee67d72"]
},
{
key: "j2-run-in",
@@ -56,18 +65,26 @@ export const roboticsAssembly: AssemblySpec = {
instruction:
"Grease the wave generator, slide the motor onto the gear input and torque the flange screws in a star pattern. Turn the output by hand and confirm it runs smooth.",
componentNodeIds: ["fd91967ada9c3291", "8ae4e80d6b896a33"],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-j3",
- title: "Fit the J3 encoder and connectors",
+ title: "Fit the J3 encoder",
instruction:
- "Fit the absolute encoder and seat both connectors. Record the encoder serial against this drive on the traveler.",
- componentNodeIds: [
- "90d5e3983666448d",
- "e113ff98bf7a5754",
- "c76264e21b872e06"
- ]
+ "Fit the absolute encoder. Record the encoder serial against this drive on the traveler.",
+ componentNodeIds: ["90d5e3983666448d"],
+ motion: { type: "linear", direction: [0, -1, 0], distance: 35 },
+ view: [0.696, 0.586, 0.415]
+ },
+ {
+ parent: "sa-j3",
+ title: "Fit the J3 connectors",
+ instruction:
+ "Seat both the power and signal connectors until they click.",
+ componentNodeIds: ["e113ff98bf7a5754", "c76264e21b872e06"],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["90d5e3983666448d", "fd91967ada9c3291"]
},
{
key: "j3-run-in",
@@ -96,7 +113,8 @@ export const roboticsAssembly: AssemblySpec = {
"e78acdb3dc307128",
"e0f5b390189c8633"
],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [-0.638, -0.059, 0.768]
},
{
key: "link-j2",
@@ -106,14 +124,22 @@ export const roboticsAssembly: AssemblySpec = {
"Bring the J2 drive in and bolt it to the lower arm hub through the bearing. Torque the output flange screws to the traveler figure and witness-mark each one.",
componentNodeIds: [],
materials: [{ item: "DRV-J2-MOD", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ motion: {
+ type: "linear",
+ direction: [-0.0757, 0.9968, -0.0267],
+ distance: 263.7
+ },
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-link",
title: "Fit the upper arm and J3 bearing",
instruction:
"Press the J3 crossed-roller bearing into the elbow and hang the upper arm on it. Support the upper arm on the stand — it must never hang on the bearing alone.",
- componentNodeIds: ["7878bb3b46561e9f", "977bc291ee7ee4ab"]
+ componentNodeIds: ["7878bb3b46561e9f", "977bc291ee7ee4ab"],
+ motion: { type: "linear", direction: [0, 1, 0], distance: 112.5 },
+ view: [-0.638, -0.059, 0.768]
},
{
key: "link-j3",
@@ -123,7 +149,13 @@ export const roboticsAssembly: AssemblySpec = {
"Bring the J3 drive in and bolt it through the elbow bearing. Torque and witness-mark the output flange screws.",
componentNodeIds: [],
materials: [{ item: "DRV-J2-MOD", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ motion: {
+ type: "linear",
+ direction: [-0.0757, -0.9968, 0.0267],
+ distance: 263.7
+ },
+ view: [0.987, 0, 0.158]
},
{
key: "link-backlash",
@@ -156,7 +188,8 @@ export const roboticsAssembly: AssemblySpec = {
"c23bce8c6acd4aa6",
"9961408deb0ab0df"
],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.086, -0.978, 0.19]
},
{
parent: "sa-wrist",
@@ -171,22 +204,34 @@ export const roboticsAssembly: AssemblySpec = {
"bb298a1395fedff4",
"ca004123979ed06e"
],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["583544d0404951dd"]
},
{
parent: "sa-wrist",
title: "Build the J6 flange axis",
instruction:
- "Fit the J6 gear, bearings and flange housing, then the J6 motor and encoder. Clock the tool flange so its dowel hole points to J5's zero mark.",
+ "Fit the J6 gear, bearings and flange housing. Clock the tool flange so its dowel hole points to J5's zero mark.",
componentNodeIds: [
"43a5d0f94af5488c",
"d6f884d4093c1e4e",
"650b0bcf91c0a49b",
- "953772f35bb3ef20",
- "c56ee02b05a01729",
- "7110536fdfde9aa3"
+ "953772f35bb3ef20"
],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.9, 0.329, 0.286],
+ blockedBy: ["583544d0404951dd", "d8335237bb4e0ba5"]
+ },
+ {
+ parent: "sa-wrist",
+ title: "Fit the J6 motor and encoder",
+ instruction:
+ "Fit the J6 servo motor and its absolute encoder onto the flange axis.",
+ componentNodeIds: ["c56ee02b05a01729", "7110536fdfde9aa3"],
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, -1, 0], distance: 113 },
+ view: [0.987, 0, 0.158]
},
{
key: "wrist-zero",
@@ -213,14 +258,17 @@ export const roboticsAssembly: AssemblySpec = {
"37d2d1f3fb557cf6",
"ee17ae174c1051c2",
"3d4e2b36015aaccd"
- ]
+ ],
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-gripper",
title: "Fit the gripper body and motor",
instruction:
"Mount the gripper body on the sensor and fit its 200 W motor. Cycle the jaw drive by hand through full stroke.",
- componentNodeIds: ["072400f0732cccb3", "c011ef475a0485c8"]
+ componentNodeIds: ["072400f0732cccb3", "c011ef475a0485c8"],
+ motion: { type: "linear", direction: [0, 0, 1], distance: 75 },
+ view: [0.086, -0.978, 0.19]
},
{
parent: "sa-gripper",
@@ -233,7 +281,9 @@ export const roboticsAssembly: AssemblySpec = {
"b187ff355d306ad2",
"ad63d4c29c04eeff"
],
- materials: [{ item: "GRP-JAW-80", quantity: 2 }]
+ materials: [{ item: "GRP-JAW-80", quantity: 2 }],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["072400f0732cccb3", "37d2d1f3fb557cf6"]
},
{
key: "sa-gripper",
@@ -260,7 +310,8 @@ export const roboticsAssembly: AssemblySpec = {
"3ea8d823fcbfce91",
"324a18a620a02fb2"
],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.086, -0.978, 0.19]
},
{
title: "Mount the J1 base and turret",
@@ -276,7 +327,13 @@ export const roboticsAssembly: AssemblySpec = {
"126f40e9ced2ab26"
],
materials: [{ item: "ARM-BASE-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ motion: {
+ type: "linear",
+ direction: [-0.967, 0.0003, -0.2547],
+ distance: 612.4
+ },
+ view: [0.086, -0.978, 0.19]
},
{
key: "main-link",
@@ -285,7 +342,9 @@ export const roboticsAssembly: AssemblySpec = {
"Lift the link assembly onto the turret and bolt the J2 drive output to it. Keep the upper arm on its stand until the brake is released under power.",
componentNodeIds: [],
materials: [{ item: "ARM-LINK-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [-0.041, 0.886, 0.463],
+ blockedBy: ["50512e9b7dcca4e8", "928724e211cae869"]
},
{
key: "main-wrist",
@@ -294,7 +353,9 @@ export const roboticsAssembly: AssemblySpec = {
"Fit the wrist to the end of the upper arm and mate its three motor connectors. Check J4 turns freely before the harness goes on.",
componentNodeIds: [],
materials: [{ item: "ARM-WRIST-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: ["50512e9b7dcca4e8", "928724e211cae869", "add3fa1eeb21b6b5"]
},
{
title: "Route the arm harness",
@@ -308,7 +369,14 @@ export const roboticsAssembly: AssemblySpec = {
"6b5e432c8ebdd66c",
"e43d2278128c3e1c"
],
- materials: [{ item: "HRN-ARM-001", quantity: 1 }]
+ materials: [{ item: "HRN-ARM-001", quantity: 1 }],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: [
+ "50512e9b7dcca4e8",
+ "583544d0404951dd",
+ "928724e211cae869",
+ "add3fa1eeb21b6b5"
+ ]
},
{
key: "main-gripper",
@@ -317,7 +385,13 @@ export const roboticsAssembly: AssemblySpec = {
"Fit the gripper to the J6 flange on its dowel and plug the sensor and motor leads into the wrist.",
componentNodeIds: [],
materials: [{ item: "GRP-2F-80", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-M1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-M1", quantity: 1 }],
+ motion: {
+ type: "linear",
+ direction: [-0.0446, -0.0902, 0.9949],
+ distance: 243.9
+ },
+ view: [0.987, 0, 0.158]
},
{
title: "Fit the protective covers",
@@ -329,7 +403,14 @@ export const roboticsAssembly: AssemblySpec = {
"d3dd339bd02bdda4",
"9963cdf40772edfc"
],
- materials: [{ item: "CN-COVER-KIT", quantity: 1 }]
+ materials: [{ item: "CN-COVER-KIT", quantity: 1 }],
+ view: [-0.96, -0.17, 0.222],
+ blockedBy: [
+ "50512e9b7dcca4e8",
+ "7926870493a08ada",
+ "928724e211cae869",
+ "add3fa1eeb21b6b5"
+ ]
},
{
parent: "sa-controller",
@@ -343,7 +424,8 @@ export const roboticsAssembly: AssemblySpec = {
"b96ec9d853511411",
"30bdd49fd48b7067"
],
- materials: [{ item: "CTRL-100", quantity: 1 }]
+ materials: [{ item: "CTRL-100", quantity: 1 }],
+ view: [-0.726, 0.665, 0.174]
},
{
parent: "sa-controller",
@@ -376,7 +458,9 @@ export const roboticsAssembly: AssemblySpec = {
"b2d3e935b4c8a01b",
"4b10d2f860ad1e40"
],
- materials: [{ item: "DRV-SRV-400", quantity: 6 }]
+ materials: [{ item: "DRV-SRV-400", quantity: 6 }],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 107 },
+ view: [0.086, -0.978, 0.19]
},
{
parent: "sa-controller",
@@ -421,13 +505,15 @@ export const roboticsAssembly: AssemblySpec = {
materials: [
{ item: "PCB-CTRL-R1", quantity: 1 },
{ item: "PCB-IO-R1", quantity: 2 }
- ]
+ ],
+ motion: { type: "linear", direction: [-1, 0, 0], distance: 40 },
+ view: [0.535, 0.147, 0.832]
},
{
parent: "sa-controller",
- title: "Fit the terminals, fans and glands",
+ title: "Fit the terminals and glands",
instruction:
- "Snap the terminal blocks onto the lower rail, fit both roof fans and the three cable glands. Ring out every terminal against the wiring diagram.",
+ "Snap the terminal blocks onto the lower rail and fit the three cable glands. Ring out every terminal against the wiring diagram.",
componentNodeIds: [
"73a2f9533f2f9f6f",
"2357e9d5a0f943fa",
@@ -445,40 +531,78 @@ export const roboticsAssembly: AssemblySpec = {
"e65bbdf143660169",
"32fe754e0b2f7b94",
"e87d237caaf328d7",
- "d8783d3405961e3c",
- "beb750c41bd66388",
"aa14ad7ef14b6f8f",
"ba6677dfabb31c4a",
"a3d50fd410028115"
- ]
+ ],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["65ae055bd5a1e2e8", "7bbf962f870c057b", "994a30c3206cec49"]
+ },
+ {
+ parent: "sa-controller",
+ title: "Fit the roof fans",
+ instruction: "Fit both roof fans and check they blow out of the cabinet.",
+ componentNodeIds: ["d8783d3405961e3c", "beb750c41bd66388"],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 55 },
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-controller",
title: "Hang the door and fit the controls",
instruction:
- "Hang the door, then fit the main switch, the emergency stop and the status lamp. Check the E-stop drops both safety channels before the door is closed.",
+ "Hang the door, then fit the main switch and the emergency stop. Check the E-stop drops both safety channels before the door is closed.",
componentNodeIds: [
"d8cefe8dd024b56b",
"229f36961ed0730f",
"803503fda47737a7",
"95031d594b8485b9",
- "8b39dda548bbdd03",
- "7ca9f42baa23c434"
+ "8b39dda548bbdd03"
+ ],
+ view: [0.987, 0, 0.158],
+ blockedBy: [
+ "65ae055bd5a1e2e8",
+ "73a2f9533f2f9f6f",
+ "7bbf962f870c057b",
+ "994a30c3206cec49"
]
},
+ {
+ parent: "sa-controller",
+ title: "Fit the status lamp",
+ instruction:
+ "Fit the status lamp on the cabinet roof and check every colour lights.",
+ componentNodeIds: ["7ca9f42baa23c434"],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 55 },
+ view: [0.987, 0, 0.158]
+ },
{
key: "sa-controller",
isSubAssembly: true,
title: "Controller Cabinet",
instruction:
"Set the controller cabinet on its mark beside the arm, 600 mm clear of the arm's reach envelope.",
- componentNodeIds: []
+ componentNodeIds: [],
+ motion: {
+ type: "linear",
+ direction: [-0.2743, -0.1248, -0.9535],
+ distance: 1312.2
+ },
+ view: [-0.726, 0.665, 0.174]
},
{
title: "Connect the umbilical cable",
instruction:
"Lay the umbilical cable from the base connectors to the cabinet glands in its floor duct and lock both ends. Never run it where the arm can reach it.",
- componentNodeIds: ["56627698a7095c49"]
+ componentNodeIds: ["56627698a7095c49"],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: [
+ "06eae009c0732514",
+ "50512e9b7dcca4e8",
+ "7926870493a08ada",
+ "7bbf962f870c057b",
+ "928724e211cae869",
+ "add3fa1eeb21b6b5"
+ ]
},
{
key: "burn-in",
diff --git a/packages/database/src/datasets/data/satellite/assembly.ts b/packages/database/src/datasets/data/satellite/assembly.ts
index e7e08f46e2..325103cabb 100644
--- a/packages/database/src/datasets/data/satellite/assembly.ts
+++ b/packages/database/src/datasets/data/satellite/assembly.ts
@@ -16,6 +16,7 @@ export const satelliteAssembly: AssemblySpec = {
componentCount: 266,
// The Assembly operation of the SAT-1000 method.
operation: 1,
+ motionsBakedFor: "3f7f48a0eeda4931",
steps: [
{
parent: "sa-wings",
@@ -29,7 +30,8 @@ export const satelliteAssembly: AssemblySpec = {
"40382813c8872f60",
"5ae7d178535ced8f",
"a749ecc02f43dfd5"
- ]
+ ],
+ view: [0.595, 0.777, 0.206]
},
{
parent: "sa-wings",
@@ -49,7 +51,9 @@ export const satelliteAssembly: AssemblySpec = {
"455d2a0b6744acf0",
"0691f9ad59a8de6c",
"a7b2ea3bdd4cb174"
- ]
+ ],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 6.6 },
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-wings",
@@ -75,7 +79,15 @@ export const satelliteAssembly: AssemblySpec = {
"1c1a3ea847b79406",
"8db0fec40d8d3d23",
"78946c6d13d4f9b9"
- ]
+ ],
+ motion: {
+ type: "L",
+ segments: [
+ { direction: [0, 1, 0], distance: 3743 },
+ { direction: [0, 0, 1], distance: 5630.9 }
+ ]
+ },
+ view: [0.9, 0.329, 0.286]
},
{
parent: "sa-wings",
@@ -88,7 +100,9 @@ export const satelliteAssembly: AssemblySpec = {
"8bedd493e3de491a",
"130f550d7443a811"
],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["49f5f40d21662ed0", "791730c2ba6d5a1c", "ee01ec193ce225d7"]
},
{
key: "sa-wings",
@@ -104,7 +118,8 @@ export const satelliteAssembly: AssemblySpec = {
title: "Mount the base plate and pyramid bracket",
instruction:
"Bolt the pyramid bracket to the ADCS base plate with the alignment pins fitted first. Measure the four face angles with the optical cube and record them — the wheel axes are only as good as these faces.",
- componentNodeIds: ["1168e3a3989c40f3", "f4e8922cfef5b476"]
+ componentNodeIds: ["1168e3a3989c40f3", "f4e8922cfef5b476"],
+ view: [-0.574, -0.445, 0.687]
},
{
parent: "sa-adcs",
@@ -129,7 +144,9 @@ export const satelliteAssembly: AssemblySpec = {
"7d3740173cee495d",
"c6b65b24deb91b66"
],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ view: [0.987, 0, 0.158],
+ blockedBy: ["1168e3a3989c40f3"]
},
{
parent: "sa-adcs",
@@ -161,24 +178,47 @@ export const satelliteAssembly: AssemblySpec = {
"7db60bc9eaa09414",
"13e9d8e9f4faf6f5",
"a38f8f0ddcdfb1e3"
- ]
+ ],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 127 },
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-adcs",
- title: "Fit the two star trackers",
+ title: "Fit the first star tracker",
instruction:
- "Fit both star trackers on their brackets with the baffles pointing out through the +X panel line. Leave the lens caps on until final close-out and log each tracker's boresight against the alignment cube.",
+ "Fit star tracker 1 on its bracket with the baffle pointing out through the +X panel line. Leave the lens cap on until final close-out and log its boresight against the alignment cube.",
componentNodeIds: [
"15159fe79ba60bf7",
- "9d8ae0582b1ae5da",
"b7a5d14b95f70669",
"cd60e7c94e5f1070",
"68ac498431fe92d8",
- "598ed2c000ae49dc",
+ "598ed2c000ae49dc"
+ ],
+ motion: {
+ type: "linear",
+ direction: [-0.8525, -0.0181, -0.5223],
+ distance: 229.4
+ },
+ view: [0.9, 0.329, 0.286]
+ },
+ {
+ parent: "sa-adcs",
+ title: "Fit the second star tracker",
+ instruction:
+ "Fit star tracker 2 the same way, baffle out through the +X panel line, lens cap on. Log its boresight against the alignment cube.",
+ componentNodeIds: [
+ "9d8ae0582b1ae5da",
"fc43945a99fd9a90",
"071029ac9cca8cfe",
"3e6b7247d7a3f953",
"2168dc5ab93e530f"
+ ],
+ view: [0.987, 0, 0.158],
+ blockedBy: [
+ "1168e3a3989c40f3",
+ "15159fe79ba60bf7",
+ "4b822f523330c01e",
+ "ab653f1d58be3a99"
]
},
{
@@ -212,7 +252,8 @@ export const satelliteAssembly: AssemblySpec = {
"c635ad612e12d7da",
"785248afc59ed9f2",
"3a874f85804eb56f"
- ]
+ ],
+ view: [-0.531, 0.756, 0.383]
},
{
parent: "sa-prop",
@@ -230,24 +271,36 @@ export const satelliteAssembly: AssemblySpec = {
"a04092491765763b",
"4fd6d452e0eb827b",
"94fc99c8be47c0f6"
- ]
+ ],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 63 },
+ view: [0.417, 0.729, 0.543]
},
{
parent: "sa-prop",
- title: "Plumb the feed lines",
+ title: "Plumb the feed lines to thruster A",
instruction:
- "Fit the eight titanium feed lines from the tank outlet through the filter and valves to both thrusters. Start every B-nut by hand before tightening any, and torque-stripe each fitting as it is closed.",
+ "Fit the feed lines from the tank outlet through the filter and the A valves to thruster A, plus the branch line to the B side. Start every B-nut by hand before tightening any, and torque-stripe each fitting as it is closed.",
componentNodeIds: [
"bbfb8c806d1d4dce",
"8b2bbb51f9b5894e",
"24b4eb8b8a0e6c39",
"2444b159dc78075c",
"3d328a2294acc3c2",
- "bc3574bf2c6fd6c1",
- "62130979531caeda",
- "408777e8ea354f73"
+ "bc3574bf2c6fd6c1"
],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ view: [0.086, -0.978, 0.19],
+ blockedBy: ["b83463843b398739", "cb6723c5eb3ccdaf"]
+ },
+ {
+ parent: "sa-prop",
+ title: "Plumb the feed lines to thruster B",
+ instruction:
+ "Fit the B valves line and the thruster B line onto the branch. Start every B-nut by hand, then torque and torque-stripe each fitting.",
+ componentNodeIds: ["62130979531caeda", "408777e8ea354f73"],
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 21 },
+ view: [0.987, 0, 0.158]
},
{
parent: "sa-prop",
@@ -265,6 +318,13 @@ export const satelliteAssembly: AssemblySpec = {
"6413be572dd40b2c",
"f0946162c65bd3fd",
"914b799e5548732d"
+ ],
+ view: [0.987, 0, 0.158],
+ blockedBy: [
+ "62130979531caeda",
+ "b83463843b398739",
+ "bbfb8c806d1d4dce",
+ "cb6723c5eb3ccdaf"
]
},
{
@@ -277,7 +337,9 @@ export const satelliteAssembly: AssemblySpec = {
"9868878aa2e79e8e",
"e597761bc41994b9",
"ad5fc1c36c9c7472"
- ]
+ ],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 41 },
+ view: [-0.726, 0.665, 0.174]
},
{
key: "sa-prop",
@@ -301,7 +363,8 @@ export const satelliteAssembly: AssemblySpec = {
"3cd1bcf4f1de85d6",
"914703f72c905f86",
"9e8a45a018ece034"
- ]
+ ],
+ view: [-0.472, 0.242, 0.848]
},
{
parent: "sa-eps",
@@ -337,7 +400,13 @@ export const satelliteAssembly: AssemblySpec = {
"e9988eee9a8903fe",
"841ccd9042ba2edb",
"ef4c7f4c0ab50504"
- ]
+ ],
+ motion: {
+ type: "linear",
+ direction: [0.0355, -0.122, -0.9919],
+ distance: 103.1
+ },
+ view: [0.003, -0.677, 0.736]
},
{
key: "eps-wings",
@@ -355,7 +424,9 @@ export const satelliteAssembly: AssemblySpec = {
"d036e99005222c16",
"dbc41bfe5f309699"
],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ view: [0.126, 0.73, 0.671],
+ blockedBy: ["13bd964ec5bcb9a5"]
},
{
parent: "sa-eps",
@@ -367,7 +438,9 @@ export const satelliteAssembly: AssemblySpec = {
"0c905f71f978959d",
"9988d5d910bd70a4",
"a1f5c8d95d3eaf70"
- ]
+ ],
+ view: [0.692, 0.364, 0.623],
+ blockedBy: ["13bd964ec5bcb9a5", "35f10fc15ac68b3d", "d06c325b8af5b68a"]
},
{
key: "sa-eps",
@@ -406,7 +479,8 @@ export const satelliteAssembly: AssemblySpec = {
"b2707b26bfa6b9b9",
"8bad5f7a560d60ed",
"0af2379e51661eed"
- ]
+ ],
+ view: [-0.472, 0.51, 0.719]
},
{
key: "av-adcs",
@@ -416,7 +490,9 @@ export const satelliteAssembly: AssemblySpec = {
"Lower the reaction wheel pack onto the deck over its dowels and bolt it down. Re-measure the alignment cube; if the pack shifted from its bench reading, shim before going on.",
componentNodeIds: [],
materials: [{ item: "ADCS-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 148.7 },
+ view: [0.175, -0.472, 0.864]
},
{
parent: "sa-avionics",
@@ -429,7 +505,13 @@ export const satelliteAssembly: AssemblySpec = {
"ee2dbd5169aac799",
"92d603f426f0f4de"
],
- materials: [{ item: "COMMS-001", quantity: 1 }]
+ materials: [{ item: "COMMS-001", quantity: 1 }],
+ motion: {
+ type: "linear",
+ direction: [0.9911, 0.0004, -0.1331],
+ distance: 151.9
+ },
+ view: [0.282, 0.899, 0.334]
},
{
parent: "sa-avionics",
@@ -450,7 +532,9 @@ export const satelliteAssembly: AssemblySpec = {
"f7549c4bdce5ca7d",
"aa4af332a469908b"
],
- materials: [{ item: "HARNESS-001", quantity: 1 }]
+ materials: [{ item: "HARNESS-001", quantity: 1 }],
+ view: [-0.638, -0.059, 0.768],
+ blockedBy: ["1168e3a3989c40f3", "33dc34f3d2f441a4", "7b28fb28fd21c28c"]
},
{
key: "av-continuity",
@@ -475,7 +559,8 @@ export const satelliteAssembly: AssemblySpec = {
"Mount the launch adapter ring in the integration stand and bolt the bottom deck to it. Check the ring's interface flatness at eight points before the deck goes on; the whole spacecraft builds up from this face.",
componentNodeIds: ["164d11fea159085a", "7125d0306320e9b6"],
materials: [{ item: "BUS-STR-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ view: [-0.79, -0.252, 0.559]
},
{
key: "main-prop",
@@ -484,7 +569,9 @@ export const satelliteAssembly: AssemblySpec = {
"Lower the propulsion module onto the bottom deck, guiding both thruster nozzles through their cut-outs. Bolt the module down and re-check the nozzle alignment from below.",
componentNodeIds: [],
materials: [{ item: "PROP-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 341 },
+ view: [-0.881, 0.364, 0.302]
},
{
title: "Erect the lower longerons and mid deck",
@@ -501,7 +588,9 @@ export const satelliteAssembly: AssemblySpec = {
"1e53c0347e3e8939",
"17dfae82317baa0f"
],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 385 },
+ view: [-0.472, 0.242, 0.848]
},
{
key: "main-eps",
@@ -510,7 +599,9 @@ export const satelliteAssembly: AssemblySpec = {
"Bring the power subsystem in with both wings supported on the zero-g rig and set the tray on the -X half of the mid deck. Keep the wings on the rig until the side panels are on.",
componentNodeIds: [],
materials: [{ item: "EPS-001", quantity: 1 }],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 243 },
+ view: [0.443, 0.489, 0.752]
},
{
key: "main-avionics",
@@ -518,12 +609,29 @@ export const satelliteAssembly: AssemblySpec = {
instruction:
"Set the avionics stack on the +X half of the mid deck and mate the power trunk connector to the distribution unit. Run the first powered-on functional test from the ground support equipment before closing the bus.",
componentNodeIds: [],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: {
+ type: "L",
+ segments: [
+ { direction: [-1, 0, 0], distance: 364.6 },
+ { direction: [-0.1712, -0.9831, -0.0646], distance: 205.9 }
+ ]
+ },
+ view: [-0.472, 0.242, 0.848]
+ },
+ {
+ title: "Fit the radiator panels",
+ instruction:
+ "Fit the +X and -X radiator panels and torque their fasteners in sequence.",
+ componentNodeIds: ["ab29696d0216bad7", "bbb339f2235a9709"],
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, 1], distance: 335 },
+ view: [0.987, 0, 0.158]
},
{
title: "Close out the structure",
instruction:
- "Fit the upper longerons, then the four side panels — the +X panel over the star tracker baffles and the ±Y panels over the drive shafts — then the radiators and the top deck with its lifting points. Torque every panel fastener in sequence.",
+ "Fit the upper longerons, then the four side panels — the +X panel over the star tracker baffles and the ±Y panels over the drive shafts — then the top deck with its lifting points. Torque every panel fastener in sequence.",
componentNodeIds: [
"19590abf8e429ed2",
"b0ff644dd7f8b02b",
@@ -538,14 +646,21 @@ export const satelliteAssembly: AssemblySpec = {
"1fca19defe1f035c",
"bc21d67d2d92f7ae",
"c2491962ba32fcbe",
- "ab29696d0216bad7",
- "bbb339f2235a9709",
"a0fb8606a5496575",
"a01d3c0e02567ff5",
"879f47745bd7020a",
"763d1964dc30924a"
],
- tools: [{ item: "TL-TORQUE-J1", quantity: 1 }]
+ tools: [{ item: "TL-TORQUE-J1", quantity: 1 }],
+ view: [0.987, 0, 0.158],
+ blockedBy: [
+ "13bd964ec5bcb9a5",
+ "164d11fea159085a",
+ "33dc34f3d2f441a4",
+ "67a5f82269d8581d",
+ "ab29696d0216bad7",
+ "b83463843b398739"
+ ]
},
{
title: "Fit the antennas",
@@ -559,7 +674,9 @@ export const satelliteAssembly: AssemblySpec = {
"be89f7cc98dbab6f",
"6e4135874c74c939"
],
- tools: [{ item: "TL-PROBE-VNA", quantity: 1 }]
+ tools: [{ item: "TL-PROBE-VNA", quantity: 1 }],
+ motion: { type: "linear", direction: [0, 0, -1], distance: 47 },
+ view: [0.987, 0, 0.158]
},
{
title: "Fit the MLI blankets",
@@ -572,7 +689,18 @@ export const satelliteAssembly: AssemblySpec = {
"43ad45874e5d05c8",
"61762158da474aec"
],
- materials: [{ item: "CN-MLI-001", quantity: 1 }]
+ materials: [{ item: "CN-MLI-001", quantity: 1 }],
+ view: [-0.726, 0.665, 0.174],
+ blockedBy: [
+ "13bd964ec5bcb9a5",
+ "164d11fea159085a",
+ "19590abf8e429ed2",
+ "33dc34f3d2f441a4",
+ "5f87215ab0f7a2fc",
+ "67a5f82269d8581d",
+ "ab29696d0216bad7",
+ "b83463843b398739"
+ ]
},
{
title: "Fit the sun sensors and inspect the finished satellite",
@@ -587,6 +715,17 @@ export const satelliteAssembly: AssemblySpec = {
"514e149b323864e4",
"9b0de975af4447d8",
"ec8c3d8336112dfc"
+ ],
+ view: [0.987, 0, 0.158],
+ blockedBy: [
+ "13bd964ec5bcb9a5",
+ "164d11fea159085a",
+ "19590abf8e429ed2",
+ "33dc34f3d2f441a4",
+ "5f87215ab0f7a2fc",
+ "67a5f82269d8581d",
+ "ab29696d0216bad7",
+ "c0904b3cb71c8b9d"
]
}
],
diff --git a/packages/database/src/datasets/tiers/02-items.ts b/packages/database/src/datasets/tiers/02-items.ts
index 6bdb9bd4d3..c1c7a59073 100644
--- a/packages/database/src/datasets/tiers/02-items.ts
+++ b/packages/database/src/datasets/tiers/02-items.ts
@@ -82,7 +82,19 @@ async function seedAssembly(ctx: Ctx, spec: AssemblySpec): Promise<void> {
instructionText: step.instruction ?? step.title,
componentNodeIds: step.componentNodeIds,
isSubAssembly: step.isSubAssembly ?? false,
- sortOrder: sortOrder++
+ sortOrder: sortOrder++,
+ ...(step.motion ? { motion: JSON.stringify(step.motion) } : {}),
+ ...(step.view
+ ? { camera: JSON.stringify({ source: "plan", direction: step.view }) }
+ : {}),
+ ...(step.blockedBy?.length
+ ? {
+ warnings: JSON.stringify({
+ flagged: true,
+ blockedBy: step.blockedBy
+ })
+ }
+ : {})
});
stepIds.push(stepId);
if (step.key) stepIdByKey.set(step.key, stepId);
diff --git a/packages/database/src/datasets/types.ts b/packages/database/src/datasets/types.ts
index 749959929d..f29c82b0b2 100644
--- a/packages/database/src/datasets/types.ts
+++ b/packages/database/src/datasets/types.ts
@@ -1201,8 +1201,26 @@ export type AssemblyStepSpec = {
parent?: string;
/** Headers only: key of the later step that fits this finished sub-assembly. */
usedIn?: string;
+ /**
+ * Planner-baked insertion, what the app's order-preserving re-motion would
+ * write: planned per build (the main build and each sub-assembly on its own),
+ * moving the step's parts plus any finished sub-assembly it fits. Absent =
+ * motion "none" (the player fades the parts in).
+ */
+ motion?: AssemblyStepMotionSpec;
+ /** Planner's view direction for the step (the camera's `{ source: "plan" }` hint). */
+ view?: [number, number, number];
+ /** Parts the planner found blocking every insertion: the step fades in, no path is invented. */
+ blockedBy?: string[];
};
+type Vec3Spec = [number, number, number];
+
+/** The `Motion` shapes the planner bakes (`@carbon/viewer` types.ts). */
+export type AssemblyStepMotionSpec =
+ | { type: "linear"; direction: Vec3Spec; distance: number }
+ | { type: "L"; segments: { direction: Vec3Spec; distance: number }[] };
+
export type AssemblyComponentMappingSpec = {
geometryHash: string;
item: string;
@@ -1222,6 +1240,12 @@ export type AssemblySpec = {
componentCount: number;
/** 1-based BOP position of the item's "Assembly" operation. */
operation: number;
+ /**
+ * `assemblyStructureFingerprint` of the steps the baked `motion` / `view` /
+ * `blockedBy` were planned for. The validator fails when the steps' parts or
+ * structure change after baking.
+ */
+ motionsBakedFor?: string;
steps: AssemblyStepSpec[];
componentMappings: AssemblyComponentMappingSpec[];
};
diff --git a/packages/database/src/datasets/validate-assembly.test.ts b/packages/database/src/datasets/validate-assembly.test.ts
index c87e5fff5a..31ff51b636 100644
--- a/packages/database/src/datasets/validate-assembly.test.ts
+++ b/packages/database/src/datasets/validate-assembly.test.ts
@@ -77,4 +77,23 @@ describe("satellite assembly sub-assemblies", () => {
'parent "no-such-header" is not a sub-assembly'
);
});
+ it("rejects baked motions once a step's parts change", () => {
+ const dataset = withSteps((steps) => {
+ const step = steps.find((candidate) => candidate.motion)!;
+ step.componentNodeIds = step.componentNodeIds.slice(1);
+ return steps;
+ });
+ expect(assemblyViolations(dataset).join("\n")).toContain(
+ "steps changed since their motions were baked"
+ );
+ });
+
+ it("keeps baked motions when only wording changes", () => {
+ const dataset = withSteps((steps) => {
+ steps[0]!.title = "Renamed";
+ steps[0]!.instruction = "Reworded.";
+ return steps;
+ });
+ expect(assemblyViolations(dataset)).toEqual([]);
+ });
});
diff --git a/packages/database/src/datasets/validate.ts b/packages/database/src/datasets/validate.ts
index 5a5acd4fa4..e9156b5630 100644
--- a/packages/database/src/datasets/validate.ts
+++ b/packages/database/src/datasets/validate.ts
@@ -2,6 +2,7 @@
// assembly graph.json sidecars from disk); `pnpm db:check:datasets` covers the live
// schema. RULES order is the order violations are listed in.
+import { createHash } from "node:crypto";
import { existsSync, readFileSync } from "node:fs";
import path from "node:path";
import { fileURLToPath } from "node:url";
@@ -3832,6 +3833,27 @@ export function floor(ctx: ValidationCtx): void {
* are in play order: a header's members sit directly before it, and the step that
* uses a finished sub-assembly comes after it.
*/
+/**
+ * Fingerprint of what baked step motions depend on: each step's parts, header
+ * flag and sub-assembly links (by position, so renaming a key is not a change),
+ * in play order. Stored as `AssemblySpec.motionsBakedFor` by the bake.
+ */
+export function assemblyStructureFingerprint(steps: AssemblyStepSpec[]) {
+ const indexByKey = new Map(
+ steps.flatMap((step, index) => (step.key ? [[step.key, index]] : []))
+ );
+ const structure = steps.map((step) => [
+ step.componentNodeIds,
+ step.isSubAssembly ?? false,
+ step.parent ? (indexByKey.get(step.parent) ?? step.parent) : null,
+ step.usedIn ? (indexByKey.get(step.usedIn) ?? step.usedIn) : null
+ ]);
+ return createHash("sha1")
+ .update(JSON.stringify(structure))
+ .digest("hex")
+ .slice(0, 16);
+}
+
function assemblySubAssemblies(
steps: AssemblyStepSpec[],
fail: (message: string) => void
@@ -3926,13 +3948,33 @@ export function assembly(ctx: ValidationCtx): void {
if (assembly.item !== undefined)
need("item", "items.assembly", assembly.item);
for (const step of assembly.steps) {
- for (const nodeId of step.componentNodeIds) {
+ for (const nodeId of [
+ ...step.componentNodeIds,
+ ...(step.blockedBy ?? [])
+ ]) {
if (!graph.nodeIds.has(nodeId)) {
fail(
`items.assembly step "${step.title}": node id "${nodeId}" is not in the bundled graph`
);
}
}
+ if (step.motion && step.blockedBy?.length) {
+ fail(
+ `items.assembly step "${step.title}": a blocked step has no path, so it carries no motion`
+ );
+ }
+ }
+ const baked = assembly.steps.some(
+ (step) => step.motion || step.view || step.blockedBy
+ );
+ if (
+ baked &&
+ assembly.motionsBakedFor !==
+ assemblyStructureFingerprint(assembly.steps)
+ ) {
+ fail(
+ `items.assembly "${assembly.model}": steps changed since their motions were baked — re-bake them, or drop motion/view/blockedBy`
+ );
}
assemblySubAssemblies(assembly.steps, fail);
const bom =
diff --git a/packages/viewer/src/types.ts b/packages/viewer/src/types.ts
index 18f1103828..5ab894b54d 100644
--- a/packages/viewer/src/types.ts
+++ b/packages/viewer/src/types.ts
@@ -55,7 +55,9 @@ export type NoneMotion = {
/**
* Describes the insertion motion of a step's components into the assembly. The
- * viewer derives removal (the reverse) and start poses from it.
+ * viewer derives removal (the reverse) and start poses from it. The demo
+ * datasets restate the shapes they seed as `AssemblyStepMotionSpec`
+ * (@carbon/database cannot import this package).
*/
export type Motion =
| LinearMotion