From 8402f1bc2daffc4f3fc4e75ddb4af45be32d4c28 Mon Sep 17 00:00:00 2001
From: lyf <2514544224@qq.com>
Date: Fri, 13 Mar 2026 23:24:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=B9=E7=9B=AE=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=E5=B9=B6=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 更新 README 文档,增加项目介绍和说明
- 优化 Vite 配置,支持多页面入口和路径别名
- 移除未使用的 MyProject.vue 组件
- 更新项目依赖包版本
- 添加 Tailwind CSS 相关配置
- 优化编辑器布局和样式
- 添加 UI 组件库支持
- 更新 Logo 和加载动画
- 修复国际化配置
Made-with: Cursor
---
Astral3D/README.en.md | 134 +--
Astral3D/README.md | 145 +--
Astral3D/package.json | 55 +-
Astral3D/packages/editor/components.d.ts | 13 +
Astral3D/packages/editor/index.html | 50 +-
Astral3D/packages/editor/package.json | 10 +-
Astral3D/packages/editor/postcss.config.js | 6 +
.../editor/public/static/images/logo/logo.svg | 39 +-
Astral3D/packages/editor/src/App.vue | 145 +--
.../editor/src/assets/css/globals.css | 445 +++++++++
.../src/components/es/EsCubeLoading.vue | 4 +-
.../components/es/plugin/EsPluginDialog.vue | 102 +-
.../editor/src/components/header/Logo.vue | 37 +-
.../src/components/ui/Button/Button.vue | 38 +
.../editor/src/components/ui/Card/Card.vue | 16 +
.../src/components/ui/Card/CardContent.vue | 15 +
.../components/ui/Card/CardDescription.vue | 16 +
.../src/components/ui/Card/CardFooter.vue | 15 +
.../src/components/ui/Card/CardHeader.vue | 19 +
.../src/components/ui/Card/CardTitle.vue | 16 +
.../editor/src/components/ui/Card/index.ts | 6 +
.../src/components/ui/Dialog/Dialog.vue | 29 +
.../src/components/ui/Dialog/DialogClose.vue | 21 +
.../ui/Dialog/DialogDescription.vue | 16 +
.../src/components/ui/Dialog/DialogHeader.vue | 15 +
.../src/components/ui/Dialog/DialogTitle.vue | 16 +
.../editor/src/components/ui/Input/Input.vue | 21 +
.../editor/src/components/ui/index.ts | 8 +
.../editor/src/language/zh-CN-en-US.ts | 2 +-
Astral3D/packages/editor/src/lib/utils.ts | 6 +
Astral3D/packages/editor/src/main.ts | 81 +-
.../editor/src/store/modules/globalConfig.ts | 14 +-
.../src/views/editor/layouts/Footer.vue | 10 +-
.../views/home/components/SidebarTopInfo.vue | 4 +-
.../src/views/home/container/Project.vue | 9 -
.../views/home/container/SettingCenter.vue | 5 -
.../packages/editor/src/views/home/index.vue | 43 +-
.../src/views/home/project/MyProject.vue | 11 -
.../src/views/home/project/SharedProject.vue | 289 +++---
Astral3D/packages/editor/tailwind.config.ts | 48 +
Astral3D/packages/editor/uno.config.ts | 46 +-
Astral3D/packages/editor/vite.config.ts | 406 ++++----
Astral3D/pnpm-lock.yaml | 902 +++++++++++++++---
.../controller/Astral3DScenesController.java | 2 +-
docs/css-migration-spec.md | 329 +++++++
docs/digital-atelier-philosophy.md | 26 +
docs/ui-migration-todo.md | 92 ++
docs/二开改造方案.md | 333 +++++++
48 files changed, 3072 insertions(+), 1038 deletions(-)
create mode 100644 Astral3D/packages/editor/postcss.config.js
create mode 100644 Astral3D/packages/editor/src/assets/css/globals.css
create mode 100644 Astral3D/packages/editor/src/components/ui/Button/Button.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/Card.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/CardContent.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/CardDescription.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/CardFooter.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/CardHeader.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/CardTitle.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Card/index.ts
create mode 100644 Astral3D/packages/editor/src/components/ui/Dialog/Dialog.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Dialog/DialogClose.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Dialog/DialogDescription.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Dialog/DialogHeader.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Dialog/DialogTitle.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/Input/Input.vue
create mode 100644 Astral3D/packages/editor/src/components/ui/index.ts
create mode 100644 Astral3D/packages/editor/src/lib/utils.ts
delete mode 100644 Astral3D/packages/editor/src/views/home/project/MyProject.vue
create mode 100644 Astral3D/packages/editor/tailwind.config.ts
create mode 100644 docs/css-migration-spec.md
create mode 100644 docs/digital-atelier-philosophy.md
create mode 100644 docs/ui-migration-todo.md
create mode 100644 docs/二开改造方案.md
diff --git a/Astral3D/README.en.md b/Astral3D/README.en.md
index 7c4a425..1a0505a 100644
--- a/Astral3D/README.en.md
+++ b/Astral3D/README.en.md
@@ -1,113 +1,65 @@
-#
Astral 3D Editor
+# NeonVision 3D Editor
-🌍 [简体中文](README.md) | English
+[简体中文](README.md) | English
+## Core Features
-Link:
-[](https://github.com/mlt131220/Astral3D)
-[](https://gitee.com/mlt131220/Astral3D)
-[](https://editor.astraljs.com)
+- Multi-format support: 30+ model formats (GLTF/OBJ/FBX/GLB/RVT/IFC, etc.)
+- BIM Model Lightweight Display (RVT/IFC)
+- CAD Drawing Analysis (DWG/DXF)
+- Scene Subpackage Storage and Loading
+- Animation Editor
-> Modern Web 3D editor based on Vue3 + Three.js
+## Extended Capabilities
-
-
|
|
+## Quick Start
+### Prerequisites
+- Node.js ≥ 20.x
+- PNPM
-## 🚀 Core competence
+### Local Development
-### Core function
-- ✅ Multi-format support: 30+ model format (GLTF/OBJ/FBX/GLB/RVT/IFC, etc.)
-- ✅ BIM Model Lightweight Demonstration (RVT/IFC)
-- ✅ CAD drawing analysis (DWG/DXF)
-- ✅ Scenario subcontract storage and loading
-- ✅ Animation editor
-
-### Expansion capability
-- 🧩 plug-in system
-- 📜 When the script is running
-- 💫 Particle system
-- ❄️ Weather system
-- ☁️ Cloud Storage Integration (USS again)
-- 🎠 Resource center
-
-### Coming soon
-- 🚧 Physical engine support
-- 🚧 WebGPU support
-- 🚧 Data components (API/WebSocket)
-- 🚧 low code data large screen
-- 🚧 WebSocket Multi-party collaboration
-
-## 🛠️ Technology stack
-
-
-
-
-
-
-
-## ⚡ Quick start
-
-### pre-demand
-- Node.js ≥ 23.11.x
-- Yarn
-
-### Local run
```bash
- git clone https://github.com/mlt131220/Astral3D.git
+# Clone the project
+git clone
|
|
-
-## ⚖️ License agreement
-
-This project adopts the [![Apache License] (https://img.shields.io/badge/License-Apache_2.0-blue.svg)] (License) open source licenses, please comply with the terms of the agreement and the following supplementary conditions:
-
-- ✅ allows: individual learning/secondary development
-- ⚠️ A copyright notice is required
-- ⚠️ commercial use requires authorization
-- ❌ Prohibited: using this project for business or illegal purposes that are competitive with **hangzhou xingluan digital technology**
-
-**[Full legal notice](LEGAL.md)** | **[Contribution guide](CONTRIBUTING.md)**
-
-## 🌟 Star trend
-
-[](https://star-history.com/#mlt131220/Astral3D&Date)
\ No newline at end of file
+*More content to be added*
diff --git a/Astral3D/README.md b/Astral3D/README.md
index 3835ef7..10ee14b 100644
--- a/Astral3D/README.md
+++ b/Astral3D/README.md
@@ -1,126 +1,65 @@
-#
-
|
+- Vue 3.5+
+- Three.js r176+
+- Cesium 1.107+
+- Naive UI 2.43+
+- UnoCSS 0.46+
-
-
-
-## 🚀 核心能力
-
-### 核心功能
-- ✅ 多格式支持:[30+ 模型格式(GLTF/OBJ/FBX/GLB/RVT/IFC等)](http://editor-doc.astraljs.com/guide/f7smai4w/#%E5%9F%BA%E7%A1%80%E6%93%8D%E4%BD%9C%E5%8C%BA)
-- ✅ BIM模型轻量化展示(RVT/IFC)
-- ✅ CAD图纸解析(DWG/DXF)
-- ✅ 场景分包存储与加载
-- ✅ 动画编辑器
-
-### 扩展能力
-- 🧩 插件系统
-- 📜 脚本运行时
-- 💫 粒子系统
-- ❄️ 天气系统
-- ☁️ 云存储集成(又拍云 USS)
-- 🎠 资源中心
-
-### 即将到来
-- 🚧 物理引擎支持
-- 🚧 WebGPU 支持
-- 🚧 数据组件(API/WebSocket)
-- 🚧 低代码数据大屏
-- 🚧 WebSocket 多人协作
-
-## 🛠️ 技术栈
-
-
-
-
-
-
-
-## ⚡ 快速开始
+## 快速开始
### 前置需求
-- Node.js ≥ 23.11.x
-- PNPM
-```
-# 进入项目时
-nvm use 23.11.0
-# 或者如果 .nvmrc 已存在,直接:
-nvm use
-# 如果还是不行,手动修复 PATH 顺序:
-$env:PATH = "E:\nvm4w\nodejs;$env:PATH"
-nvm version # 应显示 1.1.12
-nvm install 23.11.0
-nvm use 23.11.0
-node --version
-```
+- Node.js ≥ 20.x
+- PNPM
### 本地运行
-```bash
- git clone https://github.com/mlt131220/Astral3D.git
- cd Astral3D
- pnpm install
- pnpm run sdk:build
- pnpm run editor:dev
+```bash
+# 克隆项目
+git clone
|
|
-
-## ⚖️ 许可协议
-
-本项目采用 [](LICENSE) 开源协议,使用时请遵守协议条款及以下补充条款:
-
-- ✅ 允许:个人学习/二次开发
-- ⚠️ 需要版权声明
-- ⚠️ 商业用途需要授权
-- ❌ 禁止:将本项目用于与**杭州星孪数字科技**有竞争性的业务或非法用途
-
-**[完整法律声明](LEGAL.md)** | **[贡献指南](CONTRIBUTING.md)**
-
-## 🌟 Star 趋势
-
-[](https://star-history.com/#mlt131220/Astral3D&Date)
\ No newline at end of file
+*更多内容待补充*
diff --git a/Astral3D/package.json b/Astral3D/package.json
index ffccaa9..cfd2b83 100644
--- a/Astral3D/package.json
+++ b/Astral3D/package.json
@@ -1,28 +1,29 @@
-{
- "name": "astral3d",
- "version": "1.0.0",
- "description": "Astral3D Engine",
- "author": "ErSan