@novorender/measure-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

NovoRender

A measure API for NovoRender data models.

Latest NPM Version

NPM Module

Installation

Measure API is available as an NPM package. You can install Measure Api in your project's directory with npm:

$ npm install @novorender/measure-api

For bleeding edge builds:

$ npm install @novorender/measure-api@next

The package contains pre-bundled ES6 and UMD modules and typescript definition file that you can use for both local development and include in your web deployment.

Getting started

Import the api

import * as Measure from "@novorender/measure-api";

Create api object

const api = await Measure.createMeasureAPI();

Load the scene, this is the object with measure functions related to the scene. The scene url can be loaded from @novorender/data-api

const scene = api.loadScene(NovoRender.WellKnownSceneUrls.condos);

Readme

Keywords

none

Package Sidebar

Install

npm i @novorender/measure-api

Weekly Downloads

1

Version

0.1.12

License

ISC

Unpacked Size

1.91 MB

Total Files

10

Last publish

Collaborators

  • torhov
  • sigve
  • fighter125
  • olala
  • torelode