ocjs-fluidcad 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,453 @@
1
+ {
2
+ "schema": "wasm-build-provenance-v1.1",
3
+ "buildId": "20260611T094731-O3-noLTO-multi",
4
+ "timestamp": "2026-06-11T09:47:31.326847+00:00",
5
+ "toolchain": {
6
+ "emscripten": "5.0.1",
7
+ "llvm": "unknown",
8
+ "wasmOpt": "(version_125-181-g18ba06162)",
9
+ "python": "3.14.4"
10
+ },
11
+ "source": {
12
+ "occtCommit": "d3056ef80c9668f395da40f5fd7be186cae4501f",
13
+ "opencascadejsCommit": "unknown",
14
+ "filterPackagesHash": "8b3ad5b343d6",
15
+ "pinnedDeps": {
16
+ "occt": {
17
+ "commit": "d3056ef80c9668f395da40f5fd7be186cae4501f",
18
+ "version": "V8_0_0"
19
+ },
20
+ "rapidjson": {
21
+ "commit": "24b5e7a8b27f42fa16b96fc70aade9106cf7102f",
22
+ "version": "post-1.1.0 (master)"
23
+ },
24
+ "freetype": {
25
+ "commit": "de8b92dd7ec634e9e2b25ef534c54a3537555c11",
26
+ "version": "VER-2-13-0"
27
+ },
28
+ "emscripten": {
29
+ "docker_digest": "sha256:c89732ef63a56de5a96395c5a8c1c7904f7420131a045406e6fedc4cbe1cc198",
30
+ "emsdk_version": "5.0.1"
31
+ },
32
+ "llvm17": {
33
+ "version": "17.0.6"
34
+ }
35
+ }
36
+ },
37
+ "compilation": {
38
+ "cacheKey": "O3-noLTO-wasmExc-multi-8b3ad5b3-d3056e",
39
+ "cacheHit": false,
40
+ "optimization": "-O3",
41
+ "lto": false,
42
+ "exceptions": "wasm-native",
43
+ "threading": "multi-threaded",
44
+ "wasmOptLevel": "-O4",
45
+ "emccCompileFlags": [
46
+ "-O3",
47
+ "-fwasm-exceptions",
48
+ "-DOCCT_NO_DUMP",
49
+ "-UOCC_CONVERT_SIGNALS",
50
+ "-msimd128"
51
+ ],
52
+ "sourceFiles": 0,
53
+ "bindingFiles": 0,
54
+ "compileDuration_s": 0
55
+ },
56
+ "linking": {
57
+ "yamlConfig": "opencascade.fluidcad.multi-threaded.js",
58
+ "yamlConfigHash": "ad42a1aa70d5",
59
+ "boundSymbols": 311,
60
+ "symbolList": [
61
+ "Standard_Transient",
62
+ "NCollection_BaseList",
63
+ "NCollection_BaseMap",
64
+ "NCollection_BaseSequence",
65
+ "TopoDS_Builder",
66
+ "BRepBuilderAPI_Command",
67
+ "BRepBuilderAPI_MakeShape",
68
+ "BRepBuilderAPI_ModifyShape",
69
+ "BRepLib_Command",
70
+ "BRepLib_MakeShape",
71
+ "BRepPrimAPI_MakeOneAxis",
72
+ "BRepPrimAPI_MakeSweep",
73
+ "BRepAlgoAPI_Algo",
74
+ "BRepAlgoAPI_BuilderAlgo",
75
+ "BRepAlgoAPI_BooleanOperation",
76
+ "BOPAlgo_Options",
77
+ "BOPAlgo_Algo",
78
+ "BOPAlgo_BuilderShape",
79
+ "BOPAlgo_Builder",
80
+ "BOPAlgo_ToolsProvider",
81
+ "BOPAlgo_GlueEnum",
82
+ "BRepFilletAPI_LocalOperation",
83
+ "BRepOffsetAPI_MakeOffsetShape",
84
+ "BRepOffsetAPI_MakePipeShell",
85
+ "Adaptor2d_Curve2d",
86
+ "Adaptor3d_Curve",
87
+ "Adaptor3d_Surface",
88
+ "BRepClass_FClassifier",
89
+ "BRepClass3d_SClassifier",
90
+ "BRepMesh_DiscretRoot",
91
+ "BRepBuilderAPI_PipeError",
92
+ "GC_Root",
93
+ "gce_Root",
94
+ "Geom2d_Geometry",
95
+ "Geom_BezierCurve",
96
+ "Geom2d_Point",
97
+ "ShapeFix_Root",
98
+ "XSControl_Reader",
99
+ "CDM_Application",
100
+ "CDF_Application",
101
+ "TDF_Attribute",
102
+ "TDataStd_GenericEmpty",
103
+ "Geom_Geometry",
104
+ "Geom_Curve",
105
+ "Geom_Conic",
106
+ "Geom_BoundedCurve",
107
+ "Geom_Surface",
108
+ "Geom_ElementarySurface",
109
+ "Geom_Plane",
110
+ "TopAbs_ShapeEnum",
111
+ "IntTools_Range",
112
+ "IntTools_CommonPrt",
113
+ "BRepFill_TypeOfContact",
114
+ "BRepBuilderAPI_TransitionMode",
115
+ "TopAbs_Orientation",
116
+ "TopAbs_State",
117
+ "gp_Pnt",
118
+ "gp_Pnt2d",
119
+ "gp_Vec",
120
+ "gp_Dir",
121
+ "gp_Ax1",
122
+ "gp_Ax2",
123
+ "gp_Ax3",
124
+ "gp_Pln",
125
+ "gp_Trsf",
126
+ "gp_Quaternion",
127
+ "gp_Circ",
128
+ "gp_Elips",
129
+ "gp_Lin",
130
+ "gp_Circ2d",
131
+ "gp_Elips2d",
132
+ "gp_Lin2d",
133
+ "gp_Cylinder",
134
+ "gp_Cone",
135
+ "gp_Sphere",
136
+ "gp_Torus",
137
+ "TopoDS_Shape",
138
+ "TopoDS_Solid",
139
+ "TopoDS_Face",
140
+ "TopoDS_Edge",
141
+ "TopoDS_Wire",
142
+ "TopoDS_Vertex",
143
+ "TopoDS_Compound",
144
+ "TopoDS_Iterator",
145
+ "TopExp",
146
+ "TopExp_Explorer",
147
+ "TopLoc_Location",
148
+ "BRep_Builder",
149
+ "BRep_Tool",
150
+ "BRepLib",
151
+ "BRepTools",
152
+ "BRepTools_WireExplorer",
153
+ "BRepBuilderAPI_MakeEdge",
154
+ "BRepBuilderAPI_MakeWire",
155
+ "BRepBuilderAPI_MakeFace",
156
+ "BRepBuilderAPI_MakeVertex",
157
+ "BRepBuilderAPI_Transform",
158
+ "BRepBuilderAPI_FindPlane",
159
+ "BRepLib_MakeFace",
160
+ "BRepPrimAPI_MakeCylinder",
161
+ "BRepPrimAPI_MakePrism",
162
+ "BRepPrimAPI_MakeRevol",
163
+ "BRepPrimAPI_MakeSphere",
164
+ "BRepAlgoAPI_Cut",
165
+ "BRepAlgoAPI_Fuse",
166
+ "BRepAlgoAPI_Common",
167
+ "BRepAlgoAPI_Splitter",
168
+ "BRepAlgo_NormalProjection",
169
+ "BOPAlgo_Splitter",
170
+ "BOPAlgo_CellsBuilder",
171
+ "BRepOffsetAPI_MakePipe",
172
+ "BRepFilletAPI_MakeFillet",
173
+ "BRepFilletAPI_MakeChamfer",
174
+ "BRepOffsetAPI_MakeOffset",
175
+ "BRepOffsetAPI_DraftAngle",
176
+ "BRepOffsetAPI_MakeThickSolid",
177
+ "BRepOffsetAPI_ThruSections",
178
+ "BRepAdaptor_Curve",
179
+ "BRepAdaptor_Surface",
180
+ "BRepAdaptor_CompCurve",
181
+ "BRepClass_FaceClassifier",
182
+ "BRepClass3d_SolidClassifier",
183
+ "BRepCheck_Analyzer",
184
+ "BRepExtrema_DistShapeShape",
185
+ "BRepGProp",
186
+ "BRepBndLib",
187
+ "BRepMesh_IncrementalMesh",
188
+ "GC_MakeSegment",
189
+ "GC_MakeArcOfCircle",
190
+ "GC_MakeArcOfEllipse",
191
+ "GC_MakeArcOfHyperbola",
192
+ "GC_MakeArcOfParabola",
193
+ "GC_MakeCircle",
194
+ "GC_MakeHyperbola",
195
+ "GC_MakeEllipse",
196
+ "gce_MakeCylinder",
197
+ "GeomAPI",
198
+ "GeomLProp_SLProps",
199
+ "Geom2dAdaptor_Curve",
200
+ "Geom2dGcc_QualifiedCurve",
201
+ "Geom2d_CartesianPoint",
202
+ "Geom2d_Conic",
203
+ "Geom2d_Circle",
204
+ "GccEnt_QualifiedCirc",
205
+ "GccEnt_QualifiedLin",
206
+ "GccEnt",
207
+ "Geom2dGcc_QCurve",
208
+ "GccAna_Lin2d2Tan",
209
+ "GccAna_Lin2dTanObl",
210
+ "GccAna_Lin2dTanPar",
211
+ "GccAna_Lin2dTanPer",
212
+ "GccAna_Circ2d2TanOn",
213
+ "GccAna_Circ2d2TanRad",
214
+ "GccAna_Circ2d3Tan",
215
+ "GccAna_Circ2dTanCen",
216
+ "GccAna_Circ2dTanOnRad",
217
+ "Geom2dGcc_Lin2d2Tan",
218
+ "Geom2dGcc_Lin2d2TanIter",
219
+ "Geom2dGcc_Lin2dTanObl",
220
+ "Geom2dGcc_Lin2dTanOblIter",
221
+ "Geom2dGcc_Circ2d2TanOn",
222
+ "Geom2dGcc_Circ2d2TanOnGeo",
223
+ "Geom2dGcc_Circ2d2TanOnIter",
224
+ "Geom2dGcc_Circ2d2TanRad",
225
+ "Geom2dGcc_Circ2d2TanRadGeo",
226
+ "Geom2dGcc_Circ2d3Tan",
227
+ "Geom2dGcc_Circ2d3TanIter",
228
+ "Geom2dGcc_Circ2dTanCen",
229
+ "Geom2dGcc_Circ2dTanCenGeo",
230
+ "Geom2dGcc_Circ2dTanOnRad",
231
+ "Geom2dGcc_Circ2dTanOnRadGeo",
232
+ "Geom_Circle",
233
+ "Geom_TrimmedCurve",
234
+ "Poly_Polygon2D",
235
+ "GeomAbs_Shape",
236
+ "ShapeAnalysis_FreeBounds",
237
+ "ShapeExtend_WireData",
238
+ "ShapeFix_Shape",
239
+ "ShapeFix_Wire",
240
+ "ShapeFix_Face",
241
+ "ShapeUpgrade_UnifySameDomain",
242
+ "STEPControl_Reader",
243
+ "STEPControl_Writer",
244
+ "STEPCAFControl_Reader",
245
+ "STEPCAFControl_Writer",
246
+ "StlAPI_Writer",
247
+ "TDocStd_Application",
248
+ "XCAFDoc_DocumentTool",
249
+ "XCAFDoc_ShapeTool",
250
+ "Quantity_Color",
251
+ "TCollection_ExtendedString",
252
+ "TDF_Label",
253
+ "Poly_Triangulation",
254
+ "Poly_Connect",
255
+ "BRepLib_ToolTriangulatedShape",
256
+ "Bnd_Box",
257
+ "GProp_GProps",
258
+ "Message_ProgressRange",
259
+ "Precision",
260
+ "ChFi2d_FilletAPI",
261
+ "IntCurvesFace_ShapeIntersector",
262
+ "IntTools_EdgeEdge",
263
+ "IntTools_EdgeFace",
264
+ "Standard_Failure",
265
+ "Adaptor3d_CurveOnSurface",
266
+ "Bnd_Box2d",
267
+ "Bnd_OBB",
268
+ "BRepClass3d_SolidExplorer",
269
+ "BRepClass_Edge",
270
+ "BRepPrim_Cylinder",
271
+ "BRepPrim_Sphere",
272
+ "BRepSweep_Prism",
273
+ "BRepSweep_Revol",
274
+ "GeomAdaptor_Curve",
275
+ "GeomAdaptor_Surface",
276
+ "GeomAdaptor_TransformedCurve",
277
+ "GeomAdaptor_TransformedSurface",
278
+ "gp_Ax22d",
279
+ "gp_Ax2d",
280
+ "gp_Dir2d",
281
+ "gp_Hypr",
282
+ "gp_Hypr2d",
283
+ "gp_Mat",
284
+ "gp_Parab",
285
+ "gp_Parab2d",
286
+ "GProp_PrincipalProps",
287
+ "gp_Trsf2d",
288
+ "gp_Vec2d",
289
+ "gp_XY",
290
+ "gp_XYZ",
291
+ "IMeshTools_Parameters",
292
+ "Message_Msg",
293
+ "Poly_ArrayOfNodes",
294
+ "Poly_ArrayOfUVNodes",
295
+ "Poly_Triangle",
296
+ "ShapeAnalysis_WireOrder",
297
+ "Standard_GUID",
298
+ "STEPConstruct_Tool",
299
+ "TDF_IDFilter",
300
+ "TDocStd_Document",
301
+ "TopoDS_CompSolid",
302
+ "TopoDS_Shell",
303
+ "GeomAbs_JoinType",
304
+ "Quantity_TypeOfColor",
305
+ "STEPControl_StepModelType",
306
+ "IFSelect_ReturnStatus",
307
+ "XCAFDoc_ColorType",
308
+ "ChFi3d_FilletShape",
309
+ "GeomAbs_SurfaceType",
310
+ "GeomAbs_CurveType",
311
+ "Extrema_ExtFlag",
312
+ "GccEnt_Position",
313
+ "Extrema_ExtAlgo",
314
+ "BRepOffset_Mode",
315
+ "CDM_Document",
316
+ "XCAFDoc_ClippingPlaneTool",
317
+ "XCAFDoc_ColorTool",
318
+ "XCAFDoc_DimTolTool",
319
+ "XCAFDoc_GraphNode",
320
+ "XCAFDoc_LayerTool",
321
+ "XCAFDoc_MaterialTool",
322
+ "XCAFDoc_NotesTool",
323
+ "XCAFDoc_ViewTool",
324
+ "XCAFDoc_VisMaterialTool",
325
+ "XSControl_WorkSession",
326
+ "Law_Function",
327
+ "Poly_PolygonOnTriangulation",
328
+ "Poly_Polygon3D",
329
+ "BRepTools_History",
330
+ "Geom2d_Curve",
331
+ "Geom_CylindricalSurface",
332
+ "Geom_ConicalSurface",
333
+ "Geom2d_Line",
334
+ "IntTools_Context",
335
+ "BRepAlgoAPI_Section",
336
+ "IntTools_FaceFace",
337
+ "OSD_ThreadPool",
338
+ "OSD_ThreadPool_Launcher",
339
+ "math_VectorBase_double",
340
+ "math_Matrix",
341
+ "math_Gauss",
342
+ "ProjLib",
343
+ "ProjLib_Projector",
344
+ "ProjLib_Plane",
345
+ "ProjLib_Cylinder",
346
+ "ProjLib_Cone",
347
+ "ProjLib_Sphere",
348
+ "ProjLib_Torus",
349
+ "ProjLib_ProjectOnPlane",
350
+ "ProjLib_ProjectOnSurface",
351
+ "ProjLib_ProjectedCurve",
352
+ "AppParCurves_Constraint",
353
+ "Geom2d_BoundedCurve",
354
+ "Geom2d_BSplineCurve",
355
+ "Geom2d_BezierCurve",
356
+ "Geom_BSplineCurve",
357
+ "HelixGeom_BuilderApproxCurve",
358
+ "HelixGeom_BuilderHelixGen",
359
+ "HelixGeom_BuilderHelix",
360
+ "HelixGeom_BuilderHelixCoil",
361
+ "HelixGeom_HelixCurve",
362
+ "HelixGeom_Tools",
363
+ "HelixBRep_BuilderHelix",
364
+ "GCPnts_AbscissaPoint",
365
+ "Geom2dAPI_PointsToBSpline",
366
+ "Geom2dAPI_Interpolate",
367
+ "Geom_BoundedSurface",
368
+ "Geom_BSplineSurface",
369
+ "GeomConvert",
370
+ "BRepBuilderAPI_Sewing",
371
+ "Geom_RectangularTrimmedSurface"
372
+ ],
373
+ "emccFlags": [
374
+ "-sMALLOC=mimalloc",
375
+ "-fwasm-exceptions",
376
+ "-sEXPORT_EXCEPTION_HANDLING_HELPERS",
377
+ "-sEXPORT_ES6=1",
378
+ "-sMODULARIZE",
379
+ "-sALLOW_MEMORY_GROWTH=1",
380
+ "-sEXPORTED_RUNTIME_METHODS=[\"FS\",\"PThread\"]",
381
+ "-sINITIAL_MEMORY=128MB",
382
+ "-sMAXIMUM_MEMORY=4GB",
383
+ "-sUSE_FREETYPE=1",
384
+ "-sERROR_ON_UNDEFINED_SYMBOLS=0",
385
+ "--no-entry",
386
+ "-Wl,--allow-undefined",
387
+ "--emit-symbol-map",
388
+ "-sSTACK_SIZE=8388608",
389
+ "-sWASM_BIGINT",
390
+ "-msimd128",
391
+ "-O3",
392
+ "-pthread",
393
+ "-sUSE_PTHREADS=1",
394
+ "-sPTHREAD_POOL_SIZE=navigator.hardwareConcurrency",
395
+ "-sSHARED_MEMORY=1",
396
+ "-sENVIRONMENT=web,worker,node"
397
+ ],
398
+ "linkDuration_s": 54.5
399
+ },
400
+ "postProcessing": {
401
+ "wasmOptFlags": [
402
+ "-O4",
403
+ "--strip-debug",
404
+ "--strip-producers",
405
+ "--enable-mutable-globals",
406
+ "--enable-bulk-memory",
407
+ "--enable-sign-ext",
408
+ "--enable-nontrapping-float-to-int",
409
+ "--traps-never-happen",
410
+ "--converge",
411
+ "--enable-exception-handling",
412
+ "--enable-simd",
413
+ "--enable-threads"
414
+ ],
415
+ "preOptSize": 22831348,
416
+ "postOptSize": 22815153,
417
+ "optReduction": "0.1%",
418
+ "wasmOptDuration_s": 102.6
419
+ },
420
+ "output": {
421
+ "opencascade.fluidcad.multi-threaded.wasm": {
422
+ "size": 22815153,
423
+ "sha256": "765e264d738e4d75"
424
+ },
425
+ "index.js": {
426
+ "size": 1552
427
+ },
428
+ "aliases.generated.js": {
429
+ "size": 5665
430
+ },
431
+ "opencascade.fluidcad.multi-threaded.js": {
432
+ "size": 68072
433
+ },
434
+ "index.d.ts": {
435
+ "size": 1152,
436
+ "lines": 21
437
+ },
438
+ "opencascade.fluidcad.multi-threaded.d.ts": {
439
+ "size": 2060578,
440
+ "lines": 44016
441
+ }
442
+ },
443
+ "sections": {},
444
+ "filtering": {
445
+ "excludedPackages": []
446
+ },
447
+ "nCollectionManifest": {
448
+ "linked": 109,
449
+ "total": 883,
450
+ "dropped": 774
451
+ },
452
+ "totalDuration_s": 1329
453
+ }
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "ocjs-fluidcad",
3
+ "version": "1.0.0",
4
+ "description": "Custom build of OC.js for FluidCAD",
5
+ "keywords": [
6
+ "opencascade",
7
+ "occt",
8
+ "cad",
9
+ "wasm",
10
+ "webassembly",
11
+ "brep",
12
+ "step",
13
+ "iges",
14
+ "geometry",
15
+ "3d"
16
+ ],
17
+ "homepage": "https://github.com/Fluid-CAD/FluidCAD",
18
+ "license": "LGPL-2.1-only WITH Open-CASCADE-Exception-1.0",
19
+ "author": "Marwan Aouida",
20
+ "contributors": [
21
+ "Sebastian Alff <donalffons@gmail.com>"
22
+ ],
23
+ "type": "module",
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.js"
28
+ },
29
+ "./wasm": "./dist/opencascade.fluidcad.multi-threaded.wasm"
30
+ },
31
+ "files": [
32
+ "dist/index.js",
33
+ "dist/index.d.ts",
34
+ "dist/opencascade.fluidcad.multi-threaded.js",
35
+ "dist/opencascade.fluidcad.multi-threaded.wasm",
36
+ "dist/opencascade.fluidcad.multi-threaded.d.ts",
37
+ "dist/opencascade.fluidcad.multi-threaded.js.symbols",
38
+ "dist/opencascade.fluidcad.multi-threaded.build-manifest.json",
39
+ "dist/opencascade.fluidcad.multi-threaded.provenance.json"
40
+ ],
41
+ "engines": {
42
+ "node": ">=22"
43
+ },
44
+ "publishConfig": {
45
+ "access": "public"
46
+ },
47
+ "scripts": {
48
+ "test": "vitest run tests/smoke/",
49
+ "test:smoke": "vitest run tests/smoke/",
50
+ "test:regression": "vitest run tests/regression/",
51
+ "test:docker": "vitest run --config vitest.docker.config.ts",
52
+ "typecheck": "tsc --project tests/tsconfig.json",
53
+ "lint": "eslint --config eslint.config.mjs tests",
54
+ "lint:fix": "eslint --config eslint.config.mjs --fix tests"
55
+ },
56
+ "devDependencies": {
57
+ "@gltf-transform/core": "^4.3.0",
58
+ "@gltf-transform/functions": "^4.3.0",
59
+ "@types/node": "~24.0.15",
60
+ "eslint": "^9.32.0",
61
+ "nx": "22.5.2",
62
+ "typedoc": "^0.28.19",
63
+ "typescript-eslint": "^8.56.1"
64
+ }
65
+ }