# bimrun-engine版本发布
**Repository Path**: 295878059/bimrunengine_release
## Basic Information
- **Project Name**: bimrun-engine版本发布
- **Description**: 该项目用于发布bimrun引擎的各个版本,提供简单的demo与文档
- **Primary Language**: JavaScript
- **License**: BSD-2-Clause
- **Default Branch**: master
- **Homepage**: http://www.bimrun.com
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 5
- **Created**: 2020-09-01
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# bimrun-engine版本发布
#### 介绍
该项目用于发布bimrun引擎的各个版本,提供简单的demo与文档
#### 安装教程
1. 引入depends/config.js配置文件
2. (如需要)调整config.js文件中的服务器地址配置
3. 引入bimrun-engine.js文件
4. 在代码中实例化Viewer即可使用
#### 使用说明
```html
BIMRUN Viewer Demo
```
```javascript
let container = document.getElementById( "container" );
let viewer = new Viewer( {
container: container
} );
viewer.createNavCube( viewer.container ); // Create navigation cube, not necessary
let sceneId = '101534881'; // Get `sceneId` from bimrun.com or local BIMRUN servers
viewer.loadScene( sceneId ); // Load and view scene models
```
```
键盘操控说明:
h 隐藏选中模型
shift + h 显示所有隐藏的模型
shift + 鼠标拖拽 框选模型
esc 取消所有模型的选中状态
u 将视角飞至选中模型处(只限单选情况,多选不生效)
z 找出所有和当前选中模型的族类型一致的模型,并全部选中他们(如有)
w、s 键盘漫游:向前、向后
a、d 键盘漫游:左转、右转
q、e 键盘操控:抬头、低头
x 开启/关闭 重力漫游模式(键盘漫游时会保持在地面上方一定距离)
p 开启/关闭 平飞模式(键盘漫游时不会下降也不会上升)
r、f 键盘操控:围绕中心点左转、右转
t、g 键盘操控:围绕中心点向上转、向下转
```
#### 相关链接
[模型浏览及功能展示页面](http://suitbim.gitee.io/bimrunengine_release)
[API文档](http://suitbim.gitee.io/bimrunengine_release/doc/public/Viewer.html)
详细代码及例子请查看index.html、/examples/ 及相关的接口文档
接受推送与交流请加钉钉群23372913