-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
99 lines (85 loc) · 3.59 KB
/
index.html
File metadata and controls
99 lines (85 loc) · 3.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>PA Test Generator</title>
<link rel="stylesheet" href="main.css">
<script src="https://cdn.babylonjs.com/babylon.js"></script>
</head>
<body>
<div class="flex">
<div class="container w50">
<h1>PA Test Generator</h1>
<div class="form-group">
<label for="selSlicer">Выберите слайсер</label>
<select id="selSlicer">
<!-- <option value="orca">Orca slicer</option>-->
<!-- <option value="prusa">Prusa slicer</option>-->
<!-- <option value="qidi">Qidi slicer</option>-->
</select>
</div>
<div class="form-group">
<label for="selPrinter">Выберите принтер</label>
<select id="selPrinter" disabled>
<option>Выберите сначала слайсер</option>
</select>
</div>
<div class="form-group">
<label for="selFilament">Выберите материал</label>
<select id="selFilament" disabled>
</select>
</div>
<div class="form-group">
<label for="selPrint">Выберите настройки печати</label>
<select id="selPrint" disabled>
</select>
</div>
<div class="form-group">
<h3>Информация о конфигурации</h3>
<div id="config-info" class="config-info">
<p>Выберите слайсер, принтер, филамент и настройки печати</p>
</div>
</div>
</div>
<div id="pa_params" class="container w50">
<h1>Параметры PA теста</h1>
<div class="form-group">
<label for="startPA">Стартовый PA</label>
<input type="number" id="startPA" step="0.001" value="0.000" min="0">
</div>
<div class="form-group">
<label for="endPA">Конечный PA</label>
<input type="number" id="endPA" step="0.001" value="0.100" min="0">
</div>
<div class="form-group">
<label for="stepPA">Шаг</label>
<input type="number" id="stepPA" step="0.001" value="0.010" min="0.001">
</div>
<div class="form-group">
<label>Количество значений</label>
<div id="countDisplay" class="count-display">11</div>
</div>
<div class="form-group">
<label>Список значений PA</label>
<div id="paValues" class="pa-values"></div>
</div>
<div class="form-group">
<button id="generateBtn" class="generate-btn" disabled>Сгенерировать G-code</button>
</div>
</div>
</div>
<div class="flex">
<div class="container w50">
<h2 style="display: inline">G-code</h2> <div id="warningGenerate" style="display: inline"></div>
<textarea id="gcodeOutput" class="gcode-output" placeholder="Здесь будет сгенерированный G-code..."></textarea>
<button id="saveBtn" class="save-btn" disabled>Сохранить в файл</button>
<button id="sendBtn" class="save-btn" disabled>Отправить на принтер</button>
</div>
<div class="container w50">
<h2>Предварительный просмотр</h2>
<div id="bedVisualization" class="bed-visualization"></div>
</div>
</div>
<script src="renderer.js"></script>
</body>
</html>