feat: update bucket threshold and enhance mesh info display in UI

This commit is contained in:
CNCKitchen
2026-03-20 19:47:04 +01:00
parent 60e6ee9201
commit 9c50ab83b1
5 changed files with 28 additions and 33 deletions
+5 -7
View File
@@ -296,8 +296,8 @@
<!-- Bucket threshold (shown when Fill is active) -->
<div id="excl-threshold-row" class="form-row slider-row hidden">
<label for="excl-threshold-slider" data-i18n="labels.maxAngle" data-i18n-title="tooltips.maxAngle" title="Maximum dihedral angle between adjacent triangles for the fill to cross">Max angle</label>
<input type="range" id="excl-threshold-slider" min="0" max="180" step="1" value="30" />
<input type="number" class="val" id="excl-threshold-val" value="30" min="0" max="180" step="1" />
<input type="range" id="excl-threshold-slider" min="0" max="180" step="1" value="20" />
<input type="number" class="val" id="excl-threshold-val" value="20" min="0" max="180" step="1" />
</div>
<!-- Footer: count + clear -->
@@ -345,11 +345,9 @@
<button id="license-close" class="license-close-btn" aria-label="Close">&#215;</button>
<h2 id="license-title" data-i18n="license.title">License &amp; Terms</h2>
<ul class="license-list">
<li data-i18n-html="license.item1">This tool is <strong>open-source</strong><a href="https://github.com/CNCKitchen/stlTexturizer" target="_blank" rel="noopener">view &amp; contribute on GitHub</a>.</li>
<li data-i18n-html="license.item2">Free to use for any purpose, including <strong>commercial work</strong> (e.g., texturing STLs for clients or products).</li>
<li data-i18n-html="license.item3">Attribution is <strong>appreciated</strong> but <strong>not required</strong> when using this tool as-is.</li>
<li data-i18n-html="license.item4">You may <strong>not</strong> sell or commercially redistribute this tool itself.</li>
<li data-i18n-html="license.item5">Forks or derivative works must credit <strong>CNC Kitchen</strong> by name and link to <a href="https://cnckitchen.store" target="_blank" rel="noopener">cnckitchen.store</a>.</li>
<li data-i18n-html="license.item1">Free to use for any purpose, including <strong>commercial work</strong> (e.g., texturing STLs for clients or products).</li>
<li data-i18n-html="license.item2">Attribution is <strong>appreciated</strong> but <strong>not required</strong> when using this tool as-is.</li>
<li data-i18n-html="license.item3">Want to support this tool and our work? Check out our <a href="https://geni.us/CNCStoreTexture" target="_blank" rel="noopener">online store</a>!</li>
</ul>
</div>
</div>