@threepipe/plugin-svg-renderer 0.2.5 → 0.3.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.
Files changed (109) hide show
  1. package/CHANGELOG.md +17 -3
  2. package/dist/BasicSVGRendererPlugin.d.ts +2 -2
  3. package/dist/BasicSVGRendererPlugin.d.ts.map +1 -1
  4. package/dist/ThreeSVGRendererPlugin.d.ts +2 -2
  5. package/dist/ThreeSVGRendererPlugin.d.ts.map +1 -1
  6. package/dist/dependencies.txt +91 -20
  7. package/dist/index.d.ts +5 -5
  8. package/dist/index.js +16333 -16410
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +15783 -15887
  11. package/dist/index.mjs.map +1 -1
  12. package/dist/three-mesh-halfedge/core/Face.d.ts +3 -3
  13. package/dist/three-mesh-halfedge/core/Face.d.ts.map +1 -1
  14. package/dist/three-mesh-halfedge/core/Halfedge.d.ts +3 -3
  15. package/dist/three-mesh-halfedge/core/Halfedge.d.ts.map +1 -1
  16. package/dist/three-mesh-halfedge/core/HalfedgeDS.d.ts +4 -4
  17. package/dist/three-mesh-halfedge/core/HalfedgeDS.d.ts.map +1 -1
  18. package/dist/three-mesh-halfedge/core/Vertex.d.ts +3 -3
  19. package/dist/three-mesh-halfedge/core/Vertex.d.ts.map +1 -1
  20. package/dist/three-mesh-halfedge/index.d.ts +5 -4
  21. package/dist/three-mesh-halfedge/operations/addEdge.d.ts +3 -3
  22. package/dist/three-mesh-halfedge/operations/addFace.d.ts +3 -3
  23. package/dist/three-mesh-halfedge/operations/addVertex.d.ts +3 -3
  24. package/dist/three-mesh-halfedge/operations/cutFace.d.ts +4 -4
  25. package/dist/three-mesh-halfedge/operations/removeEdge.d.ts +2 -2
  26. package/dist/three-mesh-halfedge/operations/removeFace.d.ts +2 -2
  27. package/dist/three-mesh-halfedge/operations/removeVertex.d.ts +2 -2
  28. package/dist/three-mesh-halfedge/operations/setFromGeometry.d.ts +2 -2
  29. package/dist/three-mesh-halfedge/operations/splitEdge.d.ts +4 -4
  30. package/dist/three-mesh-halfedge/setuptests.d.ts +2 -0
  31. package/dist/three-mesh-halfedge/utils/geometry.d.ts +3 -3
  32. package/dist/three-svg-renderer/SVGRenderer.d.ts +3 -3
  33. package/dist/three-svg-renderer/SVGRenderer.d.ts.map +1 -1
  34. package/dist/three-svg-renderer/core/SVGMesh.d.ts +8 -15
  35. package/dist/three-svg-renderer/core/SVGMesh.d.ts.map +1 -1
  36. package/dist/three-svg-renderer/core/index.d.ts +3 -3
  37. package/dist/three-svg-renderer/core/svg/SVGDrawHandler.d.ts +3 -3
  38. package/dist/three-svg-renderer/core/svg/SVGDrawHandler.d.ts.map +1 -1
  39. package/dist/three-svg-renderer/core/svg/index.d.ts +2 -2
  40. package/dist/three-svg-renderer/core/svg/passes/ChainPass.d.ts +3 -3
  41. package/dist/three-svg-renderer/core/svg/passes/ChainPass.d.ts.map +1 -1
  42. package/dist/three-svg-renderer/core/svg/passes/DrawPass.d.ts +1 -1
  43. package/dist/three-svg-renderer/core/svg/passes/DrawPass.d.ts.map +1 -1
  44. package/dist/three-svg-renderer/core/svg/passes/FillPass.d.ts +2 -2
  45. package/dist/three-svg-renderer/core/svg/passes/FillPass.d.ts.map +1 -1
  46. package/dist/three-svg-renderer/core/svg/passes/SingularityPointPass.d.ts +2 -2
  47. package/dist/three-svg-renderer/core/svg/passes/SingularityPointPass.d.ts.map +1 -1
  48. package/dist/three-svg-renderer/core/svg/passes/index.d.ts +4 -4
  49. package/dist/three-svg-renderer/core/svg/svgutils.d.ts +1 -1
  50. package/dist/three-svg-renderer/core/viewmap/Chain.d.ts +5 -5
  51. package/dist/three-svg-renderer/core/viewmap/Chain.d.ts.map +1 -1
  52. package/dist/three-svg-renderer/core/viewmap/Polygon.d.ts +2 -2
  53. package/dist/three-svg-renderer/core/viewmap/Polygon.d.ts.map +1 -1
  54. package/dist/three-svg-renderer/core/viewmap/ViewEdge.d.ts +4 -4
  55. package/dist/three-svg-renderer/core/viewmap/ViewEdge.d.ts.map +1 -1
  56. package/dist/three-svg-renderer/core/viewmap/ViewVertex.d.ts +3 -3
  57. package/dist/three-svg-renderer/core/viewmap/ViewVertex.d.ts.map +1 -1
  58. package/dist/three-svg-renderer/core/viewmap/Viewmap.d.ts +10 -10
  59. package/dist/three-svg-renderer/core/viewmap/Viewmap.d.ts.map +1 -1
  60. package/dist/three-svg-renderer/core/viewmap/index.d.ts +5 -5
  61. package/dist/three-svg-renderer/core/viewmap/operations/assignPolygons.d.ts +2 -2
  62. package/dist/three-svg-renderer/core/viewmap/operations/computeChainsVisibility.d.ts +3 -3
  63. package/dist/three-svg-renderer/core/viewmap/operations/computeMeshIntersections.d.ts +2 -2
  64. package/dist/three-svg-renderer/core/viewmap/operations/computePolygons.d.ts +1 -5
  65. package/dist/three-svg-renderer/core/viewmap/operations/computePolygons.d.ts.map +1 -1
  66. package/dist/three-svg-renderer/core/viewmap/operations/createChains.d.ts +4 -4
  67. package/dist/three-svg-renderer/core/viewmap/operations/createViewVertex.d.ts +3 -3
  68. package/dist/three-svg-renderer/core/viewmap/operations/find2dSingularities.d.ts +1 -1
  69. package/dist/three-svg-renderer/core/viewmap/operations/find3dSingularities.d.ts +5 -5
  70. package/dist/three-svg-renderer/core/viewmap/operations/meshIntersectionCb.d.ts +3 -3
  71. package/dist/three-svg-renderer/core/viewmap/operations/setupEdges.d.ts +4 -4
  72. package/dist/three-svg-renderer/core/viewmap/operations/splitEdge.d.ts +4 -4
  73. package/dist/three-svg-renderer/index.d.ts +3 -3
  74. package/dist/three-svg-renderer/setuptests.d.ts +1 -0
  75. package/dist/three-svg-renderer/utils/buffergeometry.d.ts +2 -2
  76. package/dist/three-svg-renderer/utils/geometry.d.ts +1 -1
  77. package/dist/three-svg-renderer/utils/index.d.ts +3 -3
  78. package/dist/three-svg-renderer/utils/orientationtests.d.ts +2 -2
  79. package/docs/assets/hierarchy.js +1 -1
  80. package/docs/assets/highlight.css +1 -1
  81. package/docs/assets/icons.js +1 -1
  82. package/docs/assets/icons.svg +1 -1
  83. package/docs/assets/main.js +4 -4
  84. package/docs/assets/search.js +1 -1
  85. package/docs/assets/style.css +21 -6
  86. package/docs/classes/BasicSVGRenderer.html +102 -3
  87. package/docs/classes/BasicSVGRendererPlugin.html +417 -8
  88. package/docs/classes/DrawPass.html +119 -10
  89. package/docs/classes/FillPass.html +147 -10
  90. package/docs/classes/SVGDrawHandler.html +104 -4
  91. package/docs/classes/SVGDrawInfo.html +74 -3
  92. package/docs/classes/SVGMesh.html +284 -8
  93. package/docs/classes/SVGRenderInfo.html +84 -3
  94. package/docs/classes/SVGRenderer.html +158 -13
  95. package/docs/classes/ThreeSVGRendererPlugin.html +577 -18
  96. package/docs/classes/Viewmap.html +168 -4
  97. package/docs/classes/ViewmapBuildInfo.html +91 -4
  98. package/docs/hierarchy.html +32 -1
  99. package/docs/index.html +38 -1
  100. package/docs/interfaces/FillPassOptions.html +93 -7
  101. package/docs/interfaces/SVGDrawOptions.html +54 -2
  102. package/docs/interfaces/SVGMeshOptions.html +54 -2
  103. package/docs/interfaces/SVGTexture.html +66 -5
  104. package/docs/interfaces/ViewmapOptions.html +69 -2
  105. package/package.json +12 -2
  106. package/src/ThreeSVGRendererPlugin.ts +2 -2
  107. package/src/three-svg-renderer/core/SVGMesh.ts +6 -14
  108. package/src/three-svg-renderer/core/viewmap/operations/computePolygons.ts +3 -3
  109. package/tsconfig.json +3 -2
