You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
7 months ago | |
|---|---|---|
| doc | 7 months ago | |
| public | 7 months ago | |
| src | 7 months ago | |
| .gitattributes | 7 months ago | |
| .gitignore | 7 months ago | |
| .prettierrc.json | 7 months ago | |
| README.md | 7 months ago | |
| env.d.ts | 7 months ago | |
| index.html | 7 months ago | |
| package.json | 7 months ago | |
| pnpm-lock.yaml | 7 months ago | |
| tsconfig.app.json | 7 months ago | |
| tsconfig.json | 7 months ago | |
| tsconfig.node.json | 7 months ago | |
| vite.config.ts | 7 months ago | |
README.md
yvan-rcs-web
文件结构构成
src/
├── assets/ # 静态资源(纹理、图标等)
├── components/ # 一些公共组件
├── core/ # 核心类库(不依赖 Vue,便于复用)
│ ├── example/ # 各种实体基础类
│ │ └── Example1.js
│ ├── base/ # 各种实体基础类
│ │ ├── BaseRenderer.ts
│ │ ├── BaseInteraction.ts
│ │ ├── BaseMeta.ts
│ │ ├── BaseItemEntity.ts
│ │ └── BaseLineEntity.ts
│ ├── manager/ # 管理器类
│ │ ├── ModuleManager.ts
│ │ ├── StateManager.ts
│ │ ├── WorldModel.ts
│ │ ├── EntityManager.ts
│ │ └── InstancePool.ts
│ ├── utils/ # 管理器类
│ │ ├── StateManager.ts
│ │ └── WorldModel.ts
│ └── engine/ # Three.js 封装类
│ ├── SceneHelp.ts
│ └── Viewport.ts
├── editor/ # 编辑器
│ ├── menus/ # 各种实体基础类
│ │ ├── FileMenu.ts
│ │ ├── EditMenu.ts
│ │ ├── Model3DView.ts
│ │ └── Tools.ts
│ ├── widgets/ # 管理器类
│ │ └── ...
│ ├── propEditors/ # 属性面板编辑器
│ │ └── ...
│ ├── controls/ # 各种实体基础类
│ │ ├── SelectionControls.ts
│ │ ├── EsDragControls.ts
│ │ └── MouseMoveControls.ts
│ ├── Model3DViewer.vue
│ ├── Model2DEditor.vue
│ └── EditorMain.vue # Three.js 封装类
├── modules/ # 模块化插件目录(按物流单元类型组织)
│ ├── measure/ # 测量单元模块
│ │ ├── MeasureRenderer.ts
│ │ ├── MeasureInteraction.ts
│ │ ├── MeasureMeta.ts
│ │ ├── MeasureEntity.ts
│ │ └── index.ts
│ ├── conveyor/ # 输送线模块
│ │ ├── ConveyorRenderer.ts
│ │ ├── ConveyorInteraction.ts
│ │ ├── ConveyorMeta.ts
│ │ ├── ConveyorEntity.ts
│ │ └── index.ts
│ └── ... # 其他物流单元模块
├── plugins/ # 插件系统支持
│ └── registerItemType.ts # 注册物流单元类型的插件机制
├── types/ # 类型定义(全局共享的类型)
│ ├── model.d.ts
│ └── index.d.ts
├── utils/ # 工具函数(非 Three 相关)
│ └── index.ts
└── views/ # 页面视图(Vue 页面)
├── Editor.vue # 主编辑器页面
└── Viewer.vue # 查看器页面