diff --git a/src/app/App.tsx b/src/app/App.tsx index b764d016..106520f7 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -22563,6 +22563,413 @@ export function App({ +
+
Spline Repeaters
+
+ Place bundled corridor GLBs along this spline. Repeaters + work even when the road corridor is disabled. +
+
+ +
+ {selectedPath.repeaters.length === 0 ? ( +
+ No repeaters on this path yet. +
+ ) : null} + {selectedPath.repeaters.map((repeater, repeaterIndex) => { + const selectedAsset = + BUNDLED_SPLINE_CORRIDOR_ASSETS.find( + (asset) => asset.id === repeater.assetId + ) ?? BUNDLED_SPLINE_CORRIDOR_ASSETS[0]; + const repeaterLabel = + repeater.name ?? + selectedAsset?.label ?? + `Repeater ${repeaterIndex + 1}`; + + return ( +
+
{repeaterLabel}
+ + + + + + + + + + + + + + + +
+ +
+ {selectedAsset === undefined ? null : ( +
+ {selectedAsset.intendedUse} Dimensions:{" "} + {selectedAsset.dimensions.widthX}m x{" "} + {selectedAsset.dimensions.heightY}m x{" "} + {selectedAsset.dimensions.lengthZ}m. +
+ )} +
+ ); + })} +
+
Points