CADライブラリ・対応ソース / Libraries & corresponding source

← CAD解析 / CAD analysis

CADファイルは外部サービスへ送信されません。下記の部品をこのサイトから読み込み、ブラウザー内で実行します。ライブラリは無保証で提供されています。

Files are processed locally in the browser. The following libraries are distributed from this site without warranty.

DXF parsing & constrained triangulation

dxf-parser 1.1.2, cdt2d 1.0.0, clean-pslg 1.1.2 and their dependencies. Full copyright and license notices. The JavaScript bundle is unminified. The box-intersection helper is a CSP-compatible implementation supplied with Motor Lab; no dynamic JavaScript evaluation is enabled.

Upstream: dxf-parser, cdt2d, clean-pslg.

STEP import

occt-import-js 0.0.23, distributed as separate JavaScript and WebAssembly files under the GNU Lesser General Public License, version 2.1. It incorporates Open CASCADE Technology 7.6.1, commit d2abb6d844231cb8f29be6894440874a4700e4a5, under LGPL 2.1 with the Open CASCADE exception.

Modification notice, 2026-10-03: GOTO ROBOTICS replaced two generated JavaScript binding factories with static closures to work under the site’s Content Security Policy. The WebAssembly binary is unchanged. The readable patch below contains the complete modification under LGPL 2.1.

Upstream: occt-import-js 0.0.23 release, Open CASCADE source.

Rebuilding / replacing the STEP library

Extract the occt-import-js source archive, then extract the matching Open CASCADE archive into its occt/ directory. Use the included build scripts with Emscripten 3.1.69 as documented in the upstream release. Apply the distributed modification with node apply-csp-patch.mjs ORIGINAL/occt-import-js.js OUTPUT/occt-import-js.js. Motor Lab dynamically loads cad-vendor/occt-import-js.js and cad-vendor/occt-import-js.wasm; these may be replaced with interface-compatible modified builds in a local copy of the site. Motor Lab places no additional restriction on modification or reverse engineering of the library for debugging such modifications. Its wrapper is cad-step-worker.js, supplied as readable JavaScript.

Source archives are downloads for license compliance; they are not downloaded during normal CAD import.