Copyright © Bentley Systems, Incorporated. All rights reserved. See LICENSE.md for license terms and full copyright notice.
The @itwin/reality-capture-modeling package contains a sdk to send requests to the Reality Modeling API, part of the iTwin platform.
iTwin.js is an open source platform for creating, querying, modifying, and displaying Infrastructure Digital Twins. To learn more about the iTwin Platform and its APIs, visit the iTwin developer portal.
For more information about Reality Conversion package, see Reality Modeling APi documentation
A registered application in the iTwin Platform is needed for using the Reality Modeling Service. Documentation for registering an application can be found here. Make sure that your application has contextcapture:read contextcapture:modify
scopes enabled.
To use the Reality Modeling API you will need to have an access to a project. If you don't have one already, contact one of your Organization Administrators or take some time to go through the following tutorial: Create a Project.
To build and run the Reality Modeling service, you will need Node.js v18 (must be greater than 18.12.x).
Serves a client wrapper to the Reality Modeling API. It contains all the necessary methods to fulfill any workflow related to create, submit and monitor Reality Analysis jobs.
getScopes
: returns the required scopescreateWorkspace
: create a workspace (required to create a Modeling job)deleteWorkspace
: delete the given workspacegetWorkspace
: get the given workspacecreateJob
: create a job from the given settingssubmitJob
: submit the given jobcancelJob
: cancel the given jobdeleteJob
: delete the given jobgetJobProgress
: get the progress of the given jobgetJobProperties
: get the properties of the given job, such as the settings, the creation date etc...getJobEstimatedCost
: get the estimation cost
Enumerates the current existing job types.
Describes a workspace.
Estimated job cost.
Describes a job (id, name, settings, etc...)
Generated mesh quality. Use "Draft" for testing purpose.
Describe how a job will use and create cache.
Describes a job : its inputs, outputs, and other parameters.
An example is available to show how to create jobs and get its results. See Reality Modeling example