-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
221 lines (208 loc) · 9.3 KB
/
index.html
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link
href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&family=Ubuntu:wght@300;400&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"
integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w=="
crossorigin="anonymous" />
<link href="css/global.css" rel=stylesheet>
<link href="css/header.css" rel=stylesheet>
<link href="css/section.css" rel=stylesheet>
<link href="css/form.css" rel=stylesheet>
<link href="css/label.css" rel=stylesheet>
<link href="css/button.css" rel=stylesheet>
<link href="css/footer.css" rel=stylesheet>
<script defer src="js/script.js"></script>
<title>Kalkulator</title>
<meta property="og:title" content="Cutting parameters calculator" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://mcesarczyk.github.io/CNC-parameters-calc/" />
<meta property="og:image" content="https://www.bbntimes.com/images/CNC.jpg" />
<link rel="icon" href="images/CNC_fav.png" />
</head>
<body class="body">
<header id="start">
<h1 class="header__headline">Kalkulator obróbki skrawaniem</h1>
</header>
<main>
<section class="section">
<h2 class="section__header">Frezowanie/wiercenie</h2>
<form class="form js-form1">
<fieldset class="form__fieldset">
<legend class="form__legend">Liniowa prędkość skrawania</legend>
<div class="form__container">
<label class="label">
<span class="label__innerText"> D [mm] : </span><input type="number" min="0.0001" step="0.0001"
placeholder=" średnica narzędzia " required autofocus class="label__input js-diameterInput1">
</label>
<label class="label">
<span class="label__innerText"> n [obr/min] : </span><input type="number" min="1" step="1"
placeholder=" obroty wrzeciona " required class="label__input js-rotationInput1">
</label>
<label class="label">
<span class="label__innerText"> V<span class="labelSub">c</span> [m/min] : </span><input readonly
placeholder=" wynik " class="label__input js-speedResult1">
</label>
</div>
<div class="form__buttons">
<button class="button" type="submit">
Oblicz
</button>
<button class="button" type="reset">
Reset
</button>
</div>
</fieldset>
</form>
<form class="form js-form2">
<fieldset class="form__fieldset">
<legend class="form__legend">Prędkość obrotowa narzędzia</legend>
<div class="form__container">
<label class="label">
<span class="label__innerText"> D [mm] : </span><input type="number" min="0.0001" step="0.0001"
placeholder=" średnica narzędzia " required class="label__input js-diameterInput2">
</label>
<label class="label">
<span class="label__innerText"> V<span class="labelSub">c</span> [m/min] : </span><input type="number"
min="1" step="1" placeholder=" prędkość liniowa " required class="label__input js-speedInput2">
</label>
<label class="label">
<span class="label__innerText"> n<span class="labelSub">obr</span> [obr/min] : </span><input readonly
placeholder=" wynik " class="label__input js-rotationResult2">
</label>
</div>
<div class="form__buttons">
<button class="button" type="submit">
Oblicz
</button>
<button class="button" type="reset">
Reset
</button>
</div>
</fieldset>
</form>
<form class="form js-form3">
<fieldset class="form__fieldset">
<legend class="form__legend">Wielkość posuwu liniowego</legend>
<div class="form__container">
<label class="label">
<span class="label__innerText"> n [obr/min] : </span><input type="number" min="1" step="1"
placeholder=" obroty wrzeciona " required class="label__input js-rotationInput3">
</label>
<label class="label">
<span class="label__innerText"> <input type="radio" name="feedType" id="FPR" class="js-rev" checked>
<label for="FPR">
f<span class="labelSub">obr</span>[mm/obr]:
</label>
</span><input type="number" min="0.01" step="0.01" required placeholder=" posuw na obrót "
class="label__input js-feedForRev">
</label>
<label class="label">
<span class="label__innerText"> <input type="radio" name="feedType" id="FPT" class="js-tooth">
<label for="FPT">
f<span class="labelSub">z</span> [mm] :
</label>
</span><input type="number" min="0.01" step="0.01" required disabled placeholder=" posuw na ząb "
class="label__input js-feedForTooth">
</label>
<label class="label">
<span class="label__innerText"> z : </span><input type="number" min="1" step="1" required
class="label__input js-toothNumber" placeholder=" ilość zębów " disabled>
</label>
<label class="label">
<span class="label__innerText"> f [mm/min] : </span><input readonly placeholder=" wynik "
class="label__input js-feedResult3">
</label>
</div>
<div class="form__buttons">
<button class="button" type="submit">
Oblicz
</button>
<button class="button" type="reset">
Reset
</button>
</div>
</fieldset>
</form>
</section>
<section class="section">
<h2 class="section__header">Gwintowanie</h2>
<form class="form js-form4">
<fieldset class="form__fieldset">
<legend class="form__legend">Prędkość obrotowa narzędzia</legend>
<div class="form__container">
<label class="label">
<span class="label__innerText"> D [mm] : </span><input type="number" min="0.0001" step="0.0001"
placeholder=" średnica narzędzia " required class="label__input js-diameterInput4">
</label>
<label class="label">
<span class="label__innerText"> V<span class="labelSub">c</span> [m/min] : </span><input type="number"
min="1" step="1" placeholder=" prędkość liniowa " required class="label__input js-speedInput4">
</label>
<label class="label">
<span class="label__innerText"> n<span class="labelSub">obr</span> [obr/min] : </span><input readonly
placeholder=" wynik " class="label__input js-rotationResult4">
</label>
</div>
<div class="form__buttons">
<button class="button" type="submit">
Oblicz
</button>
<button class="button" type="reset">
Reset
</button>
</div>
</fieldset>
</form>
<form class="form js-form5">
<fieldset class="form__fieldset">
<legend class="form__legend">Wielkość posuwu przy gwintowaniu</legend>
<div class="form__container">
<label class="label">
<span class="label__innerText"> n [obr/min] : </span><input type="number" min="0.01" step="0.01"
placeholder=" obroty wrzeciona " required class="label__input js-rotationInput5">
</label>
<label class="label" for="tapDiameter">
<span class="label__innerText"> Średnica narzędzia [mm] : </span>
<select class="form__select js-tapDiameter" name="tapDiameter" required>
</select>
</label>
<label class="label" for="pitch">
<span class="label__innerText"> Skok gwintu [mm] : </span>
<input class="label__input js-pitch" name="pitch" readonly placeholder="skok gwintu">
</label>
<label class="label">
<span class="label__innerText"> f [mm/min] : </span><input readonly placeholder=" wynik "
class="label__input js-feedResult5">
</label>
</div>
<div class="form__buttons">
<button class="button" type="submit">
Oblicz
</button>
<button class="button" type="reset">
Reset
</button>
</div>
</fieldset>
</form>
</section>
</main>
<footer class="footer">
<p class="footer__content">
© by Michał Cesarczyk
</p>
<p class="footer__annotation">
2021 Powered by
<a class="footer__link" href="https://youcode.pl/" target="_blank" rel="noreferrer noopener">
you<span class="footer__linkFeature">code</span>.pl</a>
</p>
</footer>
</body>
</html>