Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web-ifc

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-ifc

ifc loading on the web

  • 0.0.5
  • npm
  • Socket score

Version published
Weekly downloads
18K
increased by30.01%
Maintainers
1
Weekly downloads
 
Created
Source

web-ifc

Web ifc is a WASM-based ifc parser & geometry generator. This repository contains the c++/typescript source code.

https://www.npmjs.com/package/web-ifc

Installing the library as an npm dependency

npm install web-ifc

Installing the library as a C++ dependency

The library is header only, the files in web-ifc-cpp can be trivially included in any project. The library depends on GLM and earcut, which it expects in a folder ./deps in the root of the project (pending change).

Using the library

See examples for different ways to use web-ifc.

Compiling the library

C++ executable

Compiling the library to a standalone executable requires use of CMAKE. For visual studio code, the easiest way is by installing cmake-tools.

WASM library

The WASM library is built through emscripten, please see the emscripten installation guide for information on how to set up emscripten. Afterwards the library can be built by using: .\wasm_setup_env.bat and .\wasm_compile.ps1.

FAQs

Package last updated on 20 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc