Skip to content

Environment Setting

suheeeee edited this page Jul 17, 2020 · 5 revisions

First of all, you need to set the environment for editing.
In order for you to use InEditor sufficiently, you must install InFactory that a restful server and library to create OGC IndoorGML. Additionally InViewer-Desktop for visualizing OGC IndoorGML data.

Prerequisites

  1. OS : Windows recommended. The exe file based on the Windows(val3dity) is used for simple geometry validation.
  2. Node.js : You need to install Node.js and set PATH

Installation

  1. Clone or Download InEditor repository.
    git clone https://github.com/STEMLab/InEditor.git
    
  2. Install NPM packages
    npm install
    
  3. Start server
    npm start
    
  4. Launch a web browser and open InEditor http://127.0.0.1:5757

Prerequisites

  1. Maven : over 3.5 version. You need to install Maven and set MAVEN_HOME & PATH.
  2. Java : JDK over 1.8 version. You need to install JDK and set JAVA_HOME & PATH.
    • JAVA 8 is not working at the upper version.
    • link
    • How to set JAVA_HOME : link

Installation

  1. Clone or Download InFactory repository.
  2. Build Project : Open command prompt on project folder and build project
    • If you install maven and set PATH,
      mvn clean install
      
    • If not,
      ./mvnw clean install
      
  3. Start API Server : Start server
    • If you installed maven and set PATH,
      mvn jetty:run "-Djetty.port=9797"
      
    • If not,
      ./mvnw jetty:run "-Djetty.port=9797"
      

A Unity3D based viewer for visualizing OGC IndoorGML data.
If you familiar with Unity3D and want to use more detail functionality, you can use Unity3D editor mode.
If not you can use viewer by executing the compiled binary file.

Using Unity3D editor mode

  1. Prerequisites
  2. Installation
    1. Clone or Download InViewer-Desktop repository.
    2. Run Unity3D -> Open this project
    3. (In unity3D) Open scene file (/Assets/Scenes/Main)
    4. Play "Menu -> Edit -> Play (Ctrl + P)"

Execute compiled binary

  1. Installation
    1. Clone or Download InViewer-Desktop repository.
    2. Goto [Source/Compiled] Folder
    3. Run "InviewerDesktopGUI.exe"

InViewer [NOT RECOMMENDED]

Web-based indoor GML viewer. It is useful for viewing simple data, but because it is an early version, it has errors and limited functionality. If you want to view the 3D view without creating an IndoorGML file in the middle of data generation, you may want to install this.

  1. Prerequisites
    • Node.js
  2. Installing
    1. Clone or Download InViewer repository.
    2. Install NPM packages
      npm install
      
    3. Start server
      npm start
      
    4. Launch a web browser and open InViewer http://127.0.0.1:3000