feat: add STL file upload button and implement flat-bottom clamp logic in export

This commit is contained in:
CNCKitchen
2026-03-17 17:47:26 +01:00
parent 1d3e756245
commit cbe7e7ffef
2 changed files with 22 additions and 0 deletions
+8
View File
@@ -55,6 +55,14 @@
<!-- ─── Settings Panel ───────────────────────────────────────── -->
<aside id="settings-panel">
<!-- Load STL -->
<section class="panel-section">
<label class="upload-btn" for="stl-file-input" style="width:100%;box-sizing:border-box;justify-content:center;">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none"><path d="M12 2L2 7l10 5 10-5-10-5Z" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/><path d="M2 17l10 5 10-5M2 12l10 5 10-5" stroke="currentColor" stroke-width="2" stroke-linejoin="round"/></svg>
Load STL…
</label>
</section>
<!-- Displacement Map -->
<section class="panel-section">
<h2>Displacement Map</h2>