用于3D多块可视化的开源JavaScript库html
生成3D GIS平台,集成和可视化AEC(建筑,工程,建筑)区域和传统的3D空间信息(3D GIS)。将AEC和3D GIS集成到Web浏览器中,室内,室外,没法区分。您能够浏览和协做进行大规模BIM(建筑信息模型),JT(Jupiter Tessellation)和3D GIS文件,而无需在Web浏览器上安装任何程序。java
Project Import File -> import -> General -> Projects from Folder or Archive
。C:\git\repository\mago3djs> npm install
C:\git\repository\mago3djs> npm install -g gulp
C:\f4d\projectname (Create a directory for each project under the data folder, the root folder)
C:\F4DConverter>F4DConverter.exe #inputFolder C:\demo_f4d #outputFolder C:\f4d\projectname #log C:\demo_f4d/logTest.txt #indexing y
C:\mago3djs
C:\mago3djs>mklink /d "C:\git\repository\mago3djs\f4d" "C:\f4d" (delete is rmdir data)
添加两个配置文件。(data.json,policy.json)node
{ //attributes area "attributes" : { "isPhysical" : false, "nodeType": "root", "projectType": "project Type" }, //Child node area "children" : [ ], //Location information area "data_key" : "Project name", "data_name" : "Project name" }
C:\f4d\projectname
找到要渲染的目录//Child node area "children" : [ { "attributes" : { "isPhysical" : true, "nodeType" : "..." }, "children" : [ ], "data_key" : "Unique identifier", "data_name" : "Data name", "latitude" : Enter latitude, "longitude" : Enter longitude, "height" : Enter height, "heading" : Enter heading, "pitch" : Enter pitch, "roll" : Enter roll } ]
,
若是要加载多个项目,请在初始化页面时输入要加载的键值"geo_data_default_projects": [ "data.json" ]
"geo_init_latitude": "Enter latitude", "geo_init_longitude": "Enter longitude"
"geo_cesium_ion_token": "cesium ion token"
// If you run the server privately C:\git\repository\mago3djs>node server.js // If you run the server as public C:\git\repository\mago3djs>node server.js --public true
// Cesium http:localhost/sample/cesium.html // WorlWind http:localhost/sample/worldwind.html