3차원 다중 블록 가시화를 위한 오픈소스 자바스크립트 라이브러리
AEC(Architecture, Engineering, Construction) 영역과 전통적인 3차원 공간정보(3D GIS)를 통합적으로 관리 및 가시화하는 차세대 3차원 GIS 플랫폼입니다. 실내,실 외 구별없이 AEC와 3D GIS를 웹 브라우저에서 통합해 줍니다. 대용량 BIM(Building Information Modelling), JT(Jupiter Tessellation), 3D GIS 파일 등을 별도의 프로그램 설치 없이 웹 브라우저 상에서 바로 살펴보고 협업작업을 진행할 수 있습니다.
git을 사용하여 git clone (https://github.com/Gaia3D/mago3djs.git) 으로 소스를 C:\git\repository\mago3djs 에 설치
eclipse를 실행 후 Project Import File -> import -> General -> Projects from Folder or Archive로 mago3djs를 import
C:\git\repository\mago3djs> npm installC:\git\repository\mago3djs> npm install -g gulpC:\f4d\프로젝트명 (root folder인 f4d 폴더 아래 프로젝트 별로 디렉토리를 생성)
- 변환할 데이터를 C:\demo_f4d(inputFolder)에 저장
- 관리자 권한으로 Command Line Prompt(cmd.exe)를 실행한 다음 F4D Converter가 설치된 디렉토리로 이동
- 다음을 실행
※ F4D Conveter argument 관련 설명은 F4D Conveter참조
C:\F4DConverter>F4DConverter.exe #inputFolder C:\demo_f4d #outputFolder C:\f4d\프로젝트명 #log C:\demo_f4d/logTest.txt #indexing y
- 변환 완료된 F4D 파일들을 mago3D JS 프로젝트에서 웹 서비스로 사용할 수 있도록 Symbolic Link 생성
- 관리자 권한으로 Command Line Prompt(cmd.exe)를 실행하고 mago3D JS 프로젝트로 이동
C:\git\repository\mago3djs
C:\git\repository\mago3djs>mklink /d "C:\git\repository\mago3djs\f4d" "C:\f4d"
(삭제의 경우 rmdir data)
두 가지의 설정파일을 수정한다. (data.json, policy.json)
{
//attributes영역
"attributes" : {
"isPhysical" : false,
"nodeType": "root",
"projectType": "프로젝트 타입"
},
//자식 노드 영역
"children" : [
],
//위치 정보 영역
"data_key" : "프로젝트명",
"data_name" : "프로젝트명"
}
C:\f4d\프로젝트명 에서 Rendering 할 디렉토리를 찾음//자식 노드 영역
"children" : [
{
"attributes" : {
"isPhysical" : true,
"nodeType" : "..."
},
"children" : [
],
"data_key" : "고유 식별자",
"data_name" : "데이터 이름",
"latitude" : 위도 입력,
"longitude" : 경도 입력,
"height" : 높이 입력,
"heading" : heading 입력,
"pitch" : pitch 입력,
"roll" : roll 입력
}
]
페이지 초기화시 로딩할 프로젝트 설정 key값 입력, 복수개의 프로젝트 로딩을 원하는 경우 , 로 추가
"geo_data_default_projects": [
"data.json"
]
웹 페이지 시작시 이동할 위치(lattiude, longitude)를 수정
"geo_init_latitude": "위도 입력",
"geo_init_longitude": "경도 입력"
Cesium ion Terrain access token 설정
"geo_cesium_ion_token": "cesium ion token"
// private로 서버를 실행할경우
C:\git\repository\mago3djs>node server.js
// public로 서버를 실행할경우
C:\git\repository\mago3djs>node server.js --public true
// Cesium
http:localhost/sample/cesium.html
// WorlWind
http:localhost/sample/worldwind.html
Open source JavaScript library for 3D multi-block visualization
Generation 3D GIS platform that integrates and visualizes AEC (Architecture, Engineering, Construction) areas and traditional 3D spatial information (3D GIS). Integrate AEC and 3D GIS in a web browser, indoors, outdoors, indistinguishable. You can browse and collaborate on large-scale BIM (Building Information Modeling), JT (Jupiter Tessellation), and 3D GIS files without installing any programs on the web browser.
Use git to install the source to C:\git\repository\mago3djs with git clone https://github.com/Gaia3D/mago3djs.git.
Run eclipse and import mago3djs into Project Import File -> import -> General -> Projects from Folder or Archive.
C:\git\repository\mago3djs> npm installC:\git\repository\mago3djs> npm install -g gulpC:\f4d\projectname (Create a directory for each project under the data folder, the root folder)
- Save the data to be converted to C:\demo_data(inputFolder)
- Run Command Line Prompt (cmd.exe) as an administrator and move to the directory where F4D Converter is installed
- Run
※ For a description of F4D Conveter argumentF4D Conveter
C:\F4DConverter>F4DConverter.exe #inputFolder C:\demo_f4d #outputFolder C:\f4d\projectname #log C:\demo_f4d/logTest.txt #indexing y
- Create Symbolic Link to use transformed F4D files as web service in mago3D JS project
- Run Command Line Prompt (cmd.exe) with administrative privileges and go to mago3D JS project
C:\mago3djs
C:\mago3djs>mklink /d "C:\git\repository\mago3djs\f4d" "C:\f4d"
(delete is rmdir data)
Add two configuration files. (data.json, policy.json)
{
//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\projectnameto find the directory to render//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
}
]
Enter key value to load when initializing page, , if you want to load multiple projects
"geo_data_default_projects": [
"data.json"
]
Fix location (lattiude, longitude) to move when web page starts
"geo_init_latitude": "Enter latitude",
"geo_init_longitude": "Enter longitude"
Cesium ion Terrain access token setting
"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
3次元マルチブロック可視化のためのオープンソースのJavaScriptライブラリ
AEC(Architecture、Engineering、Construction)領域と、伝統的な3次元空間情報(3D GIS)を統合的に管理し、可視化する次世代3次元GISプラットフォームです。室内、糸外の区別なくAECと3D GISをWebブラウザに統合されています。大容量BIM(Building Information Modelling)、JT(Jupiter Tessellation)、3D GISファイルなどを、別のプログラムをインストールすることなく、Webブラウザ上で操作してコラボレーションを行うことができます。
$ claude mcp add mago3djs \
-- python -m otcore.mcp_server <graph>