Hide menu
Loading...
Searching...
No Matches
Installation

MTK Web can be installed with npm.

Install

Open your project folder and download the package in your Customer Corner, or open your project folder in a terminal and run:

npm install <provided url from your Customer Corner>

The package will be downloaded and installed.

There are four options to include MTK Web to your project:

// Option 1: Import the entire library.
import * as mtk from '@mtk/web';
const model = new mtk.Model();
// Option 2: Import only needed module.
import * as modelData from '@mtk/web/model-data';
const model = new modelData.Model();
// Option 3: Import just the parts you need.
import { ModelData } from '@mtk/web';
const model = new Model();
// Option 4: Import just the parts you need from concrete module.
import { ModelData } from '@mtk/web/model-data';
const model = new Model();

Dependencies

The examples will use Manufacturing Toolkit in order to prepare original 3D files for MTK Web.