mirror of
https://github.com/CNCKitchen/stlTexturizer.git
synced 2026-04-07 22:11:32 +00:00
rebranding to BumpMesh
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 3.5 MiB |
+5
-8
@@ -3,7 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>CNC Kitchen STL Texturizer</title>
|
||||
<title>BumpMesh by CNC Kitchen</title>
|
||||
<link rel="icon" type="image/png" href="logo.png" />
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
<script>
|
||||
// Apply saved theme before first paint to avoid flash
|
||||
@@ -38,12 +39,8 @@
|
||||
<body>
|
||||
<header>
|
||||
<div class="logo">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="#7c6aff" stroke-width="1.5" stroke-linejoin="round"/>
|
||||
<path d="M2 17L12 22L22 17" stroke="#7c6aff" stroke-width="1.5" stroke-linejoin="round"/>
|
||||
<path d="M2 12L12 17L22 12" stroke="#a08cff" stroke-width="1.5" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
<span>CNC Kitchen STL Texturizer</span>
|
||||
<img src="logo.png" alt="BumpMesh" width="24" height="24" />
|
||||
<span>BumpMesh <small style="opacity:.6;font-weight:400">by CNC Kitchen</small></span>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<div class="lang-seg">
|
||||
@@ -359,7 +356,7 @@
|
||||
<!-- Sponsor popup -->
|
||||
<div id="sponsor-overlay" class="sponsor-overlay hidden" role="dialog" aria-modal="true" aria-labelledby="sponsor-title">
|
||||
<div class="sponsor-modal">
|
||||
<h2 id="sponsor-title" data-i18n="sponsor.title">Thanks for using CNC Kitchen STL Texturizer!</h2>
|
||||
<h2 id="sponsor-title" data-i18n="sponsor.title">Thanks for using BumpMesh by CNC Kitchen!</h2>
|
||||
<p data-i18n-html="sponsor.body">This tool is provided <strong>completely free</strong> by CNC Kitchen.<br>
|
||||
While your STL is being processed, why not check out the store that helps us keep making cool stuff for you?</p>
|
||||
<a href="https://geni.us/CNCStoreTexture" target="_blank" rel="noopener noreferrer" class="sponsor-link" data-i18n="sponsor.visitStore">
|
||||
|
||||
+3
-3
@@ -138,7 +138,7 @@ export const TRANSLATIONS = {
|
||||
'license.item6': 'The author shall not be held <strong>liable</strong> for any damages, data loss, or issues arising from the use of this tool.',
|
||||
|
||||
// Sponsor modal
|
||||
'sponsor.title': 'Thanks for using CNC Kitchen STL Texturizer!',
|
||||
'sponsor.title': 'Thanks for using BumpMesh by CNC Kitchen!',
|
||||
'sponsor.body': 'This tool is provided <strong>completely free</strong> by CNC Kitchen.<br>While your STL is being processed, why not check out the store that helps us keep making cool stuff for you?',
|
||||
'sponsor.visitStore': '\uD83D\uDED2 Visit CNCKitchen.STORE',
|
||||
'sponsor.donate': '\uD83D\uDC99 Donate on PayPal',
|
||||
@@ -290,8 +290,8 @@ export const TRANSLATIONS = {
|
||||
'license.item6': 'Der Autor haftet nicht f\u00fcr <strong>Sch\u00e4den</strong>, Datenverlust oder Probleme, die durch die Nutzung dieses Tools entstehen.',
|
||||
|
||||
// Sponsor modal
|
||||
'sponsor.title': 'Danke f\u00fcr die Nutzung des CNC Kitchen STL Texturizers!',
|
||||
'sponsor.body': 'Dieses Tool wird von CNC Kitchen <strong>komplett kostenlos</strong> bereitgestellt.<br>W\u00e4hrend dein STL verarbeitet wird, schau doch mal im Shop vorbei, der uns hilft, coole Sachen f\u00fcr dich zu machen!',
|
||||
'sponsor.title': 'Danke für die Nutzung von BumpMesh by CNC Kitchen!',
|
||||
'sponsor.body': 'Dieses Tool wird von CNC Kitchen <strong>komplett kostenlos</strong> bereitgestellt.<br>Während dein STL verarbeitet wird, schau doch mal im Shop vorbei, der uns hilft, coole Sachen für dich zu machen!',
|
||||
'sponsor.visitStore': '\uD83D\uDED2 CNCKitchen.STORE besuchen',
|
||||
'sponsor.donate': '\uD83D\uDC99 Via PayPal spenden',
|
||||
'sponsor.dontShow': 'Nicht mehr anzeigen',
|
||||
|
||||
+3
-3
@@ -149,7 +149,7 @@ export function initViewer(canvas) {
|
||||
scene.background = new THREE.Color(0x111114);
|
||||
|
||||
// Grid helper — in XY plane (Z-up)
|
||||
grid = new THREE.GridHelper(200, 40, 0x222228, 0x1e1e24);
|
||||
grid = new THREE.GridHelper(200, 40, 0x333340, 0x2a2a34);
|
||||
grid.rotation.x = Math.PI / 2; // rotate to XY plane for Z-up
|
||||
grid.position.z = 0;
|
||||
scene.add(grid);
|
||||
@@ -452,8 +452,8 @@ export function setViewerTheme(isLight) {
|
||||
}
|
||||
grid = new THREE.GridHelper(
|
||||
200, 40,
|
||||
isLight ? 0xb0b0c8 : 0x222228,
|
||||
isLight ? 0xd0d0e0 : 0x1e1e24
|
||||
isLight ? 0xb0b0c8 : 0x333340,
|
||||
isLight ? 0xd0d0e0 : 0x2a2a34
|
||||
);
|
||||
grid.rotation.x = Math.PI / 2;
|
||||
grid.position.z = savedZ;
|
||||
|
||||
Reference in New Issue
Block a user