Skip to content

Commit

Permalink
deploy: 9dc35d9
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawkey committed Jun 19, 2024
1 parent 1b028f1 commit 9889a2f
Show file tree
Hide file tree
Showing 34 changed files with 356 additions and 156 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 375d3e1f534bfd4e357548e62cd87315
config: 8e0b12d84ed36ef6bd349268c473dd67
tags: d77d1c0d9ca2f4c8421862c7c5a0d620
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/mesh.doctree
Binary file not shown.
Binary file modified .doctrees/ops.doctree
Binary file not shown.
10 changes: 5 additions & 5 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../genindex/" /><link rel="search" title="Search" href="../search/" />

<link rel="shortcut icon" href="../_static/icon.png"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
<title>Overview: module code - kiui 0.2.9 documentation</title>
<title>Overview: module code - kiui 0.2.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=387cc868" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo-extensions.css?v=36a5483c" />


Expand Down Expand Up @@ -180,7 +180,7 @@
</label>
</div>
<div class="header-center">
<a href="../"><div class="brand">kiui 0.2.9 documentation</div></a>
<a href="../"><div class="brand">kiui 0.2.10 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand Down Expand Up @@ -313,12 +313,12 @@ <h1>All modules for which code is available</h1>

</aside>
</div>
</div><script src="../_static/documentation_options.js?v=4c327c81"></script>
</div><script src="../_static/documentation_options.js?v=3ffd9a0a"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=4e2eecee"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../_static/copybutton.js?v=f281be69"></script>
<script src="../_static/design-tabs.js?v=36754332"></script>
<script src="../_static/design-tabs.js?v=f930bc37"></script>
</body>
</html>
10 changes: 5 additions & 5 deletions _modules/kiui/cam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../../genindex/" /><link rel="search" title="Search" href="../../../search/" />

<link rel="shortcut icon" href="../../../_static/icon.png"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
<title>kiui.cam - kiui 0.2.9 documentation</title>
<title>kiui.cam - kiui 0.2.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=387cc868" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=36a5483c" />


Expand Down Expand Up @@ -180,7 +180,7 @@
</label>
</div>
<div class="header-center">
<a href="../../../"><div class="brand">kiui 0.2.9 documentation</div></a>
<a href="../../../"><div class="brand">kiui 0.2.10 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand Down Expand Up @@ -719,12 +719,12 @@ <h1>Source code for kiui.cam</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../../_static/documentation_options.js?v=4c327c81"></script>
</div><script src="../../../_static/documentation_options.js?v=3ffd9a0a"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/scripts/furo.js?v=4e2eecee"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../../_static/copybutton.js?v=f281be69"></script>
<script src="../../../_static/design-tabs.js?v=36754332"></script>
<script src="../../../_static/design-tabs.js?v=f930bc37"></script>
</body>
</html>
10 changes: 5 additions & 5 deletions _modules/kiui/grid_put/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../../genindex/" /><link rel="search" title="Search" href="../../../search/" />

<link rel="shortcut icon" href="../../../_static/icon.png"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
<title>kiui.grid_put - kiui 0.2.9 documentation</title>
<title>kiui.grid_put - kiui 0.2.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=387cc868" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=36a5483c" />


Expand Down Expand Up @@ -180,7 +180,7 @@
</label>
</div>
<div class="header-center">
<a href="../../../"><div class="brand">kiui 0.2.9 documentation</div></a>
<a href="../../../"><div class="brand">kiui 0.2.10 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand Down Expand Up @@ -620,12 +620,12 @@ <h1>Source code for kiui.grid_put</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../../_static/documentation_options.js?v=4c327c81"></script>
</div><script src="../../../_static/documentation_options.js?v=3ffd9a0a"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/scripts/furo.js?v=4e2eecee"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../../_static/copybutton.js?v=f281be69"></script>
<script src="../../../_static/design-tabs.js?v=36754332"></script>
<script src="../../../_static/design-tabs.js?v=f930bc37"></script>
</body>
</html>
10 changes: 5 additions & 5 deletions _modules/kiui/mesh/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../../genindex/" /><link rel="search" title="Search" href="../../../search/" />

