@itwin/reality-capture
v1.8.0
Published
This package contains a SDK for Reality Modeling, Reality Analysis, Reality Conversion and Reality Management iTwin APIs as well as Reality Management API utils. It provides classes, functions and examples to upload local data to Reality Management, run j
Readme
reality-capture
reality-capture is a typescript package that allows any user to interact with Bentley Reality Capture services including:
Building locally
Pre-reqs
To build and run the source code locally you will need a few things:
Build
To build the reality-capture locally, open a new terminal in the current location and run the following commands :
Install dependencies
pnpm installBuild the project
pnpm build
Build package
In case you need a package for your own project, run the following command :
Build the package
pnpm run pack
You will find the .tgz file in /lib folder Add this line in your project package.json:
"reality-capture" : "<path_to_tgz>/reality-capture-1.0.0.tgz",Unit tests
Run the following command for the unit tests :
- Build the unit tests
pnpm coverage
It will generate a report for each source file: covered lines, branches, statements and functions. Each file should be at least 90% covered.
