EWDraw 3D ActiveX(EWDraw CAD component or EWDraw CAE component) Third-Party Open Source Components Declaration
EWDraw 3D ActiveX integrates the following third-party open source components. The copyright of these components belongs to their original authors/teams, and the control's use of each component strictly complies with the requirements of the corresponding open source license agreements.
List of Open Source Components
Component Name: FreeType
License URL: 3rdparty/licenses/FTL.txt
Component Name: FreeImage
License URL: 3rdparty/licenses/license-fi.txt
Component Name: Info-ZIP
License URL: 3rdparty/licenses/Info-ZIP.txt
Component Name: lib3ds
License URL: 3rdparty/licenses/lib3ds.txt
Component Name: Pthreads-win32
License URL: 3rdparty/licenses/LICENSE_LGPL_21.txt
note:Only EWDraw CAE component uses Pthreads-win32.
Component Name: Netgen
License URL: 3rdparty/licenses/LICENSE_LGPL_21.txt
note:Only EWDraw CAE component uses Netgen.
Component Name: Three.js
Download URL: https://threejs.org
License URL: 3rdparty/licenses/MIT_LICENSE.txt
Component Name: XULRunner
License URL: 3rdparty/licenses/MPL-2.0.txt
note:Only versions with the extended rendering module use XULRunner
Component Name: OpenCASCADE
Download URL: https://dev.opencascade.org/release
License URL: 3rdparty/licenses/LICENSE_LGPL_21.txt
License URL: 3rdparty/licenses/OCCT_LGPL_EXCEPTION.txt
DownLoad Open Source code
--------------------------------------------------------------------------------------------------------
EWDraw Web3D uses the following software libraries:
### 1. Open CASCADE
- **Download URL**: https://dev.opencascade.org/release
- **License**: LGPL 2.1, OCCT_LGPL_EXCEPTION
- **URL**: https://dev.opencascade.com/resources/licensing
- **Files**: js/LICENSE_LGPL_21.txt, js/OCCT_LGPL_EXCEPTION.txt
### 2. OCE
- **Download URL**: https://github.com/tpaviot/oce
- **License**: LGPL 2.1, OCCT_LGPL_EXCEPTION
- **URL**: https://github.com/tpaviot/oce
- **Files**: js/LICENSE_LGPL_21.txt, js/OCCT_LGPL_EXCEPTION.txt
### 3. Three.js
- **Download URL**: https://threejs.org
- **License**: MIT License
- **File**: js/MIT_LICENSE.txt
### 4. EWDrawWeb3D Wrapper Files
- **EWDrawWeb3D wrapper file is based on facilities provided by the Open CASCADE Technology software.
- **Download URL**: http://ewdraw.cn/ewdrawweb3d_warpper.zip
- **License**: LGPL 2.1, OCCT_LGPL_EXCEPTION
- **Files**: js/LICENSE_LGPL_21.txt, js/OCCT_LGPL_EXCEPTION.txt
#### 4.1 Using Wrapper Files
**4.1.1** Install Open CASCADE and OCE.
**4.1.2** Install Emscripten SDK.
**4.1.3** Compile Open CASCADE and OCE.
**4.1.4** Unzip the ewdrawweb3d warpper files and place them in OCE Path\test.
**4.1.5** Modify the paths in the ewdrawweb3d warpper configuration files (default path: d:\oce-master\test).
**4.1.6** Add EWDrawWeb3D settings to oce path\CMakeFiles\Makefile2 (or regenerate the configuration using CMake)
**4.1.7** Compile the ewdrawweb3d warpper files using Emscripten.
**4.1.8** By default, the module name in ewdrawweb3d.js is Module. Change it to EWD3D_Module with whole-word matching and case-sensitive matching.
**4.1.9** Rename ewdrawweb3d.js and ewdrawweb3d.wasm to ewdrawweb3d_v3003.js and ewdrawweb3d_v3003.wasm to complete the warpper file setup.
**4.2.0** If the version of OCCT being used changes, the interfaces for invoking OCCT may also differ.
**4.2.1** To compress the file size, the wasm file can be compressed into a zip file ewdrawweb3d_v3003.zip, but corresponding adjustments to the zip file need to be made in ewdrawweb3d_v3003.js.