<link rel="shortcut icon" href="../../../_static/icon.png"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
<title>kiui.mesh - kiui 0.2.9 documentation</title>
<title>kiui.mesh - kiui 0.2.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=387cc868" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=36a5483c" />


Expand Down Expand Up @@ -180,7 +180,7 @@
</label>
</div>
<div class="header-center">
<a href="../../../"><div class="brand">kiui 0.2.9 documentation</div></a>
<a href="../../../"><div class="brand">kiui 0.2.10 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand Down Expand Up @@ -1255,12 +1255,12 @@ <h1>Source code for kiui.mesh</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../../_static/documentation_options.js?v=4c327c81"></script>
</div><script src="../../../_static/documentation_options.js?v=3ffd9a0a"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/scripts/furo.js?v=4e2eecee"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../../_static/copybutton.js?v=f281be69"></script>
<script src="../../../_static/design-tabs.js?v=36754332"></script>
<script src="../../../_static/design-tabs.js?v=f930bc37"></script>
</body>
</html>
21 changes: 13 additions & 8 deletions _modules/kiui/mesh_utils/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../../../genindex/" /><link rel="search" title="Search" href="../../../search/" />

<link rel="shortcut icon" href="../../../_static/icon.png"/><!-- Generated with Sphinx 7.3.7 and Furo 2024.05.06 -->
<title>kiui.mesh_utils - kiui 0.2.9 documentation</title>
<title>kiui.mesh_utils - kiui 0.2.10 documentation</title>
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo.css?v=387cc868" />
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" />
<link rel="stylesheet" type="text/css" href="../../../_static/design-style.1e8bd061cd6da7fc9cf755528e8ffc24.min.css?v=0a3b3ea7" />
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx-design.min.css?v=87e54e7c" />
<link rel="stylesheet" type="text/css" href="../../../_static/styles/furo-extensions.css?v=36a5483c" />