@@ -1,2 +1,54 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SVGMeshOptions | Threepipe SVG Rendering Plugins</title><meta name="description" content="Documentation for Threepipe SVG Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Threepipe SVG Rendering Plugins</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SVGMeshOptions</a></li></ul><h1>Interface SVGMeshOptions</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">SVGMeshOptions</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bvhoptions">bvhOptions</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MeshBVHOptions</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L27" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:27</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#bvhoptions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bvh<wbr/>Options?</span></a>
2
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="bvhoptions"><code class="tsd-tag">Optional</code><span>bvh<wbr/>Options</span><a href="#bvhoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bvhOptions</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MeshBVHOptions</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L28" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:28</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#bvhoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bvh<wbr/>Options</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Threepipe SVG Rendering Plugins</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SVGMeshOptions | Threepipe SVG Rendering Plugins</title><meta name="description" content="Documentation for Threepipe SVG Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Threepipe SVG Rendering Plugins</a>
3
+ <div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
4
+ <ul role="listbox" id="tsd-search-results"></ul>
5
+ <div id="tsd-search-status" aria-live="polite" aria-atomic="true">
6
+ <div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
7
+ <div class="container container-main">
8
+ <div class="col-content">
9
+ <div class="tsd-page-title">
10
+ <ul class="tsd-breadcrumb" aria-label="Breadcrumb">
11
+ <li><a href="" aria-current="page">SVGMeshOptions</a></li></ul>
12
+ <h1>Interface SVGMeshOptions</h1></div>
13
+ <div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">SVGMeshOptions</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#bvhoptions">bvhOptions</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">BVHOptions</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
14
+ <ul>
15
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L25" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:25</a></li></ul></aside>
16
+ <section class="tsd-panel-group tsd-index-group">
17
+ <section class="tsd-panel tsd-index-panel">
18
+ <details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
19
+ <h5 class="tsd-index-heading uppercase">Index</h5></summary>
20
+ <div class="tsd-accordion-details">
21
+ <section class="tsd-index-section">
22
+ <h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
23
+ <div class="tsd-index-list"><a href="#bvhoptions" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bvh<wbr/>Options?</span></a>
24
+ </div></section></div></details></section></section>
25
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
26
+ <h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
27
+ <section>
28
+ <section class="tsd-panel tsd-member">
29
+ <h3 class="tsd-anchor-link" id="bvhoptions"><code class="tsd-tag">Optional</code><span>bvh<wbr/>Options</span><a href="#bvhoptions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
30
+ <div class="tsd-signature"><span class="tsd-kind-property">bvhOptions</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">BVHOptions</span></div><aside class="tsd-sources">
31
+ <ul>
32
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L26" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:26</a></li></ul></aside></section></section></details></div>
33
+ <div class="col-sidebar">
34
+ <div class="page-menu">
35
+ <div class="tsd-navigation settings">
36
+ <details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
37
+ <h3>Settings</h3></summary>
38
+ <div class="tsd-accordion-details">
39
+ <div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
40
+ <ul id="tsd-filter-options">
41
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
42
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
43
+ <div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
44
+ <details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
45
+ <h3>On This Page</h3></summary>
46
+ <div class="tsd-accordion-details">
47
+ <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
48
+ <div><a href="#bvhoptions"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bvh<wbr/>Options</span></a></div></details></div></details></div>
49
+ <div class="site-menu">
50
+ <nav class="tsd-navigation"><a href="../index.html">Threepipe SVG Rendering Plugins</a>
51
+ <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
52
+ <li>Loading...</li></ul></nav></div></div></div><footer>
53
+ <p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
54
+ <div class="overlay"></div></body></html>
@@ -1,7 +1,68 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SVGTexture | Threepipe SVG Rendering Plugins</title><meta name="description" content="Documentation for Threepipe SVG Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Threepipe SVG Rendering Plugins</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SVGTexture</a></li></ul><h1>Interface SVGTexture</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>SVGTexture allows to add a texture to a SVGMesh.
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SVGTexture | Threepipe SVG Rendering Plugins</title><meta name="description" content="Documentation for Threepipe SVG Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Threepipe SVG Rendering Plugins</a>
3
+ <div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
4
+ <ul role="listbox" id="tsd-search-results"></ul>
5
+ <div id="tsd-search-status" aria-live="polite" aria-atomic="true">
6
+ <div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
7
+ <div class="container container-main">
8
+ <div class="col-content">
9
+ <div class="tsd-page-title">
10
+ <ul class="tsd-breadcrumb" aria-label="Breadcrumb">
11
+ <li><a href="" aria-current="page">SVGTexture</a></li></ul>
12
+ <h1>Interface SVGTexture</h1></div>
13
+ <section class="tsd-panel tsd-comment">
14
+ <div class="tsd-comment tsd-typography"><p>SVGTexture allows to add a texture to a SVGMesh.
2
15
  Raster image (.jpeg, .png) or vector graphics (.svg) are supported.</p>
