Repository navigation
Expand file tree
/
Copy pathNOTICE
More file actions
239 lines (205 loc) · 12.2 KB
/
Copy pathNOTICE
File metadata and controls
239 lines (205 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
Extrudo
Copyright (c) 2026 The Extrudo contributors
Extrudo is free software: you can redistribute it and modify it under the terms
of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version. See
LICENSE. Two parts are under other licenses so that other tools can use them:
packages/io MIT (packages/io/LICENSE)
docs/file-format.md MIT (the .extrudo file-format specification)
This file lists the third-party components that Extrudo contains or is built
from, with their licenses. All of them are compatible with distributing Extrudo
under the GPL-3.0-or-later. `node scripts/check-licenses.mjs` (part of
`pnpm lint`) fails when a production dependency has a license that is not on
the list below, so a new one is reviewed before it ships.
1. WebAssembly components (separate files, built from source we publish)
------------------------------------------------------------------------
The WASM files are separate artifacts that the app loads at run time. Their
sources, build recipes and the pinned toolchains are in this repository, and CI
publishes each build as a GitHub release (`occt-<hash>`, `planegcs-<hash>`) so
that anyone can rebuild or replace them. OpenSCAD's WASM is OpenSCAD's own
build, mirrored the same way (`openscad-<hash>`).
OpenCascade Technology (OCCT) 8.0.1 (commit b8f597c677811d1f9f4d8a97f5ae2825c0353a42)
The geometry kernel, in extrudo_occt_single.wasm.
License: GNU LGPL 2.1 with the Open CASCADE exception.
https://dev.opencascade.org/ and https://github.com/Open-Cascade-SAS/OCCT
Built with the libcascade toolchain (below) and Emscripten 6.0.5. The
toolchain's pinned inputs (including FreeType and RapidJSON, which OCCT can
use) are recorded in the build's provenance file.
Extrudo's C++ facade over OCCT (packages/kernel/occt/facade/)
Compiled into the same WASM file. License: LGPL-2.1-or-later
(packages/kernel/occt/facade/LICENSE).
libcascade / @libcascade/toolchain 3.0.2 (the build toolchain, taucad/opencascade.js)
https://github.com/taucad/opencascade.js
Toolchain: MIT. The OCCT it builds: see above.
Known issue in the toolchain version we use: taucad/opencascade.js#40:
calling delete() on a JavaScript handle often does not free the memory the
C++ object owns (NCollection_Array1, BRepAlgoAPI_Cut without Clear(),
BRepFilletAPI_MakeFillet). It is why our C++ facade owns every OCCT object and
JavaScript only holds integer handles. Fixed upstream in libcascade 3.1.0
(2026-10-13); we still build with 3.0.2. https://github.com/taucad/opencascade.js/issues/40
manifold-3d 3.5.4 (the mesh kernel mesh bodies live in), in manifold.wasm
https://github.com/elalish/manifold
License: Apache-2.0. A separate WASM file, loaded only by a design that
imports a mesh file (STL, 3MF, OBJ: ADR-0066 §3), from the npm package's
own build. It runs in the kernel worker and in Node.
QuickJS, in emscripten-module.wasm
The JavaScript engine a Script feature's code runs in, compiled to
WebAssembly by the quickjs-emscripten project (0.31.0): the
`@jitl/quickjs-wasmfile-release-sync` variant's own build, driven through
`quickjs-emscripten-core`. License: MIT.
https://bellard.org/quickjs/ and https://github.com/justjake/quickjs-emscripten
A separate WASM file, loaded by the kernel worker and by Node only for a
design that has a script (P5-02, ADR-0070 §2); the app loads it through the
same `'wasm-unsafe-eval'` allowance as the other two.
planegcs (the sketch constraint solver), in planegcs.wasm
FreeCAD's PlaneGCS, via https://github.com/Salusoft89/planegcs
License: LGPL-2.1-or-later. We build it ourselves with a small patch
(packages/sketch/planegcs/planegcs.patch, LGPL-2.1-or-later). The
JavaScript wrapper comes from the @salusoft89/planegcs npm package 1.2.0
(LGPL-2.0-or-later). The WASM contains code from Eigen (MPL-2.0,
https://eigen.tuxfamily.org/) and Boost (Boost Software License 1.0,
https://www.boost.org/), both used header-only at build time.
OpenSCAD 2026.10.05 (a nightly snapshot), in openscad.wasm and openscad.js
https://openscad.org/ and https://github.com/openscad/openscad
License: GPL-2.0-or-later. OpenSCAD's own WebAssembly build
(https://files.openscad.org/snapshots/OpenSCAD-2026.10.05-WebAssembly-web.zip,
sha256 a27c885251865aca407af68908ced454266f902cd2b59e1923e33a97c825ef3d),
mirrored as the release openscad-<hash> of this repository with one change:
its JavaScript glue reads the heap limit from a module option
(packages/openscad/openscad.mjs). Loaded only by a design that imports a
.scad file (ADR-0071), in a worker of its own. The WASM also contains, as
built by OpenSCAD's own WebAssembly toolchain:
CGAL (GPL-3.0-or-later and LGPL-3.0-or-later, https://www.cgal.org/)
Manifold (Apache-2.0, https://github.com/elalish/manifold)
GMP and MPFR (LGPL-3.0-or-later, https://gmplib.org/, https://www.mpfr.org/)
Boost (Boost Software License 1.0) and Eigen (MPL-2.0)
Clipper2 (Boost Software License 1.0, https://github.com/AngusJohnson/Clipper2)
lib3mf (BSD-2-Clause, https://github.com/3MFConsortium/lib3mf)
libzip (BSD-3-Clause) and zlib (Zlib)
FreeType (FreeType License), HarfBuzz (MIT), Fontconfig (MIT-style)
GLib (LGPL-2.1-or-later), libxml2 (MIT), cairo (LGPL-2.1 or MPL-1.1)
nlohmann/json (MIT), oneTBB (Apache-2.0), double-conversion (BSD-3-Clause)
CGAL's GPL-3.0-or-later parts make the combined WASM a GPL-3.0-or-later work,
which Extrudo's own license is.
How to get the sources of the LGPL parts
- OCCT: https://github.com/Open-Cascade-SAS/OCCT at the commit above, or the
build inputs in packages/kernel/occt/ (libcascade.config.ts, facade/) with
`pnpm occt build` (Docker, about 15 minutes), documented in
packages/kernel/occt/README.md.
- planegcs: packages/sketch/planegcs/ (build.sh pins the upstream commit,
planegcs.patch is our change) with `pnpm planegcs build`, documented in
packages/sketch/planegcs/README.md.
- OpenSCAD (GPL): the snapshot's URL and checksum above, and OpenSCAD's
sources at https://github.com/openscad/openscad (the snapshot is the
master branch of that date); `pnpm openscad build` downloads it again.
- The released builds: the GitHub releases named occt-<hash>,
planegcs-<hash> and openscad-<hash> of this repository. The hash in use is written to
dist/.inputs-hash next to the files.
You may replace either WASM file with your own build of the same inputs.
2. Bundled fonts
----------------
The UI's own font files (through the @fontsource packages, the license text
ships in each package):
Instrument Sans Copyright 2022 The Instrument Sans Project Authors
https://github.com/Instrument/instrument-sans
JetBrains Mono Copyright 2020 The JetBrains Mono Project Authors
https://github.com/JetBrains/JetBrainsMono
The fonts bundled for sketch text, in packages/fonts/fonts/ (each family's
OFL-<family>.txt names its authors; subsets of the files at
https://github.com/google/fonts, see packages/fonts/README.md):
Inter Copyright 2020 The Inter Project Authors
https://github.com/rsms/inter
Noto Serif Copyright 2022 The Noto Project Authors
https://github.com/notofonts/latin-greek-cyrillic
JetBrains Mono Copyright 2020 The JetBrains Mono Project Authors
https://github.com/JetBrains/JetBrainsMono
Allerta Stencil Copyright (c) 2010, Matt McInerney (matt@pixelspread.com),
with Reserved Font Name Allerta.
Fredoka Copyright 2016 The Fredoka Project Authors
https://github.com/hafontia/Fredoka-One
Arimo Copyright 2026 The Arimo Project Authors
https://github.com/googlefonts/arimo
Archivo Narrow Copyright 2019 The Archivo Narrow Project Authors
https://github.com/Omnibus-Type/ArchivoNarrow
Sofia Sans Copyright 2019 The Sofia Sans Project Authors
https://github.com/lettersoup/Sofia-Sans
All: SIL Open Font License 1.1 (https://openfontlicense.org).
3. JavaScript libraries in the app (production dependencies)
-----------------------------------------------------------
Versions are those in pnpm-lock.yaml when this file was written (version 0.3.0).
Regenerate the list with `pnpm licenses list --prod`.
MIT
react, react-dom, scheduler (Meta Platforms, Inc. and affiliates)
quickjs-emscripten-core, @jitl/quickjs-wasmfile-release-sync,
@jitl/quickjs-ffi-types (the QuickJS build a script runs in; section 1),
sucrase (strips TypeScript to JavaScript for a script, types only)
three (three.js authors), three-mesh-bvh, three-gpu-pathtracer
(its denoise shader is glslSmartDeNoise, Copyright (c) 2018-2019 Michele Morrone,
BSD-2-Clause, https://github.com/BrutPitt/glslSmartDeNoise)
@react-three/fiber, its-fine, react-use-measure, suspend-react (Poimandres)
zustand, use-sync-external-store
immer
zod
fflate
fzstd (Arjun Barrett)
radix-ui and the @radix-ui/* primitives it re-exports (WorkOS), with
@floating-ui/* (Floating UI contributors), aria-hidden,
react-remove-scroll and its helpers, get-nonce, detect-node-es,
use-callback-ref, use-sidecar
@babel/runtime, csstype, @types/react, @types/react-reconciler, @types/webxr,
buffer, base64-js
ISC
lucide-react (icons: Lucide Icons and Contributors; the app's own icons are
Extrudo's)
Apache-2.0
comlink (Google LLC)
manifold-3d (the Elalish/Lalish manifold authors; see section 1)
BSD-3-Clause
ieee754
0BSD
tslib
OFL-1.1
@fontsource/instrument-sans, @fontsource/jetbrains-mono (see section 2)
LGPL-2.0-or-later
@salusoft89/planegcs (the JavaScript wrapper, see section 1)
The full license text of each package is in its own folder under node_modules
and in the published package.
4. Desktop build (redistributed by the packaged app)
----------------------------------------------------
The Electron desktop app (P6-01, ADR-0075) bundles Electron and its build
tool. Both are **devDependencies** of `apps/desktop`, so
`scripts/check-licenses.mjs` (`pnpm licenses list --prod --json`) doesn't see
them and its allow-list is untouched; they are named here because the packaged
app redistributes Electron.
Electron 44 (MIT) and the Chromium/Node runtime it carries
https://github.com/electron/electron
Electron itself is MIT; its bundled Chromium and Node keep their own
licenses, in Electron's own LICENSE and LICENSES.chromium.html.
electron-vite 5 (MIT)
https://github.com/alex8088/electron-vite
@modelcontextprotocol/sdk 1 (MIT), bundled into the app's main process
https://github.com/modelcontextprotocol/typescript-sdk
The desktop MCP server (P6-08, ADR-0087). It and everything it depends
on (hono, @hono/node-server, ajv, zod and the rest, all MIT, ISC or
BSD) are checked against the allow-list by scripts/check-licenses.mjs
(its BUNDLED_DEV list), although they are devDependencies.
cadmpeg 0.6.8 (Apache-2.0)
https://github.com/cadmpeg/cadmpeg
Converts other CAD programs' native files to STEP for the desktop app's
import (P6-19, ADR-0115). Shipped as a separate executable at
resources/cadmpeg/ together with its LICENSE; not linked into Extrudo.
5. Not third-party
------------------
The tool icons, the tool demo clips and the template pictures are the
project's own work and are under the project's license. Extrudo borrows ideas
and workflow from other CAD programs and contains none of their code, icons,
text or artwork.
The Extrudo name and logo are trademarks and are not licensed under the GPL
(GPL-3.0 section 7(e); see TRADEMARKS.md). The logo artwork in these files is
not under the project's license either: you may redistribute it unchanged as
part of this repository and the official builds, and anything else needs
permission. A fork replaces them with its own.
docs/brand/ the logo files and brand references
apps/web/public/favicon.svg, icon-192.png, icon-512.png, og-image.png
apps/site/public/favicon.svg, og-image.png
apps/desktop/build/icon.png, icon-mac.png