/opencascade.js-examples

example repository for opencascade.js

Primary LanguageJavaScript

OpenCascade.js Examples

This is a repository with examples for OpenCascade.js. Currently, it contains:

  • The Bottle Tutorial from the official OpenCascade Documentation
  • A loader for STEP / IGES files, which uses Emscripten FS object in JavaScript to simulate a file system

Live Preview

A live preview of this project lives here.

How to run this example locally

  1. Install the dependencies

    yarn # with yarn
    npm i # with npm
  2. Start the example

    yarn start # with yarn
    npm start # with npm

    A new browser window will open which runs the bottle example.