3
- </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">SVGTexture</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#name">name</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#url">url</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L35" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:35</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
16
+ </div></section>
17
+ <div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">SVGTexture</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#name">name</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#url">url</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
18
+ <ul>
19
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L33" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:33</a></li></ul></aside>
20
+ <section class="tsd-panel-group tsd-index-group">
21
+ <section class="tsd-panel tsd-index-panel">
22
+ <details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
23
+ <h5 class="tsd-index-heading uppercase">Index</h5></summary>
24
+ <div class="tsd-accordion-details">
25
+ <section class="tsd-index-section">
26
+ <h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
27
+ <div class="tsd-index-list"><a href="#name" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a>
4
28
  <a href="#url" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url</span></a>
5
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Name of the texture</p>
6
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L39" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="url"><span>url</span><a href="#url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>DataUrl to the image and vector graphics texture</p>
7
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L43" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:43</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#url"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Threepipe SVG Rendering Plugins</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
29
+ </div></section></div></details></section></section>
30
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
31
+ <h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
32
+ <section>
33
+ <section class="tsd-panel tsd-member">
34
+ <h3 class="tsd-anchor-link" id="name"><span>name</span><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
35
+ <div class="tsd-signature"><span class="tsd-kind-property">name</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
36
+ <div class="tsd-comment tsd-typography"><p>Name of the texture</p>
37
+ </div><aside class="tsd-sources">
38
+ <ul>
39
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L37" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:37</a></li></ul></aside></section>
40
+ <section class="tsd-panel tsd-member">
41
+ <h3 class="tsd-anchor-link" id="url"><span>url</span><a href="#url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
42
+ <div class="tsd-signature"><span class="tsd-kind-property">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
43
+ <div class="tsd-comment tsd-typography"><p>DataUrl to the image and vector graphics texture</p>
44
+ </div><aside class="tsd-sources">
45
+ <ul>
46
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts#L41" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/SVGMesh.ts:41</a></li></ul></aside></section></section></details></div>
47
+ <div class="col-sidebar">
48
+ <div class="page-menu">
49
+ <div class="tsd-navigation settings">
50
+ <details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
51
+ <h3>Settings</h3></summary>
52
+ <div class="tsd-accordion-details">
53
+ <div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
54
+ <ul id="tsd-filter-options">
55
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
56
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
57
+ <div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
58
+ <details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
59
+ <h3>On This Page</h3></summary>
60
+ <div class="tsd-accordion-details">
61
+ <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
62
+ <div><a href="#name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>name</span></a><a href="#url"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url</span></a></div></details></div></details></div>
63
+ <div class="site-menu">
64
+ <nav class="tsd-navigation"><a href="../index.html">Threepipe SVG Rendering Plugins</a>
65
+ <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
66
+ <li>Loading...</li></ul></nav></div></div></div><footer>
67
+ <p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
68
+ <div class="overlay"></div></body></html>
@@ -1,5 +1,72 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ViewmapOptions | Threepipe SVG Rendering Plugins</title><meta name="description" content="Documentation for Threepipe SVG Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Threepipe SVG Rendering Plugins</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">ViewmapOptions</a></li></ul><h1>Interface ViewmapOptions</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ViewmapOptions</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#creaseangle">creaseAngle</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">max</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">min</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#defaultmeshcolor">defaultMeshColor</a><span class="tsd-signature-symbol">?:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">ColorRepresentation</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#ignorevisibility">ignoreVisibility</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#updatemeshes">updateMeshes</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L43" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:43</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#creaseangle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>crease<wbr/>Angle?</span></a>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ViewmapOptions | Threepipe SVG Rendering Plugins</title><meta name="description" content="Documentation for Threepipe SVG Rendering Plugins"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
2
+ <div class="tsd-toolbar-contents container"><a href="../index.html" class="title">Threepipe SVG Rendering Plugins</a>
3
+ <div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
4
+ <ul role="listbox" id="tsd-search-results"></ul>
5
+ <div id="tsd-search-status" aria-live="polite" aria-atomic="true">
6
+ <div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
7
+ <div class="container container-main">
8
+ <div class="col-content">
9
+ <div class="tsd-page-title">
10
+ <ul class="tsd-breadcrumb" aria-label="Breadcrumb">
11
+ <li><a href="" aria-current="page">ViewmapOptions</a></li></ul>
12
+ <h1>Interface ViewmapOptions</h1></div>
13
+ <div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">ViewmapOptions</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#creaseangle">creaseAngle</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">max</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">min</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#defaultmeshcolor">defaultMeshColor</a><span class="tsd-signature-symbol">?:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">ColorRepresentation</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#ignorevisibility">ignoreVisibility</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#updatemeshes">updateMeshes</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
14
+ <ul>
15
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L43" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:43</a></li></ul></aside>
16
+ <section class="tsd-panel-group tsd-index-group">
17
+ <section class="tsd-panel tsd-index-panel">
18
+ <details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
19
+ <h5 class="tsd-index-heading uppercase">Index</h5></summary>
20
+ <div class="tsd-accordion-details">
21
+ <section class="tsd-index-section">
22
+ <h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
23
+ <div class="tsd-index-list"><a href="#creaseangle" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>crease<wbr/>Angle?</span></a>
2
24
  <a href="#defaultmeshcolor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Mesh<wbr/>Color?</span></a>