Expand Down Expand Up @@ -180,7 +180,7 @@
</label>
</div>
<div class="header-center">
<a href="../../../"><div class="brand">kiui 0.2.9 documentation</div></a>
<a href="../../../"><div class="brand">kiui 0.2.10 documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand Down Expand Up @@ -307,7 +307,7 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>
<div class="viewcode-block" id="decimate_mesh">
<a class="viewcode-back" href="../../../mesh/#kiui.mesh_utils.decimate_mesh">[docs]</a>
<span class="k">def</span> <span class="nf">decimate_mesh</span><span class="p">(</span>
<span class="n">verts</span><span class="p">,</span> <span class="n">faces</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="mf">5e4</span><span class="p">,</span> <span class="n">backend</span><span class="o">=</span><span class="s2">&quot;pymeshlab&quot;</span><span class="p">,</span> <span class="n">remesh</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">optimalplacement</span><span class="o">=</span><span class="kc">True</span>
<span class="n">verts</span><span class="p">,</span> <span class="n">faces</span><span class="p">,</span> <span class="n">target</span><span class="o">=</span><span class="mf">5e4</span><span class="p">,</span> <span class="n">backend</span><span class="o">=</span><span class="s2">&quot;pymeshlab&quot;</span><span class="p">,</span> <span class="n">remesh</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="n">optimalplacement</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span> <span class="n">verbose</span><span class="o">=</span><span class="kc">True</span>
<span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot; perform mesh decimation.</span>

Expand All @@ -318,6 +318,7 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>
<span class="sd"> backend (str, optional): algorithm backend, can be &quot;pymeshlab&quot; or &quot;pyfqmr&quot;. Defaults to &quot;pymeshlab&quot;.</span>
<span class="sd"> remesh (bool, optional): whether to remesh after decimation. Defaults to False.</span>
<span class="sd"> optimalplacement (bool, optional): For flat mesh, use False to prevent spikes. Defaults to True.</span>
<span class="sd"> verbose (bool, optional): whether to print the decimation process. Defaults to True.</span>

<span class="sd"> Returns:</span>
<span class="sd"> Tuple[np.ndarray]: vertices and faces after decimation.</span>
Expand Down Expand Up @@ -356,7 +357,8 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>
<span class="n">verts</span> <span class="o">=</span> <span class="n">m</span><span class="o">.</span><span class="n">vertex_matrix</span><span class="p">()</span>
<span class="n">faces</span> <span class="o">=</span> <span class="n">m</span><span class="o">.</span><span class="n">face_matrix</span><span class="p">()</span>

<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;[INFO] mesh decimation: </span><span class="si">{</span><span class="n">_ori_vert_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">verts</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">_ori_face_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">faces</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">verbose</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;[INFO] mesh decimation: </span><span class="si">{</span><span class="n">_ori_vert_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">verts</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">_ori_face_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">faces</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>

<span class="k">return</span> <span class="n">verts</span><span class="p">,</span> <span class="n">faces</span></div>

Expand All @@ -374,6 +376,7 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>
<span class="n">remesh</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="n">remesh_size</span><span class="o">=</span><span class="mf">0.01</span><span class="p">,</span>
<span class="n">remesh_iters</span><span class="o">=</span><span class="mi">3</span><span class="p">,</span>
<span class="n">verbose</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
<span class="p">):</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot; perform mesh cleaning, including floater removal, non manifold repair, and remeshing.</span>

Expand All @@ -387,6 +390,7 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>
<span class="sd"> remesh (bool, optional): whether to perform a remeshing after all cleaning. Defaults to True.</span>
<span class="sd"> remesh_size (float, optional): the targeted edge length for remeshing. Defaults to 0.01.</span>
<span class="sd"> remesh_iters (int, optional): the iterations of remeshing. Defaults to 3.</span>
<span class="sd"> verbose (bool, optional): whether to print the cleaning process. Defaults to True.</span>

<span class="sd"> Returns:</span>
<span class="sd"> Tuple[np.ndarray]: vertices and faces after decimation.</span>
Expand Down Expand Up @@ -437,7 +441,8 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>
<span class="n">verts</span> <span class="o">=</span> <span class="n">m</span><span class="o">.</span><span class="n">vertex_matrix</span><span class="p">()</span>
<span class="n">faces</span> <span class="o">=</span> <span class="n">m</span><span class="o">.</span><span class="n">face_matrix</span><span class="p">()</span>

<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;[INFO] mesh cleaning: </span><span class="si">{</span><span class="n">_ori_vert_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">verts</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">_ori_face_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">faces</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="k">if</span> <span class="n">verbose</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">&quot;[INFO] mesh cleaning: </span><span class="si">{</span><span class="n">_ori_vert_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">verts</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">, </span><span class="si">{</span><span class="n">_ori_face_shape</span><span class="si">}</span><span class="s2"> --&gt; </span><span class="si">{</span><span class="n">faces</span><span class="o">.</span><span class="n">shape</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">)</span>

<span class="k">return</span> <span class="n">verts</span><span class="p">,</span> <span class="n">faces</span></div>

Expand Down Expand Up @@ -611,12 +616,12 @@ <h1>Source code for kiui.mesh_utils</h1><div class="highlight"><pre>

</aside>
</div>
</div><script src="../../../_static/documentation_options.js?v=4c327c81"></script>
</div><script src="../../../_static/documentation_options.js?v=3ffd9a0a"></script>
<script src="../../../_static/doctools.js?v=9a2dae69"></script>
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../../../_static/scripts/furo.js?v=4e2eecee"></script>
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script>
<script src="../../../_static/copybutton.js?v=f281be69"></script>
<script src="../../../_static/design-tabs.js?v=36754332"></script>
<script src="../../../_static/design-tabs.js?v=f930bc37"></script>
</body>
</html>
Loading

0 comments on commit 9889a2f

Please sign in to comment.