brepjs 18.6.0 → 18.14.3

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.
Files changed (656) hide show
  1. package/README.md +6 -0
  2. package/dist/{sketching/sketcher2d.d.ts → 2d/blueprints/baseSketcher2d.d.ts} +4 -91
  3. package/dist/2d/blueprints/blueprint.d.ts +0 -1
  4. package/dist/2d/blueprints/blueprintApproximations.d.ts +0 -1
  5. package/dist/2d/blueprints/blueprintCustomCorners.d.ts +0 -1
  6. package/dist/2d/blueprints/blueprintFns.d.ts +0 -1
  7. package/dist/2d/blueprints/blueprintOffset.d.ts +0 -1
  8. package/dist/2d/blueprints/blueprintSketcher.d.ts +29 -0
  9. package/dist/2d/blueprints/blueprints.d.ts +0 -1
  10. package/dist/2d/blueprints/boolean2D.d.ts +0 -1
  11. package/dist/2d/blueprints/booleanHelpers.d.ts +0 -1
  12. package/dist/2d/blueprints/booleanOperations.d.ts +0 -1
  13. package/dist/2d/blueprints/cannedBlueprints.d.ts +0 -1
  14. package/dist/2d/blueprints/compoundBlueprint.d.ts +0 -1
  15. package/dist/{sketching → 2d/blueprints}/ellipseUtils.d.ts +19 -2
  16. package/dist/{sketching/sketcherlib.d.ts → 2d/blueprints/genericSketcher.d.ts} +1 -20
  17. package/dist/2d/blueprints/index.d.ts +0 -1
  18. package/dist/2d/blueprints/intersectionSegments.d.ts +0 -1
  19. package/dist/2d/blueprints/lib.d.ts +0 -1
  20. package/dist/2d/blueprints/segmentAssembly.d.ts +0 -1
  21. package/dist/2d/blueprints/svg.d.ts +0 -1
  22. package/dist/2d/curve2dGeometryFns.d.ts +0 -1
  23. package/dist/2d/curves.d.ts +0 -1
  24. package/dist/2d/lib/approximations.d.ts +0 -1
  25. package/dist/2d/lib/boundingBox2d.d.ts +0 -1
  26. package/dist/2d/lib/curve2D.d.ts +0 -1
  27. package/dist/2d/lib/curve2dFns.d.ts +0 -1
  28. package/dist/2d/lib/customCorners.d.ts +0 -1
  29. package/dist/2d/lib/definitions.d.ts +0 -1
  30. package/dist/2d/lib/index.d.ts +0 -1
  31. package/dist/2d/lib/intersections.d.ts +0 -1
  32. package/dist/2d/lib/makeCurves.d.ts +0 -1
  33. package/dist/2d/lib/offset.d.ts +0 -1
  34. package/dist/2d/lib/precision.d.ts +0 -1
  35. package/dist/2d/lib/stitching.d.ts +0 -1
  36. package/dist/2d/lib/svgPath.d.ts +0 -1
  37. package/dist/2d/lib/utils.d.ts +0 -1
  38. package/dist/2d/lib/vectorOperations.d.ts +0 -1
  39. package/dist/2d.cjs +20 -19
  40. package/dist/2d.d.ts +0 -1
  41. package/dist/2d.js +7 -6
  42. package/dist/{blueprint-CscZ0-wr.cjs → blueprint-B8ogGJiQ.cjs} +16 -15
  43. package/dist/{blueprint-BCoJbaQN.js → blueprint-Dv45Evnu.js} +16 -15
  44. package/dist/{blueprintFns-DQP4KQHE.cjs → blueprintFns-BK3FYYjO.cjs} +4 -4
  45. package/dist/{blueprintFns-BZlx6BjG.js → blueprintFns-a9C2g8_E.js} +3 -3
  46. package/dist/{boolean2D-k1AJmCMp.cjs → blueprintSketcher-Bei866Bt.cjs} +65 -1383
  47. package/dist/{boolean2D-JvgjbESt.js → blueprintSketcher-xDsl9GXO.js} +70 -1316
  48. package/dist/boolean2D-DGuiEJHA.cjs +902 -0
  49. package/dist/boolean2D-Z7P0c012.js +855 -0
  50. package/dist/{booleanFns-D13Pb-NO.js → booleanFns-CRa80qMX.js} +9 -9
  51. package/dist/{booleanFns-DQW4lt7H.cjs → booleanFns-qmgMQyDl.cjs} +12 -12
  52. package/dist/brepjs.cjs +772 -112
  53. package/dist/brepjs.js +692 -42
  54. package/dist/cameraFns-1y1NyACI.cjs +315 -0
  55. package/dist/cameraFns-CUzI5RKS.js +274 -0
  56. package/dist/core/constants.d.ts +0 -1
  57. package/dist/core/curve2dHandle.d.ts +0 -1
  58. package/dist/core/dimensionTypes.d.ts +0 -1
  59. package/dist/core/disposal.d.ts +0 -1
  60. package/dist/core/errors.d.ts +0 -1
  61. package/dist/core/kernelBoundary.d.ts +0 -1
  62. package/dist/core/kernelCall.d.ts +0 -1
  63. package/dist/core/kernelErrorTranslation.d.ts +0 -1
  64. package/dist/core/planeOps.d.ts +0 -1
  65. package/dist/core/planeTypes.d.ts +0 -1
  66. package/dist/core/result.d.ts +0 -1
  67. package/dist/core/shapeTypeCache.d.ts +0 -1
  68. package/dist/core/shapeTypes.d.ts +0 -1
  69. package/dist/core/typeDiscriminants.d.ts +0 -1
  70. package/dist/core/types.d.ts +0 -1
  71. package/dist/core/validityTypes.d.ts +0 -1
  72. package/dist/core/vecOps.d.ts +0 -1
  73. package/dist/core.cjs +6 -6
  74. package/dist/core.d.ts +0 -1
  75. package/dist/core.js +6 -6
  76. package/dist/{cornerFinder-5BYE2cbd.cjs → cornerFinder-CC8EBRCR.cjs} +3 -3
  77. package/dist/{cornerFinder-Zg7pf2s0.js → cornerFinder-Dix2ghke.js} +3 -3
  78. package/dist/{curveFns-DhqUp0EI.js → curveFns-B4tWuinR.js} +2 -2
  79. package/dist/{curveFns-DrT54cm8.cjs → curveFns-CD20-4fM.cjs} +2 -2
  80. package/dist/{drawFns-lUXjhTYL.js → drawFns-BsarLfUN.js} +163 -769
  81. package/dist/{drawFns-DmP2o1oF.cjs → drawFns-LlOZoFyp.cjs} +203 -985
  82. package/dist/{errors-DboJwVCf.js → errors-0fYW_YnO.js} +2 -1
  83. package/dist/{errors-CXRNVCec.cjs → errors-Dv6pfNct.cjs} +2 -1
  84. package/dist/{extrudeFns-B9bVCt3C.js → extrudeFns-7pE8dIWz.js} +3 -3
  85. package/dist/{extrudeFns-BtblHdaJ.cjs → extrudeFns-DD36mWKv.cjs} +3 -3
  86. package/dist/faceFns-BFWz17_E.js +218 -0
  87. package/dist/faceFns-DP7i60yJ.cjs +343 -0
  88. package/dist/gear/gearFns.d.ts +129 -0
  89. package/dist/gear/gearMath.d.ts +88 -0
  90. package/dist/gear/gearProfile.d.ts +16 -0
  91. package/dist/gear/index.d.ts +3 -0
  92. package/dist/{helpers-BpXNcxuJ.cjs → helpers-Cyj6gaqy.cjs} +14 -13
  93. package/dist/{helpers-S_Ht6gwX.js → helpers-vV2ONZwD.js} +9 -8
  94. package/dist/{historyFns-B01hrkcJ.js → historyFns-DGb61ETW.js} +6 -6
  95. package/dist/{historyFns-RHO-QvEZ.cjs → historyFns-DfyrPjnK.cjs} +6 -6
  96. package/dist/{importFns-CG49lyTm.cjs → importFns-C-p0vl_h.cjs} +11 -19
  97. package/dist/{importFns-C0tUyeiW.js → importFns-Ci-L2iB3.js} +11 -19
  98. package/dist/index.d.ts +16 -8
  99. package/dist/io/dxfExportFns.d.ts +0 -1
  100. package/dist/io/dxfImportFns.d.ts +0 -1
  101. package/dist/io/gltfExportFns.d.ts +0 -1
  102. package/dist/io/gltfImportFns.d.ts +0 -1
  103. package/dist/io/importFns.d.ts +0 -1
  104. package/dist/io/ioUtils.d.ts +0 -1
  105. package/dist/io/objExportFns.d.ts +0 -1
  106. package/dist/io/objImportFns.d.ts +0 -1
  107. package/dist/io/stepConfigFns.d.ts +0 -1
  108. package/dist/io/svgImportFns.d.ts +0 -1
  109. package/dist/io/threemfExportFns.d.ts +0 -1
  110. package/dist/io/threemfImportFns.d.ts +0 -1
  111. package/dist/io.cjs +2 -2
  112. package/dist/io.d.ts +0 -1
  113. package/dist/io.js +2 -2
  114. package/dist/kernel/brepkit/booleanOps.d.ts +23 -1
  115. package/dist/kernel/brepkit/brepkitAdapter.d.ts +21 -408
  116. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts +0 -1
  117. package/dist/kernel/brepkit/constructionOps.d.ts +51 -1
  118. package/dist/kernel/brepkit/evolutionOps.d.ts +34 -3
  119. package/dist/kernel/brepkit/geometryOps.d.ts +63 -2
  120. package/dist/kernel/brepkit/helpers.d.ts +6 -1
  121. package/dist/kernel/brepkit/internalOps.d.ts +0 -1
  122. package/dist/kernel/brepkit/ioOps.d.ts +47 -9
  123. package/dist/kernel/brepkit/kernel2dOps.d.ts +113 -1
  124. package/dist/kernel/brepkit/measureOps.d.ts +39 -1
  125. package/dist/kernel/brepkit/meshOps.d.ts +7 -1
  126. package/dist/kernel/brepkit/modifierOps.d.ts +15 -1
  127. package/dist/kernel/brepkit/repairOps.d.ts +14 -1
  128. package/dist/kernel/brepkit/sketchOps.d.ts +3 -1
  129. package/dist/kernel/brepkit/sweepOps.d.ts +37 -1
  130. package/dist/kernel/brepkit/topologyOps.d.ts +16 -1
  131. package/dist/kernel/brepkit/transformOps.d.ts +18 -1
  132. package/dist/kernel/geometry2d.d.ts +0 -1
  133. package/dist/kernel/index.d.ts +0 -1
  134. package/dist/kernel/interfaces/booleanOps.d.ts +0 -1
  135. package/dist/kernel/interfaces/builderOps.d.ts +0 -1
  136. package/dist/kernel/interfaces/core.d.ts +0 -1
  137. package/dist/kernel/interfaces/curveOps.d.ts +0 -1
  138. package/dist/kernel/interfaces/evolutionOps.d.ts +0 -1
  139. package/dist/kernel/interfaces/index.d.ts +0 -1
  140. package/dist/kernel/interfaces/ioOps.d.ts +0 -1
  141. package/dist/kernel/interfaces/measureOps.d.ts +0 -1
  142. package/dist/kernel/interfaces/meshOps.d.ts +0 -1
  143. package/dist/kernel/interfaces/modifierOps.d.ts +0 -1
  144. package/dist/kernel/interfaces/primitiveOps.d.ts +0 -1
  145. package/dist/kernel/interfaces/repairOps.d.ts +0 -1
  146. package/dist/kernel/interfaces/surfaceOps.d.ts +0 -1
  147. package/dist/kernel/interfaces/sweepOps.d.ts +0 -1
  148. package/dist/kernel/interfaces/topologyOps.d.ts +0 -1
  149. package/dist/kernel/interfaces/transformOps.d.ts +0 -1
  150. package/dist/kernel/kernel2dTypes.d.ts +0 -1
  151. package/dist/kernel/occt/advancedOps.d.ts +126 -24
  152. package/dist/kernel/occt/booleanBatchOps.d.ts +0 -1
  153. package/dist/kernel/occt/booleanOps.d.ts +11 -1
  154. package/dist/kernel/occt/booleanPipelineOps.d.ts +10 -1
  155. package/dist/kernel/occt/constructorOps.d.ts +14 -1
  156. package/dist/kernel/occt/curveOps.d.ts +13 -1
  157. package/dist/kernel/occt/defaultAdapter.d.ts +10 -441
  158. package/dist/kernel/occt/evolutionOps.d.ts +0 -1
  159. package/dist/kernel/occt/extendedConstructorOps.d.ts +31 -1
  160. package/dist/kernel/occt/geometryQueryOps.d.ts +40 -1
  161. package/dist/kernel/occt/healingOps.d.ts +6 -1
  162. package/dist/kernel/occt/historyOps.d.ts +17 -1
  163. package/dist/kernel/occt/hullOps.d.ts +14 -1
  164. package/dist/kernel/occt/ioOps.d.ts +9 -1
  165. package/dist/kernel/occt/kernel2dOps.d.ts +113 -1
  166. package/dist/kernel/occt/measureOps.d.ts +19 -1
  167. package/dist/kernel/occt/meshOps.d.ts +5 -1
  168. package/dist/kernel/occt/modifierOps.d.ts +24 -1
  169. package/dist/kernel/occt/nurbsQueryOps.d.ts +5 -1
  170. package/dist/kernel/occt/sweepOps.d.ts +23 -1
  171. package/dist/kernel/occt/topologyOps.d.ts +10 -1
  172. package/dist/kernel/occt/transformOps.d.ts +14 -4
  173. package/dist/kernel/occt/wasmTypes/externals.d.ts +0 -1
  174. package/dist/kernel/occt/wasmTypes/index.d.ts +0 -1
  175. package/dist/kernel/occt/wasmTypes/occtBuilders.d.ts +0 -1
  176. package/dist/kernel/occtWasm/adapterShims.d.ts +4 -0
  177. package/dist/kernel/occtWasm/booleanOps.d.ts +11 -0
  178. package/dist/kernel/occtWasm/constructionOps.d.ts +36 -0
  179. package/dist/kernel/occtWasm/curveOps.d.ts +23 -0
  180. package/dist/kernel/occtWasm/evolutionOps.d.ts +17 -0
  181. package/dist/kernel/occtWasm/helpers.d.ts +31 -0
  182. package/dist/kernel/occtWasm/hullOps.d.ts +12 -0
  183. package/dist/kernel/occtWasm/ioOps.d.ts +52 -0
  184. package/dist/kernel/occtWasm/kernel2dOps.d.ts +90 -0
  185. package/dist/kernel/occtWasm/measureOps.d.ts +31 -0
  186. package/dist/kernel/occtWasm/meshOps.d.ts +6 -0
  187. package/dist/kernel/occtWasm/modifierOps.d.ts +14 -0
  188. package/dist/kernel/occtWasm/occtWasmAdapter.cjs +1 -1
  189. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts +30 -31
  190. package/dist/kernel/occtWasm/occtWasmAdapter.js +1 -1
  191. package/dist/kernel/occtWasm/occtWasmTypes.d.ts +0 -1
  192. package/dist/kernel/occtWasm/primitiveOps.d.ts +10 -0
  193. package/dist/kernel/occtWasm/repairOps.d.ts +10 -0
  194. package/dist/kernel/occtWasm/surfaceOps.d.ts +28 -0
  195. package/dist/kernel/occtWasm/sweepOps.d.ts +38 -0
  196. package/dist/kernel/occtWasm/topologyOps.d.ts +14 -0
  197. package/dist/kernel/occtWasm/transformOps.d.ts +27 -0
  198. package/dist/kernel/perfStats.d.ts +0 -1
  199. package/dist/kernel/solverAdapter.d.ts +0 -1
  200. package/dist/kernel/types.d.ts +0 -1
  201. package/dist/{measureFns-C751QGI1.cjs → measureFns-6ifSQfJt.cjs} +6 -5
  202. package/dist/{measureFns-B8C85hbT.js → measureFns-Io2nHE1k.js} +4 -3
  203. package/dist/measurement/interferenceFns.d.ts +0 -1
  204. package/dist/measurement/measureCache.d.ts +0 -1
  205. package/dist/measurement/measureFns.d.ts +0 -1
  206. package/dist/measurement/measureTypes.d.ts +0 -1
  207. package/dist/measurement.cjs +1 -1
  208. package/dist/measurement.d.ts +0 -1
  209. package/dist/measurement.js +1 -1
  210. package/dist/{meshFns-Cdhtbrhm.cjs → meshFns-BCRVZgPi.cjs} +3 -3
  211. package/dist/{meshFns-BgvsA-xA.js → meshFns-DSdkRFWq.js} +3 -3
  212. package/dist/ns/booleans.d.ts +0 -1
  213. package/dist/ns/construction.d.ts +0 -1
  214. package/dist/ns/ioNs.d.ts +0 -1
  215. package/dist/ns/measurement.d.ts +0 -1
  216. package/dist/ns/modifiers.d.ts +0 -1
  217. package/dist/ns/patterns.d.ts +0 -1
  218. package/dist/ns/primitives.d.ts +0 -1
  219. package/dist/ns/query.d.ts +0 -1
  220. package/dist/ns/transforms.d.ts +0 -1
  221. package/dist/occtWasmAdapter--TZGP9DX.js +4606 -0
  222. package/dist/occtWasmAdapter-C2VW-uYg.cjs +4719 -0
  223. package/dist/operations/api.d.ts +0 -1
  224. package/dist/operations/assemblyFns.d.ts +0 -1
  225. package/dist/operations/compoundOpsFns.d.ts +0 -1
  226. package/dist/operations/convexHullFns.d.ts +0 -1
  227. package/dist/operations/exporterFns.d.ts +0 -1
  228. package/dist/operations/exporterUtils.d.ts +0 -1
  229. package/dist/operations/exporters.d.ts +0 -1
  230. package/dist/operations/extrudeFns.d.ts +0 -1
  231. package/dist/operations/extrudeUtils.d.ts +0 -1
  232. package/dist/operations/guidedSweepFns.d.ts +0 -1
  233. package/dist/operations/historyFns.d.ts +0 -1
  234. package/dist/operations/loftFns.d.ts +0 -1
  235. package/dist/operations/mateFns.d.ts +0 -1
  236. package/dist/operations/multiSweepFns.d.ts +0 -1
  237. package/dist/operations/patternFns.d.ts +0 -1
  238. package/dist/operations/roofFns.d.ts +0 -1
  239. package/dist/operations/straightSkeleton.d.ts +0 -1
  240. package/dist/operations/sweepFns.d.ts +0 -1
  241. package/dist/operations.cjs +2 -2
  242. package/dist/operations.d.ts +0 -1
  243. package/dist/operations.js +2 -2
  244. package/dist/{planeOps-sTrM3dcQ.js → planeOps-4i2qEraD.js} +4 -4
  245. package/dist/{planeOps-BJOIbn4K.cjs → planeOps-CH4ruLuj.cjs} +4 -4
  246. package/dist/{primitiveFns-BLxaJ40A.cjs → primitiveFns-BH-JQPzh.cjs} +20 -19
  247. package/dist/{primitiveFns-fR9sWOEb.js → primitiveFns-C1p92ZcD.js} +8 -7
  248. package/dist/projection/cameraFns.d.ts +0 -1
  249. package/dist/projection/makeProjectedEdges.d.ts +0 -1
  250. package/dist/projection/projectionPlanes.d.ts +0 -1
  251. package/dist/projection.cjs +9 -0
  252. package/dist/projection.d.ts +11 -0
  253. package/dist/projection.js +2 -0
  254. package/dist/query/cornerFinder.d.ts +0 -1
  255. package/dist/query/directionUtils.d.ts +0 -1
  256. package/dist/query/edgeFinder.d.ts +0 -1
  257. package/dist/query/faceFinder.d.ts +0 -1
  258. package/dist/query/finderCore.d.ts +0 -1
  259. package/dist/query/finderFns.d.ts +0 -1
  260. package/dist/query/helpers.d.ts +0 -1
  261. package/dist/query/shapeDistanceFilter.d.ts +0 -1
  262. package/dist/query/shapeFinders.d.ts +0 -1
  263. package/dist/query/vertexFinder.d.ts +0 -1
  264. package/dist/query/wireFinder.d.ts +0 -1
  265. package/dist/query.cjs +2 -2
  266. package/dist/query.d.ts +0 -1
  267. package/dist/query.js +2 -2
  268. package/dist/result.cjs +1 -1
  269. package/dist/result.d.ts +0 -1
  270. package/dist/result.js +1 -1
  271. package/dist/{shapeFns-183zCtMc.cjs → shapeFns-B7x82K11.cjs} +17 -17
  272. package/dist/{shapeFns-2X3VOi1a.js → shapeFns-BhZ9weSI.js} +4 -4
  273. package/dist/shapeRef.cjs +1 -1
  274. package/dist/shapeRef.d.ts +0 -1
  275. package/dist/shapeRef.js +1 -1
  276. package/dist/{shapeRefFns-CU1Jwq9C.js → shapeRefFns-B9PsEqWf.js} +6 -4
  277. package/dist/{shapeRefFns-CFyv5cdW.cjs → shapeRefFns-wDY88A8u.cjs} +8 -6
  278. package/dist/{shapeTypes-C0MDggKf.cjs → shapeTypes-BTt_LLbk.cjs} +6922 -7884
  279. package/dist/{shapeTypes-CN0GUoHr.js → shapeTypes-C--1jaT1.js} +6900 -7862
  280. package/dist/sketching/cannedSketches.d.ts +0 -1
  281. package/dist/sketching/compoundSketch.d.ts +8 -7
  282. package/dist/sketching/draw3d.d.ts +1 -2
  283. package/dist/sketching/drawFns.d.ts +4 -3
  284. package/dist/sketching/{draw.d.ts → drawing.d.ts} +2 -127
  285. package/dist/sketching/drawingFactories.d.ts +94 -0
  286. package/dist/sketching/drawingPen.d.ts +34 -0
  287. package/dist/sketching/faceSketcher.d.ts +52 -0
  288. package/dist/sketching/shortcuts.d.ts +0 -1
  289. package/dist/sketching/sketch.d.ts +64 -10
  290. package/dist/sketching/sketchFns.d.ts +42 -95
  291. package/dist/sketching/sketcher.d.ts +2 -3
  292. package/dist/sketching/sketches.d.ts +5 -6
  293. package/dist/sketching.cjs +19 -18
  294. package/dist/sketching.d.ts +8 -5
  295. package/dist/sketching.js +3 -2
  296. package/dist/{solidBuilders-DACzFqvX.cjs → solidBuilders-CX_197Xm.cjs} +3 -3
  297. package/dist/{solidBuilders-BuS5ByIl.js → solidBuilders-Xs7VDMGD.js} +3 -3
  298. package/dist/{surfaceBuilders-CbH4FIW5.cjs → surfaceBuilders-CYeTNW33.cjs} +25 -3
  299. package/dist/{surfaceBuilders-BVH2SL-z.js → surfaceBuilders-CinmHCbZ.js} +20 -4
  300. package/dist/text/fontRegistry.d.ts +22 -0
  301. package/dist/text/sketchText.d.ts +30 -0
  302. package/dist/text/textBlueprints.d.ts +0 -91
  303. package/dist/text/textMetrics.d.ts +39 -0
  304. package/dist/text.cjs +9 -0
  305. package/dist/text.d.ts +12 -0
  306. package/dist/text.js +3 -0
  307. package/dist/textBlueprints-Do6xNsLt.js +643 -0
  308. package/dist/textBlueprints-oWhiABaY.cjs +800 -0
  309. package/dist/textMetrics-BjJ8sn_e.js +69 -0
  310. package/dist/textMetrics-CUvtglQE.cjs +86 -0
  311. package/dist/topology/adjacencyFns.d.ts +0 -1
  312. package/dist/topology/api.d.ts +0 -1
  313. package/dist/topology/apiTypes.d.ts +0 -1
  314. package/dist/topology/booleanDiagnosticFns.d.ts +0 -1
  315. package/dist/topology/booleanFns.d.ts +0 -1
  316. package/dist/topology/cast.d.ts +0 -1
  317. package/dist/topology/chamferAngleFns.d.ts +0 -1
  318. package/dist/topology/compoundOpsFns.d.ts +0 -1
  319. package/dist/topology/curveBuilders.d.ts +12 -1
  320. package/dist/topology/curveFns.d.ts +0 -1
  321. package/dist/topology/evolutionFns.d.ts +0 -1
  322. package/dist/topology/faceFns.d.ts +0 -1
  323. package/dist/topology/healingFns.d.ts +0 -1
  324. package/dist/topology/hullFns.d.ts +0 -1
  325. package/dist/topology/index.d.ts +0 -1
  326. package/dist/topology/meshCache.d.ts +0 -1
  327. package/dist/topology/meshFns.d.ts +0 -1
  328. package/dist/topology/metadata/colorFns.d.ts +0 -1
  329. package/dist/topology/metadata/faceTagFns.d.ts +0 -1
  330. package/dist/topology/metadata/metadataPropagation.d.ts +0 -1
  331. package/dist/topology/metadata/originTrackingFns.d.ts +0 -1
  332. package/dist/topology/minkowskiFns.d.ts +0 -1
  333. package/dist/topology/modifierFns.d.ts +0 -1
  334. package/dist/topology/nurbsFns.d.ts +0 -1
  335. package/dist/topology/polyhedronFns.d.ts +0 -1
  336. package/dist/topology/positionFns.d.ts +0 -1
  337. package/dist/topology/primitiveFns.d.ts +0 -1
  338. package/dist/topology/shapeBooleans.d.ts +0 -1
  339. package/dist/topology/shapeFns.d.ts +0 -1
  340. package/dist/topology/shapeHelpers.d.ts +0 -1
  341. package/dist/topology/shapeModifiers.d.ts +0 -1
  342. package/dist/topology/shapeRef/index.d.ts +0 -1
  343. package/dist/topology/shapeRef/scoring.d.ts +0 -1
  344. package/dist/topology/shapeRef/shapeRefFns.d.ts +0 -1
  345. package/dist/topology/shapeRef/shapeRefTypes.d.ts +0 -1
  346. package/dist/topology/shapeUtils.d.ts +0 -1
  347. package/dist/topology/solidBuilders.d.ts +0 -1
  348. package/dist/topology/surfaceBuilders.d.ts +0 -1
  349. package/dist/topology/surfaceFns.d.ts +0 -1
  350. package/dist/topology/threeHelpers.d.ts +0 -1
  351. package/dist/topology/topologyQueryFns.d.ts +0 -1
  352. package/dist/topology/transformFns.d.ts +0 -1
  353. package/dist/topology/wrapperFns.d.ts +0 -1
  354. package/dist/topology.cjs +18 -17
  355. package/dist/topology.d.ts +0 -1
  356. package/dist/topology.js +7 -6
  357. package/dist/{faceFns-22idS-ht.cjs → topologyQueryFns-BU0qdNJP.cjs} +2 -342
  358. package/dist/{faceFns-NbWd8-iR.js → topologyQueryFns-Dhf85ZBK.js} +3 -217
  359. package/dist/utils/arrayAccess.d.ts +0 -1
  360. package/dist/utils/bug.d.ts +0 -1
  361. package/dist/utils/ioFilename.d.ts +0 -1
  362. package/dist/utils/precisionRound.d.ts +0 -1
  363. package/dist/utils/range.d.ts +0 -1
  364. package/dist/utils/uuid.d.ts +0 -1
  365. package/dist/utils/vec2d.d.ts +0 -1
  366. package/dist/utils/vec3.d.ts +8 -1
  367. package/dist/utils/zip.d.ts +0 -1
  368. package/dist/vec3-BRj3eI54.js +25 -0
  369. package/dist/vec3-S4Oh59IX.cjs +36 -0
  370. package/dist/vectors.cjs +4 -4
  371. package/dist/vectors.d.ts +0 -1
  372. package/dist/vectors.js +4 -4
  373. package/dist/worker/index.d.ts +0 -1
  374. package/dist/worker/protocol.d.ts +0 -1
  375. package/dist/worker/taskQueue.d.ts +0 -1
  376. package/dist/worker/workerClient.d.ts +0 -1
  377. package/dist/worker/workerHandler.d.ts +0 -1
  378. package/dist/worker.cjs +1 -1
  379. package/dist/worker.d.ts +0 -1
  380. package/dist/worker.js +1 -1
  381. package/package.json +35 -14
  382. package/dist/2d/blueprints/blueprint.d.ts.map +0 -1
  383. package/dist/2d/blueprints/blueprintApproximations.d.ts.map +0 -1
  384. package/dist/2d/blueprints/blueprintCustomCorners.d.ts.map +0 -1
  385. package/dist/2d/blueprints/blueprintFns.d.ts.map +0 -1
  386. package/dist/2d/blueprints/blueprintOffset.d.ts.map +0 -1
  387. package/dist/2d/blueprints/blueprints.d.ts.map +0 -1
  388. package/dist/2d/blueprints/boolean2D.d.ts.map +0 -1
  389. package/dist/2d/blueprints/booleanHelpers.d.ts.map +0 -1
  390. package/dist/2d/blueprints/booleanOperations.d.ts.map +0 -1
  391. package/dist/2d/blueprints/cannedBlueprints.d.ts.map +0 -1
  392. package/dist/2d/blueprints/compoundBlueprint.d.ts.map +0 -1
  393. package/dist/2d/blueprints/index.d.ts.map +0 -1
  394. package/dist/2d/blueprints/intersectionSegments.d.ts.map +0 -1
  395. package/dist/2d/blueprints/lib.d.ts.map +0 -1
  396. package/dist/2d/blueprints/segmentAssembly.d.ts.map +0 -1
  397. package/dist/2d/blueprints/svg.d.ts.map +0 -1
  398. package/dist/2d/curve2dGeometryFns.d.ts.map +0 -1
  399. package/dist/2d/curves.d.ts.map +0 -1
  400. package/dist/2d/lib/approximations.d.ts.map +0 -1
  401. package/dist/2d/lib/boundingBox2d.d.ts.map +0 -1
  402. package/dist/2d/lib/curve2D.d.ts.map +0 -1
  403. package/dist/2d/lib/curve2dFns.d.ts.map +0 -1
  404. package/dist/2d/lib/customCorners.d.ts.map +0 -1
  405. package/dist/2d/lib/definitions.d.ts.map +0 -1
  406. package/dist/2d/lib/index.d.ts.map +0 -1
  407. package/dist/2d/lib/intersections.d.ts.map +0 -1
  408. package/dist/2d/lib/makeCurves.d.ts.map +0 -1
  409. package/dist/2d/lib/offset.d.ts.map +0 -1
  410. package/dist/2d/lib/precision.d.ts.map +0 -1
  411. package/dist/2d/lib/stitching.d.ts.map +0 -1
  412. package/dist/2d/lib/svgPath.d.ts.map +0 -1
  413. package/dist/2d/lib/utils.d.ts.map +0 -1
  414. package/dist/2d/lib/vectorOperations.d.ts.map +0 -1
  415. package/dist/2d.d.ts.map +0 -1
  416. package/dist/core/constants.d.ts.map +0 -1
  417. package/dist/core/curve2dHandle.d.ts.map +0 -1
  418. package/dist/core/dimensionTypes.d.ts.map +0 -1
  419. package/dist/core/disposal.d.ts.map +0 -1
  420. package/dist/core/errors.d.ts.map +0 -1
  421. package/dist/core/kernelBoundary.d.ts.map +0 -1
  422. package/dist/core/kernelCall.d.ts.map +0 -1
  423. package/dist/core/kernelErrorTranslation.d.ts.map +0 -1
  424. package/dist/core/planeOps.d.ts.map +0 -1
  425. package/dist/core/planeTypes.d.ts.map +0 -1
  426. package/dist/core/result.d.ts.map +0 -1
  427. package/dist/core/shapeTypeCache.d.ts.map +0 -1
  428. package/dist/core/shapeTypes.d.ts.map +0 -1
  429. package/dist/core/typeDiscriminants.d.ts.map +0 -1
  430. package/dist/core/types.d.ts.map +0 -1
  431. package/dist/core/validityTypes.d.ts.map +0 -1
  432. package/dist/core/vecOps.d.ts.map +0 -1
  433. package/dist/core.d.ts.map +0 -1
  434. package/dist/index.d.ts.map +0 -1
  435. package/dist/io/dxfExportFns.d.ts.map +0 -1
  436. package/dist/io/dxfImportFns.d.ts.map +0 -1
  437. package/dist/io/gltfExportFns.d.ts.map +0 -1
  438. package/dist/io/gltfImportFns.d.ts.map +0 -1
  439. package/dist/io/importFns.d.ts.map +0 -1
  440. package/dist/io/ioUtils.d.ts.map +0 -1
  441. package/dist/io/objExportFns.d.ts.map +0 -1
  442. package/dist/io/objImportFns.d.ts.map +0 -1
  443. package/dist/io/stepConfigFns.d.ts.map +0 -1
  444. package/dist/io/svgImportFns.d.ts.map +0 -1
  445. package/dist/io/threemfExportFns.d.ts.map +0 -1
  446. package/dist/io/threemfImportFns.d.ts.map +0 -1
  447. package/dist/io.d.ts.map +0 -1
  448. package/dist/kernel/brepkit/booleanOps.d.ts.map +0 -1
  449. package/dist/kernel/brepkit/brepkitAdapter.d.ts.map +0 -1
  450. package/dist/kernel/brepkit/brepkitWasmTypes.d.ts.map +0 -1
  451. package/dist/kernel/brepkit/constructionOps.d.ts.map +0 -1
  452. package/dist/kernel/brepkit/evolutionOps.d.ts.map +0 -1
  453. package/dist/kernel/brepkit/geometryOps.d.ts.map +0 -1
  454. package/dist/kernel/brepkit/helpers.d.ts.map +0 -1
  455. package/dist/kernel/brepkit/internalOps.d.ts.map +0 -1
  456. package/dist/kernel/brepkit/ioOps.d.ts.map +0 -1
  457. package/dist/kernel/brepkit/kernel2dOps.d.ts.map +0 -1
  458. package/dist/kernel/brepkit/measureOps.d.ts.map +0 -1
  459. package/dist/kernel/brepkit/meshOps.d.ts.map +0 -1
  460. package/dist/kernel/brepkit/modifierOps.d.ts.map +0 -1
  461. package/dist/kernel/brepkit/repairOps.d.ts.map +0 -1
  462. package/dist/kernel/brepkit/sketchOps.d.ts.map +0 -1
  463. package/dist/kernel/brepkit/sweepOps.d.ts.map +0 -1
  464. package/dist/kernel/brepkit/topologyOps.d.ts.map +0 -1
  465. package/dist/kernel/brepkit/transformOps.d.ts.map +0 -1
  466. package/dist/kernel/geometry2d.d.ts.map +0 -1
  467. package/dist/kernel/index.d.ts.map +0 -1
  468. package/dist/kernel/interfaces/booleanOps.d.ts.map +0 -1
  469. package/dist/kernel/interfaces/builderOps.d.ts.map +0 -1
  470. package/dist/kernel/interfaces/core.d.ts.map +0 -1
  471. package/dist/kernel/interfaces/curveOps.d.ts.map +0 -1
  472. package/dist/kernel/interfaces/evolutionOps.d.ts.map +0 -1
  473. package/dist/kernel/interfaces/index.d.ts.map +0 -1
  474. package/dist/kernel/interfaces/ioOps.d.ts.map +0 -1
  475. package/dist/kernel/interfaces/measureOps.d.ts.map +0 -1
  476. package/dist/kernel/interfaces/meshOps.d.ts.map +0 -1
  477. package/dist/kernel/interfaces/modifierOps.d.ts.map +0 -1
  478. package/dist/kernel/interfaces/primitiveOps.d.ts.map +0 -1
  479. package/dist/kernel/interfaces/repairOps.d.ts.map +0 -1
  480. package/dist/kernel/interfaces/surfaceOps.d.ts.map +0 -1
  481. package/dist/kernel/interfaces/sweepOps.d.ts.map +0 -1
  482. package/dist/kernel/interfaces/topologyOps.d.ts.map +0 -1
  483. package/dist/kernel/interfaces/transformOps.d.ts.map +0 -1
  484. package/dist/kernel/kernel2dTypes.d.ts.map +0 -1
  485. package/dist/kernel/occt/advancedOps.d.ts.map +0 -1
  486. package/dist/kernel/occt/booleanBatchOps.d.ts.map +0 -1
  487. package/dist/kernel/occt/booleanOps.d.ts.map +0 -1
  488. package/dist/kernel/occt/booleanPipelineOps.d.ts.map +0 -1
  489. package/dist/kernel/occt/constructorOps.d.ts.map +0 -1
  490. package/dist/kernel/occt/curveOps.d.ts.map +0 -1
  491. package/dist/kernel/occt/defaultAdapter.d.ts.map +0 -1
  492. package/dist/kernel/occt/evolutionOps.d.ts.map +0 -1
  493. package/dist/kernel/occt/extendedConstructorOps.d.ts.map +0 -1
  494. package/dist/kernel/occt/geometryQueryOps.d.ts.map +0 -1
  495. package/dist/kernel/occt/healingOps.d.ts.map +0 -1
  496. package/dist/kernel/occt/historyOps.d.ts.map +0 -1
  497. package/dist/kernel/occt/hullOps.d.ts.map +0 -1
  498. package/dist/kernel/occt/ioOps.d.ts.map +0 -1
  499. package/dist/kernel/occt/kernel2dOps.d.ts.map +0 -1
  500. package/dist/kernel/occt/measureOps.d.ts.map +0 -1
  501. package/dist/kernel/occt/meshOps.d.ts.map +0 -1
  502. package/dist/kernel/occt/modifierOps.d.ts.map +0 -1
  503. package/dist/kernel/occt/nurbsQueryOps.d.ts.map +0 -1
  504. package/dist/kernel/occt/sweepOps.d.ts.map +0 -1
  505. package/dist/kernel/occt/topologyOps.d.ts.map +0 -1
  506. package/dist/kernel/occt/transformOps.d.ts.map +0 -1
  507. package/dist/kernel/occt/wasmTypes/externals.d.ts.map +0 -1
  508. package/dist/kernel/occt/wasmTypes/index.d.ts.map +0 -1
  509. package/dist/kernel/occt/wasmTypes/occtBuilders.d.ts.map +0 -1
  510. package/dist/kernel/occtWasm/occtWasmAdapter.d.ts.map +0 -1
  511. package/dist/kernel/occtWasm/occtWasmTypes.d.ts.map +0 -1
  512. package/dist/kernel/perfStats.d.ts.map +0 -1
  513. package/dist/kernel/solverAdapter.d.ts.map +0 -1
  514. package/dist/kernel/types.d.ts.map +0 -1
  515. package/dist/measurement/interferenceFns.d.ts.map +0 -1
  516. package/dist/measurement/measureCache.d.ts.map +0 -1
  517. package/dist/measurement/measureFns.d.ts.map +0 -1
  518. package/dist/measurement/measureTypes.d.ts.map +0 -1
  519. package/dist/measurement.d.ts.map +0 -1
  520. package/dist/ns/booleans.d.ts.map +0 -1
  521. package/dist/ns/construction.d.ts.map +0 -1
  522. package/dist/ns/ioNs.d.ts.map +0 -1
  523. package/dist/ns/measurement.d.ts.map +0 -1
  524. package/dist/ns/modifiers.d.ts.map +0 -1
  525. package/dist/ns/patterns.d.ts.map +0 -1
  526. package/dist/ns/primitives.d.ts.map +0 -1
  527. package/dist/ns/query.d.ts.map +0 -1
  528. package/dist/ns/transforms.d.ts.map +0 -1
  529. package/dist/occtWasmAdapter-CuZRRioz.cjs +0 -3947
  530. package/dist/occtWasmAdapter-DIhUXubY.js +0 -3834
  531. package/dist/operations/api.d.ts.map +0 -1
  532. package/dist/operations/assemblyFns.d.ts.map +0 -1
  533. package/dist/operations/compoundOpsFns.d.ts.map +0 -1
  534. package/dist/operations/convexHullFns.d.ts.map +0 -1
  535. package/dist/operations/exporterFns.d.ts.map +0 -1
  536. package/dist/operations/exporterUtils.d.ts.map +0 -1
  537. package/dist/operations/exporters.d.ts.map +0 -1
  538. package/dist/operations/extrudeFns.d.ts.map +0 -1
  539. package/dist/operations/extrudeUtils.d.ts.map +0 -1
  540. package/dist/operations/guidedSweepFns.d.ts.map +0 -1
  541. package/dist/operations/historyFns.d.ts.map +0 -1
  542. package/dist/operations/loftFns.d.ts.map +0 -1
  543. package/dist/operations/mateFns.d.ts.map +0 -1
  544. package/dist/operations/multiSweepFns.d.ts.map +0 -1
  545. package/dist/operations/patternFns.d.ts.map +0 -1
  546. package/dist/operations/roofFns.d.ts.map +0 -1
  547. package/dist/operations/straightSkeleton.d.ts.map +0 -1
  548. package/dist/operations/sweepFns.d.ts.map +0 -1
  549. package/dist/operations.d.ts.map +0 -1
  550. package/dist/projection/cameraFns.d.ts.map +0 -1
  551. package/dist/projection/makeProjectedEdges.d.ts.map +0 -1
  552. package/dist/projection/projectionPlanes.d.ts.map +0 -1
  553. package/dist/query/cornerFinder.d.ts.map +0 -1
  554. package/dist/query/directionUtils.d.ts.map +0 -1
  555. package/dist/query/edgeFinder.d.ts.map +0 -1
  556. package/dist/query/faceFinder.d.ts.map +0 -1
  557. package/dist/query/finderCore.d.ts.map +0 -1
  558. package/dist/query/finderFns.d.ts.map +0 -1
  559. package/dist/query/helpers.d.ts.map +0 -1
  560. package/dist/query/shapeDistanceFilter.d.ts.map +0 -1
  561. package/dist/query/shapeFinders.d.ts.map +0 -1
  562. package/dist/query/vertexFinder.d.ts.map +0 -1
  563. package/dist/query/wireFinder.d.ts.map +0 -1
  564. package/dist/query.d.ts.map +0 -1
  565. package/dist/quick.d.ts.map +0 -1
  566. package/dist/result.d.ts.map +0 -1
  567. package/dist/shapeRef.d.ts.map +0 -1
  568. package/dist/sketching/cannedSketches.d.ts.map +0 -1
  569. package/dist/sketching/compoundSketch.d.ts.map +0 -1
  570. package/dist/sketching/draw.d.ts.map +0 -1
  571. package/dist/sketching/draw3d.d.ts.map +0 -1
  572. package/dist/sketching/drawFns.d.ts.map +0 -1
  573. package/dist/sketching/ellipseUtils.d.ts.map +0 -1
  574. package/dist/sketching/shortcuts.d.ts.map +0 -1
  575. package/dist/sketching/sketch.d.ts.map +0 -1
  576. package/dist/sketching/sketchFns.d.ts.map +0 -1
  577. package/dist/sketching/sketchLib.d.ts +0 -47
  578. package/dist/sketching/sketchLib.d.ts.map +0 -1
  579. package/dist/sketching/sketchUtils.d.ts +0 -8
  580. package/dist/sketching/sketchUtils.d.ts.map +0 -1
  581. package/dist/sketching/sketcher.d.ts.map +0 -1
  582. package/dist/sketching/sketcher2d.d.ts.map +0 -1
  583. package/dist/sketching/sketcherlib.d.ts.map +0 -1
  584. package/dist/sketching/sketches.d.ts.map +0 -1
  585. package/dist/sketching.d.ts.map +0 -1
  586. package/dist/text/textBlueprints.d.ts.map +0 -1
  587. package/dist/topology/adjacencyFns.d.ts.map +0 -1
  588. package/dist/topology/api.d.ts.map +0 -1
  589. package/dist/topology/apiTypes.d.ts.map +0 -1
  590. package/dist/topology/booleanDiagnosticFns.d.ts.map +0 -1
  591. package/dist/topology/booleanFns.d.ts.map +0 -1
  592. package/dist/topology/cast.d.ts.map +0 -1
  593. package/dist/topology/chamferAngleFns.d.ts.map +0 -1
  594. package/dist/topology/compoundOpsFns.d.ts.map +0 -1
  595. package/dist/topology/curveBuilders.d.ts.map +0 -1
  596. package/dist/topology/curveFns.d.ts.map +0 -1
  597. package/dist/topology/evolutionFns.d.ts.map +0 -1
  598. package/dist/topology/faceFns.d.ts.map +0 -1
  599. package/dist/topology/healingFns.d.ts.map +0 -1
  600. package/dist/topology/hullFns.d.ts.map +0 -1
  601. package/dist/topology/index.d.ts.map +0 -1
  602. package/dist/topology/meshCache.d.ts.map +0 -1
  603. package/dist/topology/meshFns.d.ts.map +0 -1
  604. package/dist/topology/metadata/colorFns.d.ts.map +0 -1
  605. package/dist/topology/metadata/faceTagFns.d.ts.map +0 -1
  606. package/dist/topology/metadata/metadataPropagation.d.ts.map +0 -1
  607. package/dist/topology/metadata/originTrackingFns.d.ts.map +0 -1
  608. package/dist/topology/minkowskiFns.d.ts.map +0 -1
  609. package/dist/topology/modifierFns.d.ts.map +0 -1
  610. package/dist/topology/nurbsFns.d.ts.map +0 -1
  611. package/dist/topology/polyhedronFns.d.ts.map +0 -1
  612. package/dist/topology/positionFns.d.ts.map +0 -1
  613. package/dist/topology/primitiveFns.d.ts.map +0 -1
  614. package/dist/topology/shapeBooleans.d.ts.map +0 -1
  615. package/dist/topology/shapeFns.d.ts.map +0 -1
  616. package/dist/topology/shapeHelpers.d.ts.map +0 -1
  617. package/dist/topology/shapeModifiers.d.ts.map +0 -1
  618. package/dist/topology/shapeRef/index.d.ts.map +0 -1
  619. package/dist/topology/shapeRef/scoring.d.ts.map +0 -1
  620. package/dist/topology/shapeRef/shapeRefFns.d.ts.map +0 -1
  621. package/dist/topology/shapeRef/shapeRefTypes.d.ts.map +0 -1
  622. package/dist/topology/shapeUtils.d.ts.map +0 -1
  623. package/dist/topology/solidBuilders.d.ts.map +0 -1
  624. package/dist/topology/surfaceBuilders.d.ts.map +0 -1
  625. package/dist/topology/surfaceFns.d.ts.map +0 -1
  626. package/dist/topology/threeHelpers.d.ts.map +0 -1
  627. package/dist/topology/topologyQueryFns.d.ts.map +0 -1
  628. package/dist/topology/transformFns.d.ts.map +0 -1
  629. package/dist/topology/wrapperFns.d.ts.map +0 -1
  630. package/dist/topology.d.ts.map +0 -1
  631. package/dist/utils/arrayAccess.d.ts.map +0 -1
  632. package/dist/utils/bug.d.ts.map +0 -1
  633. package/dist/utils/ioFilename.d.ts.map +0 -1
  634. package/dist/utils/precisionRound.d.ts.map +0 -1
  635. package/dist/utils/range.d.ts.map +0 -1
  636. package/dist/utils/uuid.d.ts.map +0 -1
  637. package/dist/utils/vec2d.d.ts.map +0 -1
  638. package/dist/utils/vec3.d.ts.map +0 -1
  639. package/dist/utils/zip.d.ts.map +0 -1
  640. package/dist/vectors.d.ts.map +0 -1
  641. package/dist/worker/index.d.ts.map +0 -1
  642. package/dist/worker/protocol.d.ts.map +0 -1
  643. package/dist/worker/taskQueue.d.ts.map +0 -1
  644. package/dist/worker/workerClient.d.ts.map +0 -1
  645. package/dist/worker/workerHandler.d.ts.map +0 -1
  646. package/dist/worker.d.ts.map +0 -1
  647. /package/dist/{arrayAccess-DsnQpdSD.cjs → arrayAccess-7pTWqkJu.cjs} +0 -0
  648. /package/dist/{arrayAccess-tCIbjLs5.js → arrayAccess-C5IWcxs9.js} +0 -0
  649. /package/dist/{constants-csSEYddm.js → constants-Ci5CA3aZ.js} +0 -0
  650. /package/dist/{constants-BNP_xnBN.cjs → constants-DTorLmes.cjs} +0 -0
  651. /package/dist/{types--GD-LVc6.js → types-BIdk_GJY.js} +0 -0
  652. /package/dist/{types-gLi9wL0N.cjs → types-CDkxah-M.cjs} +0 -0
  653. /package/dist/{vecOps-CODplJp3.cjs → vecOps-D7xplSx8.cjs} +0 -0
  654. /package/dist/{vecOps-B-PCHgyB.js → vecOps-DVROrqTV.js} +0 -0
  655. /package/dist/{workerHandler-C-3cFcsQ.cjs → workerHandler-C7seK7H-.cjs} +0 -0
  656. /package/dist/{workerHandler-Dm0_0F8Z.js → workerHandler-DaulgMax.js} +0 -0
