ViewAR IG
Export items from Intelligent Graphics catalog system to the ViewAR system.
HowTo
Use in code
Install package (either npm or yarn):
npm install --save viewar-intelligentgraphcis
yarn add viewar-intelligentgraphcis
Get catalog list and a scene state from an item in a catalog:
; // Create and initialize importer.const importer = ;await importer; // Get catalog list.const catalogList = importer; // Get items from catalog.const items = await importer; // Get scene state from item.const sceneState = await importer;
Build the package
Login to ig npm repository:
npm loginig_external <password>
Install dependencies:
npm install
Build or run watcher:
npm run build # Build for production. npm run watch # Start watcher.