diff --git a/src/components/Building3D.jsx b/src/components/Building3D.jsx
index 0ba70ce..2743826 100644
--- a/src/components/Building3D.jsx
+++ b/src/components/Building3D.jsx
@@ -66,15 +66,15 @@ const ROOMS = [
{ x: [14, 16], z: [28, 32], type: 'office', zone: '加速区', no: 'A9', company: '云南大学AI+创业平台' },
{ x: [18, 21], z: [28, 32], type: 'office', zone: '加速区', no: 'A8', company: '瀚颖AI+教育信息咨询' },
{ x: [23, 26], z: [28, 32], type: 'office', zone: '加速区', no: 'A7', company: '云南廷秀文旅康养' },
- { x: [28, 31], z: [28, 32], type: 'office', zone: '加速区', no: 'A6', company: '人工智能机器人大模型训练' },
+ { x: [6, 12], z: [36, 40], type: 'office', zone: '加速区', no: 'A6', company: '人工智能机器人大模型训练' }, // x: [28, 31], z: [28, 32]
{ x: [32, 43], z: [28, 32], type: 'desk', no: 'W02' },
{ x: [45, 48], z: [28, 32], type: 'lounge', no: 'L01' },
{ x: [50, 58], z: [28, 32], type: 'hallway', no: 'H04' },
// 横向过道(行33-35)
{ x: [1, 58], z: [33, 35], type: 'hallway', no: 'H05' },
// ===== 下排(6 间:A1-A5 + 园区管理办公室)=====
- { x: [1, 4], z: [36, 40], type: 'office', zone: '管理', no: 'M', company: '园区管理办公室' },
- { x: [6, 12], z: [36, 40], type: 'office', zone: '加速区', no: 'A12', company: '待入驻' },
+ { x: [1, 4], z: [36, 40], type: 'office', zone: '管理', no: 'M', company: '园区管理办公室' }, // x: [1, 4], z: [36, 40],
+ { x: [28, 31], z: [28, 32], type: 'office', zone: '加速区', no: '', company: '' }, // x: [6, 12], z: [36, 40]
{ x: [14, 16], z: [36, 40], type: 'office', zone: '加速区', no: 'A5', company: '昆明智海银高文化科技' },
{ x: [18, 21], z: [36, 40], type: 'office', zone: '加速区', no: 'A4', company: '云南宸中低空经济' },
{ x: [23, 26], z: [36, 40], type: 'office', zone: '加速区', no: 'A3', company: '中泰研学合作' },
@@ -152,22 +152,14 @@ const cz = (z) => (z - D / 2) * U;
/* ---------- 基础组件 ---------- */
-function Wall({ x, z, w, h, axis = 'z', color = WALL_COLOR, edge = WALL_EDGE, y = 0, gridLabel = '' }) {
+function Wall({ x, z, w, h, axis = 'z', color = WALL_COLOR, edge = WALL_EDGE, y = 0 }) {
const size = axis === 'z' ? [w, h, T] : [T, h, w];
return (
-
-
-
-
-
-
- {/* 临时调试:墙面数值标签 */}
- {gridLabel && (
-
- {gridLabel}
-
- )}
-
+
+
+
+
+
);
}
@@ -592,14 +584,12 @@ function Building() {
/* ===== 4. 墙体(像素墙段精确生成,无交叉穿出) ===== */
HWALLS.forEach(([z, x0, x1], i) => {
walls.push(
-
+
);
});
VWALLS.forEach(([x, z0, z1], i) => {
walls.push(
-
+
);
});
@@ -637,31 +627,6 @@ function Building() {
);
}
-/* ---------- 临时坐标轴指示(XYZ,用于点位沟通调试) ---------- */
-function TempAxis() {
- return (
-
- {/* 三色轴:X 红 → +x,Y 绿 ↑ +y,Z 蓝 → +z(长度 6) */}
-
- {/* 轴端文字标签 */}
-
- +X →
-
-
- +Y ↑
-
-
- +Z →
-
- {/* 原点 */}
-
-
-
-
-
- );
-}
-
/* ---------- 场景 ---------- */
export default function Building3D({ interactive = true }) {
return (
@@ -683,10 +648,7 @@ export default function Building3D({ interactive = true }) {
- {/* 临时坐标轴指示(原点位于模型中心,X 红 / Y 绿 / Z 蓝) */}
-
-
-