Hide menu
Packaging options

Table of Contents

The CAD Exchanger Web Toolkit depends on pako.js (v1.10.0) and three.js (r105) libraries, and therefore comes in two packages:

  • Bundled - a self-contained library, with external libraries injected.

    cadex.bundle.js (~940KB)

    <script src="/build/prod/assets/cadex.bundle.js"/>
  • Minified - requires external libraries to be loaded beforehand.

    cadex.min.js (~350KB)

    <script src="https://cdn.jsdelivr.net/npm/pako@1.10.0/dist/pako.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/three@0.105.0/build/three.min.js"></script>
    <script src="/build/prod/assets/cadex.min.js"></script>

Core library

The CAD Exchanger Web Toolkit also provides core library which includes only core classes required for CAD Exchanger data model and doesn't include visualization classes. You should use this library when your application use own visualization engine.

Bundled (110KB)

<script src="build/prod/assets/cadex.core.bundle.js"></script>

Minified (90KB)

<script src="https://cdn.jsdelivr.net/npm/pako@1.10.0/dist/pako.min.js"></script>
<script src="build/prod/assets/cadex.core.min.js"></script>

Three library

CAD Exchanger Web Toolkit provides API for integration with three.js as separate three library.

cadex.three.min.js (~8KB)

<script src="/build/prod/assets/cadex.core.bundle.js"></script>
<script src="/build/prod/assets/cadex.core.three.min.js"></script>

Note: three library comes in minified version only.

See also Integration with three.js library.