https://github.com/polygonjs/plugin-ifc
https://github.com/polygonjs/plugin-ifc
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/polygonjs/plugin-ifc
- Owner: polygonjs
- License: mit
- Created: 2023-11-30T18:59:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-01T16:52:56.000Z (over 2 years ago)
- Last Synced: 2025-04-01T19:49:01.534Z (about 1 year ago)
- Language: TypeScript
- Size: 108 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# Polygonjs IFC Plugin
This adds a FileIFC SOP node to the [Polygonjs webgl engine](https://polygonjs.com).
# 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:
```js
import {polyPluginIFC} from '@polygonjs/plugin-ifc';
export function configurePolygonjs(poly) {
poly.registerPlugin(polyPluginIFC);
}
```
# Test
- run `yarn test` and open at `http://localhost:5173/test`