3
25
  <a href="#ignorevisibility" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ignore<wbr/>Visibility?</span></a>
4
26
  <a href="#updatemeshes" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>update<wbr/>Meshes?</span></a>
5
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="creaseangle"><code class="tsd-tag">Optional</code><span>crease<wbr/>Angle</span><a href="#creaseangle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">creaseAngle</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">max</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">min</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L47" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:47</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="defaultmeshcolor"><code class="tsd-tag">Optional</code><span>default<wbr/>Mesh<wbr/>Color</span><a href="#defaultmeshcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">defaultMeshColor</span><span class="tsd-signature-symbol">?:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">ColorRepresentation</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L46" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:46</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="ignorevisibility"><code class="tsd-tag">Optional</code><span>ignore<wbr/>Visibility</span><a href="#ignorevisibility" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">ignoreVisibility</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L45" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:45</a></li></ul></aside></section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="updatemeshes"><code class="tsd-tag">Optional</code><span>update<wbr/>Meshes</span><a href="#updatemeshes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">updateMeshes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/repalash/threepipe/blob/74c00035a8d54e74712537c230a6f39fa26995ca/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L44" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:44</a></li></ul></aside></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#creaseangle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>crease<wbr/>Angle</span></a><a href="#defaultmeshcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Mesh<wbr/>Color</span></a><a href="#ignorevisibility"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ignore<wbr/>Visibility</span></a><a href="#updatemeshes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>update<wbr/>Meshes</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html">Threepipe SVG Rendering Plugins</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
27
+ </div></section></div></details></section></section>
28
+ <details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
29
+ <h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
30
+ <section>
31
+ <section class="tsd-panel tsd-member">
32
+ <h3 class="tsd-anchor-link" id="creaseangle"><code class="tsd-tag">Optional</code><span>crease<wbr/>Angle</span><a href="#creaseangle" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
33
+ <div class="tsd-signature"><span class="tsd-kind-property">creaseAngle</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">max</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">min</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span> <span class="tsd-signature-symbol">}</span></div><aside class="tsd-sources">
34
+ <ul>
35
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L47" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:47</a></li></ul></aside></section>
36
+ <section class="tsd-panel tsd-member">
37
+ <h3 class="tsd-anchor-link" id="defaultmeshcolor"><code class="tsd-tag">Optional</code><span>default<wbr/>Mesh<wbr/>Color</span><a href="#defaultmeshcolor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
38
+ <div class="tsd-signature"><span class="tsd-kind-property">defaultMeshColor</span><span class="tsd-signature-symbol">?:</span> <a href="https://threejs.org/docs" class="tsd-signature-type external" target="_blank">ColorRepresentation</a></div><aside class="tsd-sources">
39
+ <ul>
40
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L46" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:46</a></li></ul></aside></section>
41
+ <section class="tsd-panel tsd-member">
42
+ <h3 class="tsd-anchor-link" id="ignorevisibility"><code class="tsd-tag">Optional</code><span>ignore<wbr/>Visibility</span><a href="#ignorevisibility" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
43
+ <div class="tsd-signature"><span class="tsd-kind-property">ignoreVisibility</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
44
+ <ul>
45
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L45" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:45</a></li></ul></aside></section>
46
+ <section class="tsd-panel tsd-member">
47
+ <h3 class="tsd-anchor-link" id="updatemeshes"><code class="tsd-tag">Optional</code><span>update<wbr/>Meshes</span><a href="#updatemeshes" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
48
+ <div class="tsd-signature"><span class="tsd-kind-property">updateMeshes</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources">
49
+ <ul>
50
+ <li>Defined in <a href="https://github.com/repalash/threepipe/blob/22e60ca1980038c64d4fb4661ac2b8dab0cb1b52/plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts#L44" class="external" target="_blank">plugins/svg-renderer/src/three-svg-renderer/core/viewmap/Viewmap.ts:44</a></li></ul></aside></section></section></details></div>
51
+ <div class="col-sidebar">
52
+ <div class="page-menu">
53
+ <div class="tsd-navigation settings">
54
+ <details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
55
+ <h3>Settings</h3></summary>
56
+ <div class="tsd-accordion-details">
57
+ <div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
58
+ <ul id="tsd-filter-options">
59
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
60
+ <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div>
61
+ <div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
62
+ <details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
63
+ <h3>On This Page</h3></summary>
64
+ <div class="tsd-accordion-details">
65
+ <details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
66
+ <div><a href="#creaseangle"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>crease<wbr/>Angle</span></a><a href="#defaultmeshcolor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>default<wbr/>Mesh<wbr/>Color</span></a><a href="#ignorevisibility"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>ignore<wbr/>Visibility</span></a><a href="#updatemeshes"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>update<wbr/>Meshes</span></a></div></details></div></details></div>
67
+ <div class="site-menu">
68
+ <nav class="tsd-navigation"><a href="../index.html">Threepipe SVG Rendering Plugins</a>
69
+ <ul class="tsd-small-nested-navigation" id="tsd-nav-container">
70
+ <li>Loading...</li></ul></nav></div></div></div><footer>
71
+ <p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
72
+ <div class="overlay"></div></body></html>
package/package.json CHANGED
@@ -1,10 +1,20 @@
1
1
  {
2
2
  "name": "@threepipe/plugin-svg-renderer",
3
3
  "description": "Plugins for SVG Rendering of 3d objects for Threepipe",
4
- "version": "0.2.5",
4
+ "version": "0.3.0",
5
5
  "dependencies": {},
6
6
  "peerDependencies": {
7
- "threepipe": ">=0.1.0"
7
+ "threepipe": ">=0.1.0",
8
+ "@svgdotjs/svg.js": "^3.2.0",
9
+ "three-mesh-bvh": "^0.9.18"
10
+ },
11
+ "peerDependenciesMeta": {
12
+ "@svgdotjs/svg.js": {
13
+ "optional": true
14
+ },
15
+ "three-mesh-bvh": {
16
+ "optional": true
17
+ }
8
18
  },
9
19
  "exports": {
10
20
  ".": {
@@ -200,7 +200,7 @@ export class ThreeSVGRendererPlugin extends AViewerPluginSync {
200
200
 
201
201
  protected _onMeshDispose(ev: any) {
202
202
  if (!ev.target) return
203
- const mesh = ev.target as Mesh
203
+ const mesh = ev.target as IObject3D
204
204
  const svgMesh = this._meshes.get(mesh.uuid)
205
205
  if (!svgMesh) return
206
206
  svgMesh.dispose()
@@ -210,7 +210,7 @@ export class ThreeSVGRendererPlugin extends AViewerPluginSync {
210
210
  }
211
211
  protected _onMeshUpdate(ev: any) {
212
212
  if (!ev.target) return
213
- const mesh = ev.target as Mesh
213
+ const mesh = ev.target as IObject3D
214
214
  const svgMesh = this._meshes.get(mesh.uuid)
215
215
  if (!svgMesh) return
216
216
  svgMesh.updateObject()
@@ -14,18 +14,16 @@ import {Color, Material, Mesh, Vector3} from 'three';
14
14
  import {HalfedgeDS} from '../../three-mesh-halfedge';
15
15
  import {
16
16
  acceleratedRaycast,
17
+ BVHOptions,
17
18
  CENTER,
18
- computeBoundsTree,
19
- disposeBoundsTree,
20
- MeshBVH,
21
- MeshBVHOptions
19
+ MeshBVH
22
20
  } from 'three-mesh-bvh';
23
21
  import {computeMorphedGeometry, disposeMesh} from '../utils/buffergeometry';
24
22
 
25
23
  type ColorMaterial = Material & {color: Color};
26
24
 
27
25
  export interface SVGMeshOptions {
28
- bvhOptions?: MeshBVHOptions;
26
+ bvhOptions?: BVHOptions;
29
27
  }
30
28
 
31
29
  /**
@@ -43,13 +41,7 @@ export interface SVGTexture {
43
41
  url: string;
44
42
  }
45
43
 
46
- declare module 'three/src/core/BufferGeometry.js' {
47
- export interface BufferGeometry {
48
- boundsTree?: MeshBVH;
49
- computeBoundsTree: typeof computeBoundsTree;
50
- disposeBoundsTree: typeof disposeBoundsTree;
51
- }
52
- }
44
+ // BufferGeometry.boundsTree is declared by three-mesh-bvh (GeometryBVH, which MeshBVH extends)
53
45
 
54
46
 
55
47
  /**
@@ -62,7 +54,7 @@ export class SVGMesh {
62
54
  readonly sourceMesh: Mesh;
63
55
  readonly threeMesh = new Mesh();
64
56
  readonly hes: HalfedgeDS;
65
- readonly bvhOptions: MeshBVHOptions;
57
+ readonly bvhOptions: BVHOptions;
66
58
  bvh: MeshBVH;
67
59
  drawFills = true;
68
60
  drawVisibleContours = true;
@@ -94,7 +86,7 @@ export class SVGMesh {
94
86
 
95
87
  // Setup BVH
96
88
  const bvhOptions = {
97
- maxLeafTris: 1,
89
+ targetLeafSize: 1,
98
90
  strategy: CENTER,
99
91
  ...options?.bvhOptions
100
92
  }
@@ -12,7 +12,7 @@
12
12
  * Licence: Licence.md
13
13
  */
14
14
 
15
- import Arrangement2D from 'arrangement-2d-js';
15
+ import Arrangement2D from '@threepipe/arrangement-2d-js';
16
16
  import {Vector2} from 'three';
17
17
  import {ChainVisibility} from '../Chain';
18
18
  import {Polygon} from '../Polygon';
@@ -90,7 +90,7 @@ export async function computePolygons(
90
90
  Arr2D.destroy(p);
91
91
  }
92
92
 
93
- export function convertContourList(
93
+ function convertContourList(
94
94
  vector: Arrangement2D.ContourList) : Array<Array<Vector2>> {
95
95
 
96
96
  const array = new Array<Array<Vector2>>();
@@ -100,7 +100,7 @@ export function convertContourList(
100
100
  return array;
101
101
  }
102
102
 
103
- export function convertContour(
103
+ function convertContour(
104
104
  contour: Arrangement2D.Contour) : Array<Vector2> {
105
105
 
106
106
  const array = new Array<Vector2>();
package/tsconfig.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "baseUrl": "./src",
3
+ "strict": false,
4
+ "types": ["*"],
4
5
  "rootDir": "./src",
5
6
  "allowJs": true,
6
7
  "checkJs": false,
@@ -24,9 +25,9 @@
24
25
  "sourceMap": true,
25
26
  "target": "ES2021",
26
27
  "strictNullChecks": true,
28
+ "allowImportingTsExtensions": true,
27
29
  "paths": {
28
30
  "three-mesh-halfedge": ["./src/three-mesh-halfedge"],
29
- "three": ["threepipe"],
30
31
  },
31
32
  "lib": [
32
33
  "es2020",