mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
1124 lines
28 KiB
HTML
1124 lines
28 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>BambuTrack Control - Bambu Studio Style</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--bg-primary: #1a1a1a;
|
|
--bg-secondary: #2d2d2d;
|
|
--bg-tertiary: #3d3d3d;
|
|
--bg-card: #252525;
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #888888;
|
|
--text-muted: #666666;
|
|
--accent: #00ae42;
|
|
--accent-hover: #00c94b;
|
|
--orange: #f5a623;
|
|
--red: #e74c3c;
|
|
--border: #404040;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Printer Tabs */
|
|
.printer-tabs {
|
|
display: flex;
|
|
background: var(--bg-secondary);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.printer-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.printer-tab:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.printer-tab.active {
|
|
color: var(--text-primary);
|
|
border-bottom-color: var(--accent);
|
|
}
|
|
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.status-dot.offline { background: var(--red); }
|
|
.status-dot.printing { background: var(--orange); }
|
|
|
|
.status-badge {
|
|
font-size: 10px;
|
|
padding: 2px 6px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 3px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Main Layout */
|
|
.main-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 340px;
|
|
height: calc(100vh - 41px);
|
|
}
|
|
|
|
/* Left Column */
|
|
.left-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #000;
|
|
}
|
|
|
|
/* Camera */
|
|
.camera-section {
|
|
flex: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
|
|
}
|
|
|
|
.camera-placeholder {
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.camera-controls {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.cam-btn {
|
|
padding: 4px 10px;
|
|
background: rgba(0,0,0,0.7);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
color: var(--text-primary);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.cam-btn:hover {
|
|
background: rgba(0,0,0,0.9);
|
|
}
|
|
|
|
/* Print Progress */
|
|
.print-progress {
|
|
background: var(--bg-secondary);
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.print-thumb {
|
|
width: 56px;
|
|
height: 56px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.print-info {
|
|
flex: 1;
|
|
}
|
|
|
|
.print-name {
|
|
font-weight: 500;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 4px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 2px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
width: 0%;
|
|
}
|
|
|
|
.print-stats {
|
|
display: flex;
|
|
gap: 20px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.print-stats span { color: var(--text-primary); }
|
|
|
|
.print-btns {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.print-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.print-btn.pause { background: var(--orange); color: white; }
|
|
.print-btn.stop { background: var(--red); color: white; }
|
|
.print-btn:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
|
|
/* Right Panel */
|
|
.control-panel {
|
|
background: var(--bg-secondary);
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* Temperature Grid */
|
|
.temp-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
}
|
|
|
|
.temp-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.temp-item:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.temp-icon {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.temp-value {
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.temp-target {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Quick Buttons */
|
|
.quick-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.quick-btn {
|
|
flex: 1;
|
|
padding: 8px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.quick-btn:hover {
|
|
background: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.quick-btn.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
/* Speed Control */
|
|
.speed-row {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.speed-btn {
|
|
flex: 1;
|
|
padding: 8px 4px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.speed-btn:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.speed-btn.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.speed-btn.ludicrous {
|
|
color: var(--red);
|
|
}
|
|
|
|
.speed-btn.ludicrous.active {
|
|
background: var(--red);
|
|
color: white;
|
|
}
|
|
|
|
/* Movement Section */
|
|
.movement-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
/* XY Jog Pad - Bambu Studio Style */
|
|
.jog-container {
|
|
position: relative;
|
|
width: 110px;
|
|
height: 110px;
|
|
}
|
|
|
|
.jog-ring {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: var(--bg-card);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.jog-quadrant {
|
|
position: absolute;
|
|
width: 50%;
|
|
height: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.jog-quadrant:hover {
|
|
background: rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.jog-quadrant.top { top: 0; left: 25%; width: 50%; height: 35%; }
|
|
.jog-quadrant.bottom { bottom: 0; left: 25%; width: 50%; height: 35%; }
|
|
.jog-quadrant.left { left: 0; top: 25%; width: 35%; height: 50%; }
|
|
.jog-quadrant.right { right: 0; top: 25%; width: 35%; height: 50%; }
|
|
|
|
.jog-arrow {
|
|
font-size: 16px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.jog-home {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.jog-home:hover {
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
.jog-home svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: white;
|
|
}
|
|
|
|
/* Z Control */
|
|
.z-control {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.z-btn {
|
|
width: 36px;
|
|
height: 32px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.z-btn:hover {
|
|
background: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.z-label {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Step Sizes */
|
|
.step-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.step-btn {
|
|
padding: 6px 10px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.step-btn:hover, .step-btn.active {
|
|
background: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Extruder Toggle */
|
|
.extruder-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.extruder-toggle {
|
|
display: flex;
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.extruder-toggle button {
|
|
padding: 5px 12px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.extruder-toggle button.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
/* Extruder Graphic */
|
|
.extruder-graphic {
|
|
width: 50px;
|
|
height: 70px;
|
|
position: relative;
|
|
}
|
|
|
|
.extruder-graphic svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.extruder-btns {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.ext-btn {
|
|
width: 28px;
|
|
height: 22px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.ext-btn:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
/* AMS Section */
|
|
.ams-section {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Nozzle Assignment (dual nozzle printers) */
|
|
.nozzle-assignment {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.nozzle-group {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.nozzle-group.active {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.nozzle-colors {
|
|
display: flex;
|
|
gap: 3px;
|
|
}
|
|
|
|
.nozzle-dot {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 3px;
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.nozzle-dot.empty {
|
|
background: var(--bg-tertiary);
|
|
border-style: dashed;
|
|
}
|
|
|
|
.nozzle-separator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ams-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ams-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
padding: 5px 8px;
|
|
background: var(--bg-card);
|
|
border: 2px solid transparent;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ams-tab:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.ams-tab.active {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.ams-tab-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 2px;
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.ams-tab-num {
|
|
font-size: 10px;
|
|
color: var(--text-secondary);
|
|
margin-left: 2px;
|
|
}
|
|
|
|
/* AMS Slots Container */
|
|
.ams-content {
|
|
background: var(--bg-card);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.ams-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.ams-slots {
|
|
display: flex;
|
|
gap: 6px;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* AMS Slot - Bambu Studio Style */
|
|
.ams-slot {
|
|
width: 52px;
|
|
cursor: pointer;
|
|
border: 2px solid transparent;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
transition: all 0.15s;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.ams-slot:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.ams-slot.active {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 1px var(--accent);
|
|
}
|
|
|
|
.ams-slot.empty {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.ams-slot-color {
|
|
height: 38px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.ams-slot-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.ams-slot-info {
|
|
background: var(--bg-tertiary);
|
|
padding: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ams-slot-type {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.ams-slot-num {
|
|
font-size: 8px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* External Spool Row */
|
|
.ext-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ext-label {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
width: 24px;
|
|
}
|
|
|
|
.ext-slot {
|
|
width: 52px;
|
|
height: 58px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
border: 2px solid transparent;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ext-slot:hover {
|
|
border-color: var(--text-muted);
|
|
}
|
|
|
|
.ext-slot-label {
|
|
font-size: 8px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Spool Holder Graphic */
|
|
.spool-holder {
|
|
flex: 1;
|
|
height: 58px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.spool-holder svg {
|
|
width: 80px;
|
|
height: 50px;
|
|
}
|
|
|
|
/* AMS Buttons */
|
|
.ams-buttons {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ams-btn {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.ams-btn.secondary {
|
|
background: var(--bg-card);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.ams-btn.secondary:hover {
|
|
background: var(--bg-tertiary);
|
|
}
|
|
|
|
.ams-btn.primary {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.ams-btn.primary:hover {
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
/* AMS Animation Area */
|
|
.ams-animation {
|
|
flex: 1;
|
|
min-height: 80px;
|
|
margin-top: 10px;
|
|
background: var(--bg-card);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.hub-graphic {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.hub-connector {
|
|
width: 30px;
|
|
height: 2px;
|
|
background: var(--text-muted);
|
|
}
|
|
|
|
.hub-box {
|
|
width: 50px;
|
|
height: 20px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 3px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 9px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ams-status {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Printer Tabs -->
|
|
<div class="printer-tabs">
|
|
<button class="printer-tab active">
|
|
<span class="status-dot"></span>
|
|
H2D-1
|
|
<span class="status-badge">IDLE</span>
|
|
</button>
|
|
<button class="printer-tab">
|
|
<span class="status-dot printing"></span>
|
|
X1C-2
|
|
</button>
|
|
<button class="printer-tab">
|
|
<span class="status-dot offline"></span>
|
|
P1S-3
|
|
</button>
|
|
</div>
|
|
|
|
<div class="main-content">
|
|
<!-- Left: Camera + Progress -->
|
|
<div class="left-column">
|
|
<div class="camera-section">
|
|
<div class="camera-controls">
|
|
<button class="cam-btn">▶ Start</button>
|
|
<button class="cam-btn">⛶ Fullscreen</button>
|
|
</div>
|
|
<span class="camera-placeholder">📷 Camera Feed</span>
|
|
</div>
|
|
|
|
<div class="print-progress">
|
|
<div class="print-thumb">No Print</div>
|
|
<div class="print-info">
|
|
<div class="print-name">Idle</div>
|
|
<div class="progress-bar"><div class="progress-fill"></div></div>
|
|
<div class="print-stats">
|
|
Layer: <span>--/--</span>
|
|
Time: <span>--:--</span>
|
|
Remaining: <span>--:--</span>
|
|
</div>
|
|
</div>
|
|
<div class="print-btns">
|
|
<button class="print-btn pause" disabled>⏸</button>
|
|
<button class="print-btn stop" disabled>⏹</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right: Control Panel -->
|
|
<div class="control-panel">
|
|
<!-- Temperature -->
|
|
<div>
|
|
<div class="section-label">Temperature</div>
|
|
<div class="temp-grid">
|
|
<div class="temp-item">
|
|
<span class="temp-icon">🔥</span>
|
|
<span style="font-size: 11px; color: var(--accent); margin-right: 2px;">L</span>
|
|
<span class="temp-value">22</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
<div class="temp-item">
|
|
<span class="temp-icon">🔥</span>
|
|
<span style="font-size: 11px; color: var(--accent); margin-right: 2px;">R</span>
|
|
<span class="temp-value">21</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
<div class="temp-item">
|
|
<span class="temp-icon">🛏️</span>
|
|
<span class="temp-value">21</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
<div class="temp-item">
|
|
<span class="temp-icon">📦</span>
|
|
<span class="temp-value">21</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
</div>
|
|
<div class="quick-row" style="margin-top: 8px;">
|
|
<button class="quick-btn">❄️ Fans</button>
|
|
<button class="quick-btn active">💡 Lamp</button>
|
|
<button class="quick-btn">🌀 Cool</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Speed -->
|
|
<div>
|
|
<div class="section-label">Print Speed</div>
|
|
<div class="speed-row">
|
|
<button class="speed-btn">Silent</button>
|
|
<button class="speed-btn active">Standard</button>
|
|
<button class="speed-btn">Sport</button>
|
|
<button class="speed-btn ludicrous">Ludicrous</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Movement -->
|
|
<div>
|
|
<div class="section-label">Movement</div>
|
|
<div class="movement-row">
|
|
<!-- XY Jog -->
|
|
<div class="jog-container">
|
|
<div class="jog-ring">
|
|
<div class="jog-quadrant top"><span class="jog-arrow">▲</span></div>
|
|
<div class="jog-quadrant bottom"><span class="jog-arrow">▼</span></div>
|
|
<div class="jog-quadrant left"><span class="jog-arrow">◀</span></div>
|
|
<div class="jog-quadrant right"><span class="jog-arrow">▶</span></div>
|
|
<button class="jog-home">
|
|
<svg viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Z -->
|
|
<div class="z-control">
|
|
<button class="z-btn">▲</button>
|
|
<span class="z-label">Z</span>
|
|
<button class="z-btn">▼</button>
|
|
</div>
|
|
|
|
<!-- Steps -->
|
|
<div class="step-col">
|
|
<button class="step-btn">10mm</button>
|
|
<button class="step-btn active">1mm</button>
|
|
<button class="step-btn">0.1mm</button>
|
|
</div>
|
|
|
|
<!-- Extruder -->
|
|
<div class="extruder-col">
|
|
<div class="extruder-toggle">
|
|
<button class="active">Left</button>
|
|
<button>Right</button>
|
|
</div>
|
|
<div class="extruder-graphic">
|
|
<svg viewBox="0 0 60 80">
|
|
<!-- Filament tubes -->
|
|
<path d="M20 0 L20 25 Q20 30 25 35 L25 50" stroke="#00ae42" stroke-width="3" fill="none"/>
|
|
<path d="M40 0 L40 25 Q40 30 35 35 L35 50" stroke="#00ae42" stroke-width="3" fill="none"/>
|
|
<!-- Extruder body -->
|
|
<rect x="10" y="45" width="40" height="30" rx="4" fill="#4a4a4a"/>
|
|
<!-- Nozzles -->
|
|
<rect x="18" y="75" width="8" height="5" fill="#666"/>
|
|
<rect x="34" y="75" width="8" height="5" fill="#666"/>
|
|
<!-- Gears -->
|
|
<circle cx="20" cy="55" r="6" fill="#555"/>
|
|
<circle cx="40" cy="55" r="6" fill="#555"/>
|
|
</svg>
|
|
</div>
|
|
<div class="extruder-btns">
|
|
<button class="ext-btn">▲</button>
|
|
<button class="ext-btn">▼</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- AMS -->
|
|
<div class="ams-section">
|
|
<div class="section-label">AMS</div>
|
|
|
|
<!-- Nozzle Assignment Row (for dual nozzle printers) -->
|
|
<div class="nozzle-assignment">
|
|
<div class="nozzle-group">
|
|
<div class="nozzle-colors">
|
|
<div class="nozzle-dot" style="background: #FFD700;"></div>
|
|
<div class="nozzle-dot" style="background: #8B4513;"></div>
|
|
<div class="nozzle-dot" style="background: #1a1a1a;"></div>
|
|
<div class="nozzle-dot" style="background: #222;"></div>
|
|
</div>
|
|
</div>
|
|
<div class="nozzle-separator">
|
|
<div class="nozzle-dot" style="background: #0066FF;"></div>
|
|
<span>/</span>
|
|
<div class="nozzle-dot" style="background: #FF0000;"></div>
|
|
</div>
|
|
<div class="nozzle-group right">
|
|
<div class="nozzle-colors">
|
|
<div class="nozzle-dot empty"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ams-tabs">
|
|
<div class="ams-tab active">
|
|
<div class="ams-tab-dot" style="background: #FFD700;"></div>
|
|
<div class="ams-tab-dot" style="background: #1a1a1a;"></div>
|
|
<div class="ams-tab-dot" style="background: #8B4513;"></div>
|
|
<div class="ams-tab-dot" style="background: #222;"></div>
|
|
<span class="ams-tab-num">1</span>
|
|
</div>
|
|
<div class="ams-tab">
|
|
<div class="ams-tab-dot" style="background: #FF0000;"></div>
|
|
<div class="ams-tab-dot" style="background: #0066FF;"></div>
|
|
<div class="ams-tab-dot" style="background: #3d3d3d;"></div>
|
|
<div class="ams-tab-dot" style="background: #3d3d3d;"></div>
|
|
<span class="ams-tab-num">2</span>
|
|
</div>
|
|
<div class="ams-tab">
|
|
<div class="ams-tab-dot" style="background: #00FF00;"></div>
|
|
<div class="ams-tab-dot" style="background: #FFF;"></div>
|
|
<div class="ams-tab-dot" style="background: #FF69B4;"></div>
|
|
<div class="ams-tab-dot" style="background: #9932CC;"></div>
|
|
<span class="ams-tab-num">3</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="ams-content">
|
|
<div class="ams-header">
|
|
<span>AMS 1</span>
|
|
<span>💧 18% · 🌡 24°C</span>
|
|
</div>
|
|
<div class="ams-slots">
|
|
<div class="ams-slot active">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #FFD700 0%, #E6C200 100%);">
|
|
<svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(0,0,0,0.5)">
|
|
<circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
|
|
<circle cx="12" cy="12" r="3"/>
|
|
</svg>
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PLA</div>
|
|
<div class="ams-slot-num">A1</div>
|
|
</div>
|
|
</div>
|
|
<div class="ams-slot">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);">
|
|
<svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(255,255,255,0.5)">
|
|
<circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
|
|
<circle cx="12" cy="12" r="3"/>
|
|
</svg>
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PETG</div>
|
|
<div class="ams-slot-num">A2</div>
|
|
</div>
|
|
</div>
|
|
<div class="ams-slot">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #8B4513 0%, #6B3510 100%);">
|
|
<svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(255,255,255,0.5)">
|
|
<circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
|
|
<circle cx="12" cy="12" r="3"/>
|
|
</svg>
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PETG</div>
|
|
<div class="ams-slot-num">A3</div>
|
|
</div>
|
|
</div>
|
|
<div class="ams-slot">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #222 0%, #111 100%);">
|
|
<svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(255,255,255,0.5)">
|
|
<circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
|
|
<circle cx="12" cy="12" r="3"/>
|
|
</svg>
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PLA</div>
|
|
<div class="ams-slot-num">A4</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- External -->
|
|
<div class="ext-row">
|
|
<span class="ext-label">Ext</span>
|
|
<div class="ext-slot">
|
|
?
|
|
<span class="ext-slot-label">Spool</span>
|
|
</div>
|
|
<div class="spool-holder">
|
|
<svg viewBox="0 0 100 60">
|
|
<!-- Spool holder base -->
|
|
<rect x="10" y="40" width="80" height="15" rx="3" fill="#4a4a4a"/>
|
|
<!-- Spool -->
|
|
<ellipse cx="50" cy="30" rx="25" ry="25" fill="#3a3a3a" stroke="#555" stroke-width="2"/>
|
|
<ellipse cx="50" cy="30" rx="10" ry="10" fill="#2a2a2a"/>
|
|
<ellipse cx="50" cy="30" rx="5" ry="5" fill="#00ae42"/>
|
|
<!-- Filament coming out -->
|
|
<path d="M75 30 Q85 30 90 25" stroke="#00ae42" stroke-width="2" fill="none"/>
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Buttons -->
|
|
<div class="ams-buttons">
|
|
<button class="ams-btn secondary">Unload</button>
|
|
<button class="ams-btn primary">Load</button>
|
|
</div>
|
|
|
|
<!-- Animation Area -->
|
|
<div class="ams-animation">
|
|
<div class="hub-graphic">
|
|
<div class="hub-connector"></div>
|
|
<div class="hub-box">HUB</div>
|
|
<div class="hub-connector"></div>
|
|
</div>
|
|
<div class="ams-status">Ready - Select a slot to load</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|