@@ -31,4 +31,3 @@ export declare function revolve(face: Shapeable<OrientedFace<Dimension> & Planar
31
31
  * Loft through a set of wire profiles to create a 3D shape.
32
32
  */
33
33
  export declare function loft(wires: Shapeable<Wire<Dimension>>[], options?: lofting.LoftOptions): Result<Shape3D>;
34
- //# sourceMappingURL=api.d.ts.map
@@ -37,4 +37,3 @@ export declare function walkAssembly(root: AssemblyNode, visitor: (node: Assembl
37
37
  export declare function countNodes(root: AssemblyNode): number;
38
38
  /** Collect all shapes in the tree (depth-first). */
39
39
  export declare function collectShapes(root: AssemblyNode): AnyShape[];
40
- //# sourceMappingURL=assemblyFns.d.ts.map
@@ -35,4 +35,3 @@ export declare function mirrorJoin<T extends Shape3D>(shape: Shapeable<T>, optio
35
35
  * then fuses all copies into a single shape.
36
36
  */
37
37
  export declare function rectangularPattern<T extends Shape3D>(shape: Shapeable<T>, options: RectangularPatternOptions): Result<T>;
38
- //# sourceMappingURL=compoundOpsFns.d.ts.map
@@ -18,4 +18,3 @@ import { Result } from '../core/result.js';
18
18
  * ```
19
19
  */
20
20
  export declare function convexHull(points: ReadonlyArray<Vec3>): Result<Solid>;
21
- //# sourceMappingURL=convexHullFns.d.ts.map
@@ -41,4 +41,3 @@ export declare function exportAssemblySTEP(shapes?: ShapeOptions[], { unit, mode
41
41
  unit?: SupportedUnit;
42
42
  modelUnit?: SupportedUnit;
43
43
  }): Result<Blob>;
44
- //# sourceMappingURL=exporterFns.d.ts.map
@@ -3,4 +3,3 @@
3
3
  */
4
4
  /** Supported length units for STEP export. */
5
5
  export type SupportedUnit = 'M' | 'CM' | 'MM' | 'INCH' | 'FT' | 'm' | 'mm' | 'cm' | 'inch' | 'ft';
6
- //# sourceMappingURL=exporterUtils.d.ts.map
@@ -56,4 +56,3 @@ export declare function exportSTEP(shapes?: ShapeOptions[], { unit, modelUnit }?
56
56
  unit?: SupportedUnit;
57
57
  modelUnit?: SupportedUnit;
58
58
  }): Result<Blob>;
59
- //# sourceMappingURL=exporters.d.ts.map
@@ -38,4 +38,3 @@ export interface ExtrudeAllEntry {
38
38
  */
39
39
  export declare function extrudeAll(entries: readonly ExtrudeAllEntry[]): Result<ValidSolid[]>;
40
40
  export { sweep, supportExtrude, complexExtrude, twistExtrude } from './sweepFns.js';
41
- //# sourceMappingURL=extrudeFns.d.ts.map
@@ -61,4 +61,3 @@ export interface ExtrusionProfile {
61
61
  */
62
62
  export declare function buildLawFromProfile(extrusionLength: number, { profile, endFactor }: ExtrusionProfile): Result<KernelType>;
63
63
  export {};
64
- //# sourceMappingURL=extrudeUtils.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * Guided sweep has been consolidated into sweepFns.
4
4
  */
5
5
  export { guidedSweep, type GuidedSweepOptions } from './sweepFns.js';
6
- //# sourceMappingURL=guidedSweepFns.d.ts.map
@@ -71,4 +71,3 @@ export interface SerializedHistory {
71
71
  export declare function serializeHistory(history: ModelHistory): Result<SerializedHistory>;
72
72
  /** Deserialize a history from a JSON-safe object (shapes reconstructed via fromBREP). */
73
73
  export declare function deserializeHistory(data: SerializedHistory): Result<ModelHistory>;
74
- //# sourceMappingURL=historyFns.d.ts.map
@@ -54,4 +54,3 @@ export interface LoftAllEntry {
54
54
  * @returns Array of 3D shapes, one per entry.
55
55
  */
56
56
  export declare function loftAll(entries: readonly LoftAllEntry[]): Result<Shape3D[]>;
57
- //# sourceMappingURL=loftFns.d.ts.map
@@ -47,4 +47,3 @@ export declare function addMate(assembly: AssemblyNode, constraint: MateConstrai
47
47
  * Solve all mate constraints and compute part transforms.
48
48
  */
49
49
  export declare function solveAssembly(assembly: AssemblyNode): Result<AssemblySolveResult>;
50
- //# sourceMappingURL=mateFns.d.ts.map
@@ -3,4 +3,3 @@
3
3
  * Multi-section sweep has been consolidated into sweepFns.
4
4
  */
5
5
  export { multiSectionSweep, type SweepSectionConfig, type MultiSweepOptions } from './sweepFns.js';
6
- //# sourceMappingURL=multiSweepFns.d.ts.map
@@ -39,4 +39,3 @@ export declare function circularPattern(shape: Shape3D, axis: Vec3, count: numbe
39
39
  * @returns Compound shape containing all copies, or fused result
40
40
  */
41
41
  export declare function gridPattern(shape: Shape3D, directionX: Vec3, directionY: Vec3, countX: number, countY: number, spacingX: number, spacingY: number, options?: BooleanOptions): Result<Shape3D>;
42
- //# sourceMappingURL=patternFns.d.ts.map
@@ -14,4 +14,3 @@ export interface RoofOptions {
14
14
  * @returns A Result containing the roof Solid, or an error
15
15
  */
16
16
  export declare function roof(w: ClosedWire<Dimension> & PlanarWire<Dimension>, options?: RoofOptions): Result<ValidSolid>;
17
- //# sourceMappingURL=roofFns.d.ts.map
@@ -22,4 +22,3 @@ export interface StraightSkeleton {
22
22
  * They will be reordered to CCW if necessary.
23
23
  */
24
24
  export declare function computeStraightSkeleton(polygon: SkPoint2D[]): Result<StraightSkeleton>;
25
- //# sourceMappingURL=straightSkeleton.d.ts.map
@@ -118,4 +118,3 @@ export declare function multiSectionSweep(sections: ReadonlyArray<SweepSectionCo
118
118
  * @returns Result containing the swept Solid or Shell.
119
119
  */
120
120
  export declare function guidedSweep(profile: Wire<Dimension>, spine: Wire<Dimension>, guides: ReadonlyArray<Wire<Dimension>>, options?: GuidedSweepOptions): Result<Solid | Shell>;
121
- //# sourceMappingURL=sweepFns.d.ts.map
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_historyFns = require("./historyFns-RHO-QvEZ.cjs");
3
- const require_extrudeFns = require("./extrudeFns-BtblHdaJ.cjs");
2
+ const require_historyFns = require("./historyFns-DfyrPjnK.cjs");
3
+ const require_extrudeFns = require("./extrudeFns-DD36mWKv.cjs");
4
4
  exports.addChild = require_historyFns.addChild;
5
5
  exports.addStep = require_historyFns.addStep;
6
6
  exports.circularPattern = require_historyFns.circularPattern;
@@ -12,4 +12,3 @@ export { createAssemblyNode, addChild, removeChild, updateNode, findNode, walkAs
12
12
  export { exportAssemblySTEP, type ShapeOptions, type SupportedUnit, } from './operations/exporterFns.js';
13
13
  export { createHistory, addStep, undoLast, findStep, getShape as getHistoryShape, stepCount, stepsFrom, registerShape, createRegistry, registerOperation, replayHistory, replayFrom, modifyStep, type OperationStep, type ModelHistory, type OperationFn, type OperationRegistry as HistoryOperationRegistry, } from './operations/historyFns.js';
14
14
  export { type AssemblyExporter, createAssembly } from './operations/exporters.js';
15
- //# sourceMappingURL=operations.d.ts.map
@@ -1,3 +1,3 @@
1
- import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-B01hrkcJ.js";
2
- import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-B9bVCt3C.js";
1
+ import { C as walkAssembly, D as exportAssemblySTEP, E as linearPattern, O as createAssembly, S as updateNode, T as gridPattern, _ as collectShapes, a as findStep, b as findNode, c as registerOperation, d as replayHistory, g as addChild, h as undoLast, l as registerShape, m as stepsFrom, n as createHistory, o as getShape, p as stepCount, r as createRegistry, s as modifyStep, t as addStep, u as replayFrom, v as countNodes, w as circularPattern, x as removeChild, y as createAssemblyNode } from "./historyFns-DGb61ETW.js";
2
+ import { c as sweep, i as complexExtrude, l as twistExtrude, s as supportExtrude } from "./extrudeFns-7pE8dIWz.js";
3
3
  export { addChild, addStep, circularPattern, collectShapes, complexExtrude, countNodes, createAssembly, createAssemblyNode, createHistory, createRegistry, exportAssemblySTEP, findNode, findStep, getShape as getHistoryShape, gridPattern, linearPattern, modifyStep, registerOperation, registerShape, removeChild, replayFrom, replayHistory, stepCount, stepsFrom, supportExtrude, sweep, twistExtrude, undoLast, updateNode, walkAssembly };
@@ -1,7 +1,7 @@
1
- import { A as ok, R as unwrap, b as err, d as validationError } from "./errors-DboJwVCf.js";
2
- import { t as DEG2RAD } from "./constants-csSEYddm.js";
3
- import { r as toVec3 } from "./types--GD-LVc6.js";
4
- import { d as vecNormalize, h as vecScale, m as vecRotate, r as vecCross, s as vecIsZero, t as vecAdd } from "./vecOps-B-PCHgyB.js";
1
+ import { A as ok, R as unwrap, b as err, d as validationError } from "./errors-0fYW_YnO.js";
2
+ import { t as DEG2RAD } from "./constants-Ci5CA3aZ.js";
3
+ import { r as toVec3 } from "./types-BIdk_GJY.js";
4
+ import { d as vecNormalize, h as vecScale, m as vecRotate, r as vecCross, s as vecIsZero, t as vecAdd } from "./vecOps-DVROrqTV.js";
5
5
  //#region src/core/planeOps.ts
6
6
  /**
7
7
  * Create a {@link Plane} from an origin, optional X direction, and a normal.
@@ -1,7 +1,7 @@
1
- const require_errors = require("./errors-CXRNVCec.cjs");
2
- const require_constants = require("./constants-BNP_xnBN.cjs");
3
- const require_types = require("./types-gLi9wL0N.cjs");
4
- const require_vecOps = require("./vecOps-CODplJp3.cjs");
1
+ const require_errors = require("./errors-Dv6pfNct.cjs");
2
+ const require_constants = require("./constants-DTorLmes.cjs");
3
+ const require_types = require("./types-CDkxah-M.cjs");
4
+ const require_vecOps = require("./vecOps-D7xplSx8.cjs");
5
5
  //#region src/core/planeOps.ts
6
6
  /**
7
7
  * Create a {@link Plane} from an origin, optional X direction, and a normal.
@@ -1,10 +1,11 @@
1
- const require_shapeTypes = require("./shapeTypes-C0MDggKf.cjs");
2
- const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-22idS-ht.cjs");
4
- const require_constants = require("./constants-BNP_xnBN.cjs");
5
- const require_shapeFns = require("./shapeFns-183zCtMc.cjs");
6
- const require_surfaceBuilders = require("./surfaceBuilders-CbH4FIW5.cjs");
7
- const require_solidBuilders = require("./solidBuilders-DACzFqvX.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BTt_LLbk.cjs");
2
+ const require_errors = require("./errors-Dv6pfNct.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BU0qdNJP.cjs");
4
+ const require_constants = require("./constants-DTorLmes.cjs");
5
+ const require_faceFns = require("./faceFns-DP7i60yJ.cjs");
6
+ const require_shapeFns = require("./shapeFns-B7x82K11.cjs");
7
+ const require_surfaceBuilders = require("./surfaceBuilders-CYeTNW33.cjs");
8
+ const require_solidBuilders = require("./solidBuilders-CX_197Xm.cjs");
8
9
  //#region src/topology/threeHelpers.ts
9
10
  /**
10
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -172,7 +173,7 @@ function deduplicatedSubShapes(parentKernel, type) {
172
173
  * face so facesOfEdge can verify via isSame without re-extracting face edges.
173
174
  */
174
175
  function getEdgeToFacesMap(parent) {
175
- const cache = require_faceFns.getOrCreateCache(parent);
176
+ const cache = require_topologyQueryFns.getOrCreateCache(parent);
176
177
  if (cache.edgeToFaces) return cache.edgeToFaces;
177
178
  const kernel = require_shapeTypes.getKernel();
178
179
  const edgeToFaces = /* @__PURE__ */ new Map();
@@ -488,7 +489,7 @@ function filletWithEvolution(shape, edges, radius) {
488
489
  if (require_errors.isErr(check)) return check;
489
490
  if (typeof radius === "number" && radius <= 0) return require_errors.err(require_errors.validationError("INVALID_FILLET_RADIUS", "Fillet radius must be positive", void 0, void 0, "Provide a positive radius value greater than 0"));
490
491
  if (Array.isArray(radius) && (radius[0] <= 0 || radius[1] <= 0)) return require_errors.err(require_errors.validationError("INVALID_FILLET_RADIUS", "Fillet radii must both be positive", void 0, void 0, "Both radius values must be greater than 0"));
491
- const selectedEdges = edges ?? require_faceFns.getEdges(shape);
492
+ const selectedEdges = edges ?? require_topologyQueryFns.getEdges(shape);
492
493
  if (selectedEdges.length === 0) return require_errors.err(require_errors.validationError(require_errors.BrepErrorCode.FILLET_NO_EDGES, "No edges found for fillet", void 0, void 0, "Check that the shape has edges, or adjust your edge finder criteria"));
493
494
  try {
494
495
  let filteredEdges;
@@ -532,7 +533,7 @@ function chamferWithEvolution(shape, edges, distance) {
532
533
  if (require_errors.isErr(check)) return check;
533
534
  if (typeof distance === "number" && distance <= 0) return require_errors.err(require_errors.validationError("INVALID_CHAMFER_DISTANCE", "Chamfer distance must be positive", void 0, void 0, "Provide a positive distance value greater than 0"));
534
535
  if (Array.isArray(distance) && (distance[0] <= 0 || distance[1] <= 0)) return require_errors.err(require_errors.validationError("INVALID_CHAMFER_DISTANCE", "Chamfer distances must both be positive", void 0, void 0, "Both distance values must be greater than 0"));
535
- const selectedEdges = edges ?? require_faceFns.getEdges(shape);
536
+ const selectedEdges = edges ?? require_topologyQueryFns.getEdges(shape);
536
537
  if (selectedEdges.length === 0) return require_errors.err(require_errors.validationError(require_errors.BrepErrorCode.CHAMFER_NO_EDGES, "No edges found for chamfer"));
537
538
  try {
538
539
  let filteredEdges;
@@ -743,7 +744,7 @@ function fillet(shape, edges, radius, { trackEvolution = true } = {}) {
743
744
  pairHint: "Both radius values must be greater than 0"
744
745
  });
745
746
  if (paramErr) return paramErr;
746
- const selectedEdges = edges ?? require_faceFns.getEdges(shape);
747
+ const selectedEdges = edges ?? require_topologyQueryFns.getEdges(shape);
747
748
  if (selectedEdges.length === 0) return require_errors.err(require_errors.validationError(require_errors.BrepErrorCode.FILLET_NO_EDGES, "No edges found for fillet", void 0, void 0, "Check that the shape has edges, or adjust your edge finder criteria"));
748
749
  try {
749
750
  let filteredEdges;
@@ -791,7 +792,7 @@ function chamfer(shape, edges, distance) {
791
792
  pairHint: "Both distance values must be greater than 0"
792
793
  });
793
794
  if (paramErr) return paramErr;
794
- const selectedEdges = edges ?? require_faceFns.getEdges(shape);
795
+ const selectedEdges = edges ?? require_topologyQueryFns.getEdges(shape);
795
796
  if (selectedEdges.length === 0) return require_errors.err(require_errors.validationError(require_errors.BrepErrorCode.CHAMFER_NO_EDGES, "No edges found for chamfer"));
796
797
  try {
797
798
  let filteredEdges;
@@ -962,7 +963,7 @@ function variableFillet(shape, edge, radii) {
962
963
  * Check if a shape is valid according to kernel geometry and topology checks.
963
964
  */
964
965
  function isValid(shape) {
965
- return require_faceFns.getCachedIsValid(shape);
966
+ return require_topologyQueryFns.getCachedIsValid(shape);
966
967
  }
967
968
  /**
968
969
  * Attempt to heal/fix a solid shape.
@@ -980,7 +981,7 @@ function healSolid(solid) {
980
981
  }
981
982
  const cast = require_shapeTypes.castShape(result);
982
983
  if (!require_shapeTypes.isSolid(cast)) return require_errors.err(require_errors.kernelError("HEAL_RESULT_NOT_SOLID", "Healed result is not a solid"));
983
- require_faceFns.invalidateShapeCache(cast);
984
+ require_topologyQueryFns.invalidateShapeCache(cast);
984
985
  if (!isValid(cast)) return require_errors.err(require_errors.kernelError("HEAL_SOLID_INCOMPLETE", "Healed result is still invalid after ShapeFix_Solid"));
985
986
  return require_errors.ok(cast);
986
987
  } catch (e) {
@@ -1062,8 +1063,8 @@ function autoHeal(shape, options) {
1062
1063
  }
1063
1064
  });
1064
1065
  steps.push("Shape invalid — applying shape-level healing");
1065
- const wiresBefore = require_faceFns.getWires(shape).length;
1066
- const facesBefore = require_faceFns.getFaces(shape).length;
1066
+ const wiresBefore = require_topologyQueryFns.getWires(shape).length;
1067
+ const facesBefore = require_topologyQueryFns.getFaces(shape).length;
1067
1068
  let current = shape;
1068
1069
  let solidHealed = false;
1069
1070
  if (sewTolerance !== void 0) try {
@@ -1086,7 +1087,7 @@ function autoHeal(shape, options) {
1086
1087
  });
1087
1088
  }
1088
1089
  if (fixSelfIntersection && fixWires) {
1089
- const wires = require_faceFns.getWires(current);
1090
+ const wires = require_topologyQueryFns.getWires(current);
1090
1091
  let fixCount = 0;
1091
1092
  for (const wire of wires) try {
1092
1093
  require_shapeTypes.getKernel().fixSelfIntersection(wire.wrapped);
@@ -1141,8 +1142,8 @@ function autoHeal(shape, options) {
1141
1142
  succeeded: false,
1142
1143
  detail: "skipped by options"
1143
1144
  });
1144
- const wiresAfter = require_faceFns.getWires(current).length;
1145
- const facesAfter = require_faceFns.getFaces(current).length;
1145
+ const wiresAfter = require_topologyQueryFns.getWires(current).length;
1146
+ const facesAfter = require_topologyQueryFns.getFaces(current).length;
1146
1147
  const wiresHealed = Math.abs(wiresAfter - wiresBefore);
1147
1148
  const facesHealed = Math.abs(facesAfter - facesBefore);
1148
1149
  if (wiresHealed > 0) steps.push(`Wire count changed by ${wiresHealed}`);
@@ -1,10 +1,11 @@
1
- import { X as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-CN0GUoHr.js";
2
- import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-DboJwVCf.js";
3
- import { N as downcast, S as getOrCreateCache, T as invalidateShapeCache, b as getEdges, v as getCachedIsValid, w as getWires, x as getFaces } from "./faceFns-NbWd8-iR.js";
4
- import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-csSEYddm.js";
5
- import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-2X3VOi1a.js";
6
- import { a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeEllipse, f as makeEllipseArc, g as makeThreePointArc, h as makeTangentArc, i as makeNewFaceWithinFace, l as makeBezierCurve, m as makeLine, o as makePolygon, p as makeHelix, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeCircle } from "./surfaceBuilders-BVH2SL-z.js";
7
- import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-BuS5ByIl.js";
1
+ import { X as getKernel, _ as isSolid, c as createSolid, h as isShape3D, p as isFace, r as castShapeWithKnownType, t as castShape, x as isClosedWire, y as isWire } from "./shapeTypes-C--1jaT1.js";
2
+ import { A as ok, T as isOk, b as err, d as validationError, i as kernelError, l as typeCastError, t as BrepErrorCode, v as andThen, w as isErr } from "./errors-0fYW_YnO.js";
3
+ import { c as getOrCreateCache, d as invalidateShapeCache, i as getCachedIsValid, o as getEdges, s as getFaces, u as getWires } from "./topologyQueryFns-Dhf85ZBK.js";
4
+ import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-Ci5CA3aZ.js";
5
+ import { _ as downcast } from "./faceFns-BFWz17_E.js";
6
+ import { _ as propagateAllMetadata, g as collectInputFaceHashes, h as translate } from "./shapeFns-BhZ9weSI.js";
7
+ import { _ as makeThreePointArc, a as makeNonPlanarFace, c as makeBSplineApproximation, d as makeCircle, f as makeEllipse, g as makeTangentArc, h as makeLine, i as makeNewFaceWithinFace, m as makeHelix, o as makePolygon, p as makeEllipseArc, r as makeFace, s as assembleWire, t as addHolesInFace, u as makeBezierCurve } from "./surfaceBuilders-CinmHCbZ.js";
8
+ import { a as makeOffset, c as makeTorus, i as makeEllipsoid, l as makeVertex, n as makeCone, o as makeSolid, r as makeCylinder, s as makeSphere, t as makeCompound, u as weldShellsAndFaces } from "./solidBuilders-Xs7VDMGD.js";
8
9
  //#region src/topology/threeHelpers.ts
9
10
  /**
10
11
  * Convert a ShapeMesh into BufferGeometry-compatible typed arrays.
@@ -51,4 +51,3 @@ export declare function projectEdges(shape: AnyShape, camera: Camera, withHidden
51
51
  visible: Edge[];
52
52
  hidden: Edge[];
53
53
  };
54
- //# sourceMappingURL=cameraFns.d.ts.map
@@ -11,4 +11,3 @@ export declare function makeProjectedEdges(shape: AnyShape, camera: Camera, with
11
11
  visible: Edge[];
12
12
  hidden: Edge[];
13
13
  };
14
- //# sourceMappingURL=makeProjectedEdges.d.ts.map
@@ -12,4 +12,3 @@ export interface PlaneConfig {
12
12
  export declare const PROJECTION_PLANES: Record<ProjectionPlane, PlaneConfig>;
13
13
  /** Type guard — check if a value is a valid {@link ProjectionPlane} name. */
14
14
  export declare function isProjectionPlane(plane: unknown): plane is ProjectionPlane;
15
- //# sourceMappingURL=projectionPlanes.d.ts.map
@@ -0,0 +1,9 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_cameraFns = require("./cameraFns-1y1NyACI.cjs");
3
+ exports.PROJECTION_PLANES = require_cameraFns.PROJECTION_PLANES;
4
+ exports.cameraFromPlane = require_cameraFns.cameraFromPlane;
5
+ exports.cameraLookAt = require_cameraFns.cameraLookAt;
6
+ exports.createCamera = require_cameraFns.createCamera;
7
+ exports.isProjectionPlane = require_cameraFns.isProjectionPlane;
8
+ exports.makeProjectedEdges = require_cameraFns.makeProjectedEdges;
9
+ exports.projectEdges = require_cameraFns.projectEdges;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * brepjs/projection — 3D-to-2D projection cameras and edge extraction.
3
+ *
4
+ * @example
5
+ * ```typescript
6
+ * import { createCamera, projectEdges } from 'brepjs/projection';
7
+ * ```
8
+ */
9
+ export { createCamera, cameraLookAt, cameraFromPlane, projectEdges, type Camera, } from './projection/cameraFns.js';
10
+ export { isProjectionPlane, type ProjectionPlane, type CubeFace, type PlaneConfig, PROJECTION_PLANES, } from './projection/projectionPlanes.js';
11
+ export { makeProjectedEdges } from './projection/makeProjectedEdges.js';
@@ -0,0 +1,2 @@
1
+ import { a as makeProjectedEdges, i as projectEdges, n as cameraLookAt, o as PROJECTION_PLANES, r as createCamera, s as isProjectionPlane, t as cameraFromPlane } from "./cameraFns-CUzI5RKS.js";
2
+ export { PROJECTION_PLANES, cameraFromPlane, cameraLookAt, createCamera, isProjectionPlane, makeProjectedEdges, projectEdges };
@@ -45,4 +45,3 @@ export interface CornerFinderFn extends CornerFilter {
45
45
  }
46
46
  /** Create an immutable corner finder for 2D blueprint corners. */
47
47
  export declare function cornerFinder(): CornerFinderFn;
48
- //# sourceMappingURL=cornerFinder.d.ts.map
@@ -3,4 +3,3 @@ import { Vec3 } from '../core/types.js';
3
3
  export type DirectionInput = 'X' | 'Y' | 'Z' | Vec3;
4
4
  /** Resolve a named axis or passthrough a vector. */
5
5
  export declare function resolveDir(dir: DirectionInput): Vec3;
6
- //# sourceMappingURL=directionUtils.d.ts.map
@@ -2,4 +2,3 @@
2
2
  * Re-exports from `./shapeFinders.js` for backward compatibility.
3
3
  */
4
4
  export { edgeFinder, type EdgeFinderFn } from './shapeFinders.js';
5
- //# sourceMappingURL=edgeFinder.d.ts.map
@@ -2,4 +2,3 @@
2
2
  * Re-exports from `./shapeFinders.js` for backward compatibility.
3
3
  */
4
4
  export { faceFinder, type FaceFinderFn } from './shapeFinders.js';
5
- //# sourceMappingURL=faceFinder.d.ts.map
@@ -38,4 +38,3 @@ export interface ShapeFinder<T extends AnyShape<Dimension>> {
38
38
  * @param extend - attach domain-specific methods onto the base finder
39
39
  */
40
40
  export declare function createTypedFinder<T extends AnyShape<Dimension>, F extends ShapeFinder<T>>(topoKind: TopoKind, filters: ReadonlyArray<Predicate<T>>, rebuild: (newFilters: ReadonlyArray<Predicate<T>>) => F, extend: (base: ShapeFinder<T>, withFilter: (pred: Predicate<T>) => F) => Omit<F, keyof ShapeFinder<T>>): F;
41
- //# sourceMappingURL=finderCore.d.ts.map
@@ -22,4 +22,3 @@ export { vertexFinder } from './vertexFinder.js';
22
22
  export type { VertexFinderFn } from './vertexFinder.js';
23
23
  export { cornerFinder } from './cornerFinder.js';
24
24
  export type { CornerFinderFn, CornerFilter, Corner, BlueprintLike } from './cornerFinder.js';
25
- //# sourceMappingURL=finderFns.d.ts.map
@@ -8,4 +8,3 @@ import { Result } from '../core/result.js';
8
8
  export type SingleFace = Face | FaceFinderFn | ((f: FaceFinderFn) => FaceFinderFn);
9
9
  /** Resolve a {@link SingleFace} input to a concrete Face from the given shape. */
10
10
  export declare function getSingleFace(f: SingleFace, shape: AnyShape<Dimension>): Result<Face>;
11
- //# sourceMappingURL=helpers.d.ts.map
@@ -9,4 +9,3 @@ import { Predicate } from './finderCore.js';
9
9
  * with a vertex constructed at the reference point.
10
10
  */
11
11
  export declare function distanceFromPointFilter<T extends AnyShape<Dimension>>(distance: number, point: Vec3, tolerance: number): Predicate<T>;
12
- //# sourceMappingURL=shapeDistanceFilter.d.ts.map
@@ -29,4 +29,3 @@ export interface WireFinderFn extends ShapeFinder<Wire> {
29
29
  }
30
30
  /** Create an immutable wire finder. */
31
31
  export declare function wireFinder(): WireFinderFn;
32
- //# sourceMappingURL=shapeFinders.d.ts.map
@@ -13,4 +13,3 @@ export interface VertexFinderFn extends ShapeFinder<Vertex> {
13
13
  }
14
14
  /** Create an immutable vertex finder. */
15
15
  export declare function vertexFinder(): VertexFinderFn;
16
- //# sourceMappingURL=vertexFinder.d.ts.map
@@ -2,4 +2,3 @@
2
2
  * Re-exports from `./shapeFinders.js` for backward compatibility.
3
3
  */
4
4
  export { wireFinder, type WireFinderFn } from './shapeFinders.js';
5
- //# sourceMappingURL=wireFinder.d.ts.map
package/dist/query.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_helpers = require("./helpers-BpXNcxuJ.cjs");
3
- const require_cornerFinder = require("./cornerFinder-5BYE2cbd.cjs");
2
+ const require_helpers = require("./helpers-Cyj6gaqy.cjs");
3
+ const require_cornerFinder = require("./cornerFinder-CC8EBRCR.cjs");
4
4
  exports.cornerFinder = require_cornerFinder.cornerFinder;
5
5
  exports.edgeFinder = require_helpers.edgeFinder;
6
6
  exports.faceFinder = require_helpers.faceFinder;
package/dist/query.d.ts CHANGED
@@ -3,4 +3,3 @@
3
3
  */
4
4
  export { edgeFinder, faceFinder, cornerFinder, type EdgeFinderFn, type FaceFinderFn, type CornerFinderFn, type Corner, type ShapeFinder, } from './query/finderFns.js';
5
5
  export { getSingleFace, type SingleFace } from './query/helpers.js';
6
- //# sourceMappingURL=query.d.ts.map
package/dist/query.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-S_Ht6gwX.js";
2
- import { t as cornerFinder } from "./cornerFinder-Zg7pf2s0.js";
1
+ import { n as edgeFinder, r as faceFinder, t as getSingleFace } from "./helpers-vV2ONZwD.js";
2
+ import { t as cornerFinder } from "./cornerFinder-Dix2ghke.js";
3
3
  export { cornerFinder, edgeFinder, faceFinder, getSingleFace };
package/dist/result.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_errors = require("./errors-CXRNVCec.cjs");
2
+ const require_errors = require("./errors-Dv6pfNct.cjs");
3
3
  exports.BrepBugError = require_errors.BrepBugError;
4
4
  exports.BrepErrorCode = require_errors.BrepErrorCode;
5
5
  exports.OK = require_errors.OK;
package/dist/result.d.ts CHANGED
@@ -4,4 +4,3 @@
4
4
  */
5
5
  export { ok, err, OK, isOk, isErr, map, mapErr, andThen, flatMap, unwrap, unwrapOr, unwrapOrElse, unwrapErr, match, collect, tryCatch, tryCatchAsync, pipeline, type Result, type Ok, type Err, type Unit, type ResultPipeline, } from './core/result.js';
6
6
  export { type BrepError, type BrepErrorKind, BrepErrorCode, kernelError, validationError, typeCastError, sketcherStateError, moduleInitError, computationError, ioError, queryError, bug, BrepBugError, } from './core/errors.js';
7
- //# sourceMappingURL=result.d.ts.map
package/dist/result.js CHANGED
@@ -1,2 +1,2 @@
1
- import { A as ok, B as unwrapOr, E as map, I as tryCatch, L as tryCatchAsync, N as pipeline, O as mapErr, R as unwrap, T as isOk, V as unwrapOrElse, a as moduleInitError, b as err, c as sketcherStateError, d as validationError, g as OK, h as bug, i as kernelError, k as match, l as typeCastError, m as BrepBugError, n as computationError, o as queryError, r as ioError, t as BrepErrorCode, v as andThen, w as isErr, x as flatMap, y as collect, z as unwrapErr } from "./errors-DboJwVCf.js";
1
+ import { A as ok, B as unwrapOr, E as map, I as tryCatch, L as tryCatchAsync, N as pipeline, O as mapErr, R as unwrap, T as isOk, V as unwrapOrElse, a as moduleInitError, b as err, c as sketcherStateError, d as validationError, g as OK, h as bug, i as kernelError, k as match, l as typeCastError, m as BrepBugError, n as computationError, o as queryError, r as ioError, t as BrepErrorCode, v as andThen, w as isErr, x as flatMap, y as collect, z as unwrapErr } from "./errors-0fYW_YnO.js";
2
2
  export { BrepBugError, BrepErrorCode, OK, andThen, bug, collect, computationError, err, flatMap, ioError, isErr, isOk, kernelError, map, mapErr, match, moduleInitError, ok, pipeline, queryError, sketcherStateError, tryCatch, tryCatchAsync, typeCastError, unwrap, unwrapErr, unwrapOr, unwrapOrElse, validationError };
@@ -1,7 +1,7 @@
1
- const require_shapeTypes = require("./shapeTypes-C0MDggKf.cjs");
2
- const require_errors = require("./errors-CXRNVCec.cjs");
3
- const require_faceFns = require("./faceFns-22idS-ht.cjs");
4
- const require_constants = require("./constants-BNP_xnBN.cjs");
1
+ const require_shapeTypes = require("./shapeTypes-BTt_LLbk.cjs");
2
+ const require_errors = require("./errors-Dv6pfNct.cjs");
3
+ const require_topologyQueryFns = require("./topologyQueryFns-BU0qdNJP.cjs");
4
+ const require_constants = require("./constants-DTorLmes.cjs");
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
7
7
  * Face origin tracking — tag faces with integer origins and propagate
@@ -12,9 +12,9 @@ const require_constants = require("./constants-BNP_xnBN.cjs");
12
12
  * Consumers assign meaning (e.g., source line number).
13
13
  */
14
14
  function setShapeOrigin(shape, origin) {
15
- const cache = require_faceFns.getOrCreateCache(shape);
15
+ const cache = require_topologyQueryFns.getOrCreateCache(shape);
16
16
  const map = /* @__PURE__ */ new Map();
17
- for (const f of require_faceFns.getFaces(shape)) map.set(require_shapeTypes.getKernel().hashCode(f.wrapped, require_constants.HASH_CODE_MAX), origin);
17
+ for (const f of require_topologyQueryFns.getFaces(shape)) map.set(require_shapeTypes.getKernel().hashCode(f.wrapped, require_constants.HASH_CODE_MAX), origin);
18
18
  cache.faceOrigins = map;
19
19
  }
20
20
  /**
@@ -22,7 +22,7 @@ function setShapeOrigin(shape, origin) {
22
22
  * Returns undefined if no origins have been set or propagated.
23
23
  */
24
24
  function getFaceOrigins(shape) {
25
- return require_faceFns.getCacheEntry(shape)?.faceOrigins;
25
+ return require_topologyQueryFns.getCacheEntry(shape)?.faceOrigins;
26
26
  }
27
27
  /**
28
28
  * Propagate face origins using a kernel-provided ShapeEvolution record.
@@ -47,7 +47,7 @@ function propagateOriginsFromEvolution(evolution, inputs, result) {
47
47
  }
48
48
  }
49
49
  if (resultMap.size > 0) {
50
- const cache = require_faceFns.getOrCreateCache(result);
50
+ const cache = require_topologyQueryFns.getOrCreateCache(result);
51
51
  cache.faceOrigins = resultMap;
52
52
  }
53
53
  }
@@ -89,7 +89,7 @@ function propagateOriginsByHash(inputs, result) {
89
89
  if (lookup.size === 0) return;
90
90
  const kernel = require_shapeTypes.getKernel();
91
91
  const resultMap = /* @__PURE__ */ new Map();
92
- const resultFaces = require_faceFns.getFaces(result);
92
+ const resultFaces = require_topologyQueryFns.getFaces(result);
93
93
  for (const f of resultFaces) {
94
94
  const hash = kernel.hashCode(f.wrapped, require_constants.HASH_CODE_MAX);
95
95
  const origin = lookup.get(hash);
@@ -101,7 +101,7 @@ function propagateOriginsByHash(inputs, result) {
101
101
  for (const input of inputs) {
102
102
  const origins = getFaceOrigins(input);
103
103
  if (!origins) continue;
104
- for (const f of require_faceFns.getFaces(input)) {
104
+ for (const f of require_topologyQueryFns.getFaces(input)) {
105
105
  const hash = kernel.hashCode(f.wrapped, require_constants.HASH_CODE_MAX);
106
106
  const origin = origins.get(hash);
107
107
  if (origin === void 0) continue;
@@ -128,7 +128,7 @@ function propagateOriginsByHash(inputs, result) {
128
128
  }
129
129
  /* v8 ignore stop */
130
130
  if (resultMap.size > 0) {
131
- const cache = require_faceFns.getOrCreateCache(result);
131
+ const cache = require_topologyQueryFns.getOrCreateCache(result);
132
132
  cache.faceOrigins = resultMap;
133
133
  }
134
134
  }
@@ -165,7 +165,7 @@ function getMetaMap(shape) {
165
165
  * @returns The same shape (tags are stored externally).
166
166
  */
167
167
  function tagFaces(shape, selector, tag) {
168
- const faces = Array.isArray(selector) ? selector : require_faceFns.getFaces(shape).filter(selector);
168
+ const faces = Array.isArray(selector) ? selector : require_topologyQueryFns.getFaces(shape).filter(selector);
169
169
  const tagMap = getTagMap(shape);
170
170
  const existing = tagMap.get(tag) ?? /* @__PURE__ */ new Set();
171
171
  for (const face of faces) existing.add(require_shapeTypes.getKernel().hashCode(face.wrapped, require_constants.HASH_CODE_MAX));
@@ -184,7 +184,7 @@ function findFacesByTag(shape, tag) {
184
184
  const hashes = tagMap.get(tag);
185
185
  if (!hashes || hashes.size === 0) return [];
186
186
  const result = [];
187
- for (const face of require_faceFns.getFaces(shape)) {
187
+ for (const face of require_topologyQueryFns.getFaces(shape)) {
188
188
  const hash = require_shapeTypes.getKernel().hashCode(face.wrapped, require_constants.HASH_CODE_MAX);
189
189
  if (hashes.has(hash)) result.push(face);
190
190
  }
@@ -197,7 +197,7 @@ function getFaceTags(shape) {
197
197
  const result = /* @__PURE__ */ new Map();
198
198
  const tagMap = shapeTagStore.get(shape.wrapped);
199
199
  if (!tagMap) return result;
200
- const faces = require_faceFns.getFaces(shape);
200
+ const faces = require_topologyQueryFns.getFaces(shape);
201
201
  const faceByHash = /* @__PURE__ */ new Map();
202
202
  for (const face of faces) faceByHash.set(require_shapeTypes.getKernel().hashCode(face.wrapped, require_constants.HASH_CODE_MAX), face);
203
203
  for (const [tag, hashes] of tagMap) {
@@ -610,11 +610,11 @@ function transformCopy(shape, composed) {
610
610
  */
611
611
  /** Clone a shape (deep copy via kernel topology downcast). */
612
612
  function clone(shape) {
613
- return require_faceFns.kernelCall(() => require_shapeTypes.getKernel().downcast(shape.wrapped), require_errors.BrepErrorCode.CLONE_FAILED, "Failed to clone shape");
613
+ return require_topologyQueryFns.kernelCall(() => require_shapeTypes.getKernel().downcast(shape.wrapped), require_errors.BrepErrorCode.CLONE_FAILED, "Failed to clone shape");
614
614
  }
615
615
  /** Serialize a shape to BREP string format. */
616
616
  function toBREP(shape) {
617
- return require_faceFns.kernelCallRaw(() => require_shapeTypes.getKernel().toBREP(shape.wrapped), require_errors.BrepErrorCode.TO_BREP_FAILED, "Failed to serialize shape to BREP");
617
+ return require_topologyQueryFns.kernelCallRaw(() => require_shapeTypes.getKernel().toBREP(shape.wrapped), require_errors.BrepErrorCode.TO_BREP_FAILED, "Failed to serialize shape to BREP");
618
618
  }
619
619
  /** Get the topology hash code of a shape. */
620
620
  function getHashCode(shape) {
@@ -634,7 +634,7 @@ function isEqualShape(a, b) {
634
634
  }
635
635
  /** Simplify a shape by merging same-domain faces/edges. Returns a new shape. */
636
636
  function simplify(shape) {
637
- return require_faceFns.kernelCall(() => require_shapeTypes.getKernel().simplify(shape.wrapped), require_errors.BrepErrorCode.SIMPLIFY_FAILED, "Failed to simplify shape");
637
+ return require_topologyQueryFns.kernelCall(() => require_shapeTypes.getKernel().simplify(shape.wrapped), require_errors.BrepErrorCode.SIMPLIFY_FAILED, "Failed to simplify shape");
638
638
  }
639
639
  //#endregion
640
640
  Object.defineProperty(exports, "applyMatrix", {
@@ -1,7 +1,7 @@
1
- import { X as getKernel, t as castShape } from "./shapeTypes-CN0GUoHr.js";
2
- import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-DboJwVCf.js";
3
- import { R as kernelCall, S as getOrCreateCache, _ as getCacheEntry, x as getFaces, z as kernelCallRaw } from "./faceFns-NbWd8-iR.js";
4
- import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-csSEYddm.js";
1
+ import { X as getKernel, t as castShape } from "./shapeTypes-C--1jaT1.js";
2
+ import { A as ok, b as err, d as validationError, t as BrepErrorCode } from "./errors-0fYW_YnO.js";
3
+ import { _ as kernelCall, c as getOrCreateCache, r as getCacheEntry, s as getFaces, v as kernelCallRaw } from "./topologyQueryFns-Dhf85ZBK.js";
4
+ import { n as HASH_CODE_MAX, t as DEG2RAD } from "./constants-Ci5CA3aZ.js";
5
5
  //#region src/topology/metadata/originTrackingFns.ts
6
6
  /**
7
7
  * Face origin tracking — tag faces with integer origins and propagate
package/dist/shapeRef.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_shapeRefFns = require("./shapeRefFns-CFyv5cdW.cjs");
2
+ const require_shapeRefFns = require("./shapeRefFns-wDY88A8u.cjs");
3
3
  exports.assignRoles = require_shapeRefFns.assignRoles;
4
4
  exports.captureHint = require_shapeRefFns.captureHint;
5
5
  exports.createRef = require_shapeRefFns.createRef;
@@ -2,4 +2,3 @@
2
2
  * brepjs/shapeRef — Stable face references for parametric replay.
3
3
  */
4
4
  export { type GeometricHint, type ShapeRef, type RoleTable, type ResolvedRef, type BrokenRef, type FaceScorer, defaultScorer, captureHint, assignRoles, createRef, updateRoles, resolveRef, } from './topology/shapeRef/index.js';
5
- //# sourceMappingURL=shapeRef.d.ts.map