1.5.45 • Published 5 months ago

@polygonjs/plugin-ifc v1.5.45

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Polygonjs IFC Plugin

This adds a FileIFC SOP node to the Polygonjs webgl engine.

Install

Import the plugin:

yarn add @polygonjs/plugin-ifc

And register the plugin in the function configurePolygonjs in the file PolyConfig.js so that the occlusion node can be accessible in both the editor and your exported scene:

import {polyPluginIFC} from '@polygonjs/plugin-ifc';

export function configurePolygonjs(poly) {
	poly.registerPlugin(polyPluginIFC);
}

Test

  • run yarn test and open at http://localhost:5173/test