@threepipe/plugin-svg-renderer 0.2.5 → 0.2.6
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.
- package/CHANGELOG.md +9 -1
- package/dist/BasicSVGRendererPlugin.d.ts +1 -1
- package/dist/ThreeSVGRendererPlugin.d.ts +1 -1
- package/dist/dependencies.txt +15 -15
- package/dist/index.d.ts +5 -5
- package/dist/index.js +618 -665
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +741 -788
- package/dist/index.mjs.map +1 -1
- package/dist/three-mesh-halfedge/core/Face.d.ts +3 -3
- package/dist/three-mesh-halfedge/core/Halfedge.d.ts +3 -3
- package/dist/three-mesh-halfedge/core/HalfedgeDS.d.ts +4 -4
- package/dist/three-mesh-halfedge/core/Vertex.d.ts +3 -3
- package/dist/three-mesh-halfedge/index.d.ts +4 -4
- package/dist/three-mesh-halfedge/operations/addEdge.d.ts +3 -3
- package/dist/three-mesh-halfedge/operations/addFace.d.ts +3 -3
- package/dist/three-mesh-halfedge/operations/addVertex.d.ts +3 -3
- package/dist/three-mesh-halfedge/operations/cutFace.d.ts +4 -4
- package/dist/three-mesh-halfedge/operations/removeEdge.d.ts +2 -2
- package/dist/three-mesh-halfedge/operations/removeFace.d.ts +2 -2
- package/dist/three-mesh-halfedge/operations/removeVertex.d.ts +2 -2
- package/dist/three-mesh-halfedge/operations/setFromGeometry.d.ts +2 -2
- package/dist/three-mesh-halfedge/operations/splitEdge.d.ts +4 -4
- package/dist/three-mesh-halfedge/utils/geometry.d.ts +1 -1
- package/dist/three-svg-renderer/SVGRenderer.d.ts +3 -3
- package/dist/three-svg-renderer/core/SVGMesh.d.ts +5 -5
- package/dist/three-svg-renderer/core/index.d.ts +3 -3
- package/dist/three-svg-renderer/core/svg/SVGDrawHandler.d.ts +3 -3
- package/dist/three-svg-renderer/core/svg/index.d.ts +2 -2
- package/dist/three-svg-renderer/core/svg/passes/ChainPass.d.ts +3 -3
- package/dist/three-svg-renderer/core/svg/passes/DrawPass.d.ts +1 -1
- package/dist/three-svg-renderer/core/svg/passes/FillPass.d.ts +2 -2
- package/dist/three-svg-renderer/core/svg/passes/SingularityPointPass.d.ts +2 -2
- package/dist/three-svg-renderer/core/svg/passes/index.d.ts +4 -4
- package/dist/three-svg-renderer/core/svg/svgutils.d.ts +1 -1
- package/dist/three-svg-renderer/core/viewmap/Chain.d.ts +5 -5
- package/dist/three-svg-renderer/core/viewmap/Polygon.d.ts +2 -2
- package/dist/three-svg-renderer/core/viewmap/ViewEdge.d.ts +4 -4
- package/dist/three-svg-renderer/core/viewmap/ViewVertex.d.ts +3 -3
- package/dist/three-svg-renderer/core/viewmap/Viewmap.d.ts +10 -10
- package/dist/three-svg-renderer/core/viewmap/index.d.ts +5 -5
- package/dist/three-svg-renderer/core/viewmap/operations/assignPolygons.d.ts +2 -2
- package/dist/three-svg-renderer/core/viewmap/operations/computeChainsVisibility.d.ts +3 -3
- package/dist/three-svg-renderer/core/viewmap/operations/computeMeshIntersections.d.ts +2 -2
- package/dist/three-svg-renderer/core/viewmap/operations/computePolygons.d.ts +1 -5
- package/dist/three-svg-renderer/core/viewmap/operations/computePolygons.d.ts.map +1 -1
- package/dist/three-svg-renderer/core/viewmap/operations/createChains.d.ts +4 -4
- package/dist/three-svg-renderer/core/viewmap/operations/createViewVertex.d.ts +3 -3
- package/dist/three-svg-renderer/core/viewmap/operations/find2dSingularities.d.ts +1 -1
- package/dist/three-svg-renderer/core/viewmap/operations/find3dSingularities.d.ts +5 -5
- package/dist/three-svg-renderer/core/viewmap/operations/meshIntersectionCb.d.ts +3 -3
- package/dist/three-svg-renderer/core/viewmap/operations/setupEdges.d.ts +4 -4
- package/dist/three-svg-renderer/core/viewmap/operations/splitEdge.d.ts +4 -4
- package/dist/three-svg-renderer/index.d.ts +3 -3
- package/dist/three-svg-renderer/utils/buffergeometry.d.ts +2 -2
- package/dist/three-svg-renderer/utils/geometry.d.ts +1 -1
- package/dist/three-svg-renderer/utils/index.d.ts +3 -3
- package/dist/three-svg-renderer/utils/orientationtests.d.ts +1 -1
- package/docs/assets/hierarchy.js +1 -1
- package/docs/assets/icons.js +1 -1
- package/docs/assets/icons.svg +1 -1
- package/docs/assets/main.js +2 -2
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +3 -3
- package/docs/classes/BasicSVGRenderer.html +2 -2
- package/docs/classes/BasicSVGRendererPlugin.html +5 -4
- package/docs/classes/DrawPass.html +6 -6
- package/docs/classes/FillPass.html +6 -6
- package/docs/classes/SVGDrawHandler.html +2 -2
- package/docs/classes/SVGDrawInfo.html +2 -2
- package/docs/classes/SVGMesh.html +3 -3
- package/docs/classes/SVGRenderInfo.html +2 -2
- package/docs/classes/SVGRenderer.html +10 -10
- package/docs/classes/ThreeSVGRendererPlugin.html +15 -14
- package/docs/classes/Viewmap.html +2 -2
- package/docs/classes/ViewmapBuildInfo.html +3 -3
- package/docs/hierarchy.html +1 -1
- package/docs/interfaces/FillPassOptions.html +5 -5
- package/docs/interfaces/SVGDrawOptions.html +2 -2
- package/docs/interfaces/SVGMeshOptions.html +2 -2
- package/docs/interfaces/SVGTexture.html +3 -3
- package/docs/interfaces/ViewmapOptions.html +2 -2
- package/package.json +12 -2
- package/src/three-svg-renderer/core/viewmap/operations/computePolygons.ts +2 -2
- package/tsconfig.json +1 -0
- package/docs/.nojekyll +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,13 @@ All notable changes to this plugin will be documented in this file.
|
|
|
10
10
|
|
|
11
11
|
- NA
|
|
12
12
|
|
|
13
|
+
## [0.2.6] - 2026-10-23
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- `@svgdotjs/svg.js` and `three-mesh-bvh` (bundled) are optional `peerDependencies`: install them for full types with `skipLibCheck: false` ([#60](https://github.com/repalash/threepipe/pull/60))
|
|
18
|
+
- Type declarations resolve in consumer projects with `moduleResolution: bundler`, `node16` and `nodenext` ([#60](https://github.com/repalash/threepipe/pull/60)): the `.d.ts` files imported `../../threepipe` from a tsconfig `paths` alias, which resolves nowhere; relative imports carry `.js`
|
|
19
|
+
|
|
13
20
|
## [0.2.5] - 2025-09-03
|
|
14
21
|
|
|
15
22
|
### Changed
|
|
@@ -17,5 +24,6 @@ All notable changes to this plugin will be documented in this file.
|
|
|
17
24
|
- Update [threepipe](https://threepipe.org/) `peerDependency` to [0.1.0](https://github.com/repalash/threepipe/releases/tag/v0.1.0)
|
|
18
25
|
|
|
19
26
|
[unreleased]: https://github.com/repalash/threepipe/tree/dev/plugins/svg-renderer
|
|
27
|
+
[0.2.6]: https://github.com/repalash/threepipe/releases/tag/@threepipe/plugin-svg-renderer-0.2.6
|
|
20
28
|
[0.2.4]: https://github.com/repalash/threepipe/releases/tag/@threepipe/plugin-svg-renderer-v0.2.4
|
|
21
|
-
[0.2.5]: https://github.com/repalash/threepipe/releases/tag/@threepipe/plugin-svg-renderer-
|
|
29
|
+
[0.2.5]: https://github.com/repalash/threepipe/releases/tag/@threepipe/plugin-svg-renderer-0.2.5
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AViewerPluginSync, IViewerEvent, ThreeViewer } from 'threepipe';
|
|
2
|
-
import { BasicSVGRenderer } from './basic/BasicSVGRenderer';
|
|
2
|
+
import { BasicSVGRenderer } from './basic/BasicSVGRenderer.js';
|
|
3
3
|
/**
|
|
4
4
|
* SVG rendering of 3d objects using SVGRenderer from three/addons
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AViewerPluginSync, IObject3D, IViewerEvent, ThreeViewer, Vector2 } from 'threepipe';
|
|
2
|
-
import { FillPass, SVGMesh, SVGRenderer } from './three-svg-renderer';
|
|
2
|
+
import { FillPass, SVGMesh, SVGRenderer } from './three-svg-renderer/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* SVG Rendering from 3d scenes helper plugin using [three-svg-renderer](https://www.npmjs.com/package/three-svg-renderer) (GPLV3 Licenced)
|
|
5
5
|
*/
|
package/dist/dependencies.txt
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
Name: three
|
|
2
|
-
Version: 0.
|
|
1
|
+
Name: three-modded
|
|
2
|
+
Version: 0.168.10008
|
|
3
3
|
License: MIT
|
|
4
4
|
Private: false
|
|
5
5
|
Description: JavaScript 3D library
|
|
6
|
-
Repository: https://github.com/
|
|
6
|
+
Repository: https://github.com/repalash/three.js-modded
|
|
7
7
|
Homepage: https://threejs.org/
|
|
8
8
|
Author: mrdoob
|
|
9
|
-
License
|
|
9
|
+
License Text:
|
|
10
10
|
===
|
|
11
11
|
|
|
12
12
|
The MIT License
|
|
13
13
|
|
|
14
|
-
Copyright © 2010-
|
|
14
|
+
Copyright © 2010-2024 three.js authors
|
|
15
15
|
|
|
16
16
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
17
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -34,14 +34,14 @@ THE SOFTWARE.
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
36
|
Name: ts-browser-helpers
|
|
37
|
-
Version: 0.
|
|
37
|
+
Version: 0.20.0
|
|
38
38
|
License: MIT
|
|
39
39
|
Private: false
|
|
40
40
|
Description: A collection of utility classes, functions and decorators for javascript/typescript projects, for use in the browser.
|
|
41
41
|
Repository: git://github.com/repalash/ts-browser-helpers.git
|
|
42
42
|
Homepage: https://github.com/repalash/ts-browser-helpers#readme
|
|
43
43
|
Author: repalash <palash@shaders.app>
|
|
44
|
-
License
|
|
44
|
+
License Text:
|
|
45
45
|
===
|
|
46
46
|
|
|
47
47
|
MIT License
|
|
@@ -69,14 +69,14 @@ SOFTWARE.
|
|
|
69
69
|
---
|
|
70
70
|
|
|
71
71
|
Name: uiconfig.js
|
|
72
|
-
Version: 0.
|
|
72
|
+
Version: 0.4.0
|
|
73
73
|
License: MIT
|
|
74
74
|
Private: false
|
|
75
75
|
Description: A framework for building user interface layouts with JSON configuration.
|
|
76
76
|
Repository: git+https://github.com/repalash/uiconfig.js.git
|
|
77
77
|
Homepage: https://github.com/repalash/uiconfig.js#readme
|
|
78
78
|
Author: repalash <palash@shaders.app>
|
|
79
|
-
License
|
|
79
|
+
License Text:
|
|
80
80
|
===
|
|
81
81
|
|
|
82
82
|
MIT License
|
|
@@ -109,7 +109,7 @@ License: null
|
|
|
109
109
|
Private: false
|
|
110
110
|
Description: CGAL 2D Arrangement package example
|
|
111
111
|
Author: Axel Antoine <ax.antoine@gmail.com> (https://axantoine.com)
|
|
112
|
-
License
|
|
112
|
+
License Text:
|
|
113
113
|
===
|
|
114
114
|
|
|
115
115
|
MIT License
|
|
@@ -142,7 +142,7 @@ License: MIT
|
|
|
142
142
|
Private: false
|
|
143
143
|
Description: Fast and robust triangle-triangle intersection test with high precision for cross and coplanar triangles based on the algorithm by Devillers & Guigue.
|
|
144
144
|
Author: Axel Antoine <ax.antoine@gmail.com> (https://axantoine.com)
|
|
145
|
-
License
|
|
145
|
+
License Text:
|
|
146
146
|
===
|
|
147
147
|
|
|
148
148
|
MIT License
|
|
@@ -173,7 +173,7 @@ Name: isect
|
|
|
173
173
|
Version: 3.0.2
|
|
174
174
|
License: null
|
|
175
175
|
Private: false
|
|
176
|
-
License
|
|
176
|
+
License Text:
|
|
177
177
|
===
|
|
178
178
|
|
|
179
179
|
MIT License
|
|
@@ -208,7 +208,7 @@ Description: A lightweight library for manipulating and animating SVG.
|
|
|
208
208
|
Repository: https://github.com/svgdotjs/svg.js.git
|
|
209
209
|
Homepage: https://svgjs.dev/
|
|
210
210
|
Author: Wout Fierens <wout@mick-wout.com>
|
|
211
|
-
License
|
|
211
|
+
License Text:
|
|
212
212
|
===
|
|
213
213
|
|
|
214
214
|
Copyright (c) 2012-2018 Wout Fierens
|
|
@@ -246,7 +246,7 @@ Author: Wout Fierens
|
|
|
246
246
|
Contributors:
|
|
247
247
|
Wout Fierens
|
|
248
248
|
Ulrich-Matthias Schäfer
|
|
249
|
-
License
|
|
249
|
+
License Text:
|
|
250
250
|
===
|
|
251
251
|
|
|
252
252
|
The MIT License (MIT)
|
|
@@ -281,7 +281,7 @@ Description: A BVH implementation to speed up raycasting against three.js meshes
|
|
|
281
281
|
Repository: git+https://github.com/gkjohnson/three-mesh-bvh.git
|
|
282
282
|
Homepage: https://github.com/gkjohnson/three-mesh-bvh#readme
|
|
283
283
|
Author: Garrett Johnson <garrett.kjohnson@gmail.com>
|
|
284
|
-
License
|
|
284
|
+
License Text:
|
|
285
285
|
===
|
|
286
286
|
|
|
287
287
|
MIT License
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { BasicSVGRendererPlugin } from './BasicSVGRendererPlugin';
|
|
2
|
-
export { ThreeSVGRendererPlugin } from './ThreeSVGRendererPlugin';
|
|
3
|
-
export * from './basic/BasicSVGRenderer';
|
|
4
|
-
export { FillPass, SVGMesh, SVGRenderer, DrawPass, SVGRenderInfo, SVGDrawInfo, ViewmapBuildInfo, Viewmap, SVGDrawHandler } from './three-svg-renderer';
|
|
5
|
-
export type { SVGMeshOptions, SVGDrawOptions, ViewmapOptions, FillPassOptions, SVGTexture } from './three-svg-renderer';
|
|
1
|
+
export { BasicSVGRendererPlugin } from './BasicSVGRendererPlugin.js';
|
|
2
|
+
export { ThreeSVGRendererPlugin } from './ThreeSVGRendererPlugin.js';
|
|
3
|
+
export * from './basic/BasicSVGRenderer.js';
|
|
4
|
+
export { FillPass, SVGMesh, SVGRenderer, DrawPass, SVGRenderInfo, SVGDrawInfo, ViewmapBuildInfo, Viewmap, SVGDrawHandler } from './three-svg-renderer/index.js';
|
|
5
|
+
export type { SVGMeshOptions, SVGDrawOptions, ViewmapOptions, FillPassOptions, SVGTexture } from './three-svg-renderer/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|