-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
218 lines (206 loc) · 10.6 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>G-code generator 2.0 | Multimaterial Y joiner</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<style>
body {
padding-top: 3.5rem;
}
</style>
</head>
<body>
<div>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="index.html">Multimaterial Y joiner</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar"
aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar">
<ul class="navbar-nav ml-md-auto">
<li class="nav-item active">
<a class="nav-link" href="/multimaterial-y-joiner-gcode-generator">Cura 3.6</a>
</li>
</ul>
</div>
</nav>
<main role="main" id="app">
<div class="jumbotron">
<div class="container">
<h1 class="display-3">G-code generator 2.0 (Cura 3.6)</h1>
<p class="lead">This G-code generator 2.0 will help you generate G-code for your printer. It's designed
for
<a href="https://www.thingiverse.com/thing:3039887" target="_blank">Multimaterial Y joiner</a>.
</p>
<p class="lead">Online manual is available on Youtube <a
href="https://youtu.be/objYetbnDTM" target="_blank">Multimaterial Y joiner -
Online G-Code generator + Cura</a>.
</p>
<hr>
<form>
<div class="form-row">
<div class="form-group col-md-4">
<label for="filamentCoolingPosition">Filament cooling position</label>
<div class="input-group">
<input type="number" class="form-control" id="filamentCoolingPosition"
placeholder="Enter distance from the nozzle in mm (e.g.: 90)"
v-model="filamentCoolingPosition">
<div class="input-group-append">
<span class="input-group-text">mm >= 10</span>
</div>
</div>
</div>
<div class="form-group col-md-4">
<label for="coolingLength">Filament cooling length</label>
<div class="input-group">
<input type="number" class="form-control" id="coolingLength"
placeholder="Enter length in mm (e.g.: 10)"
v-model="coolingLength">
<div class="input-group-append">
<span class="input-group-text">mm</span>
</div>
</div>
</div>
<div class="form-group col-md-4">
<label for="filamentParkingPosition">Filament parking position</label>
<div class="input-group">
<input type="number" class="form-control" id="filamentParkingPosition"
placeholder="Enter distance from the nozzle in mm (e.g.: 140)"
v-model="filamentParkingPosition">
<div class="input-group-append">
<span class="input-group-text">mm >= cooling position</span>
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-4">
<label for="wasteBlockX">Waste block X</label>
<input type="number" class="form-control" id="wasteBlockX"
placeholder="X position of the waste block" v-model="wasteBlockX">
</div>
<div class="form-group col-md-4">
<label for="wasteBlockY">Waste block Y</label>
<input type="number" class="form-control" id="wasteBlockY"
placeholder="Y position of the waste block" v-model="wasteBlockY">
</div>
<div class="form-group col-md-4">
<label for="wasteBlockSize">Waste block size</label>
<div class="input-group">
<input type="number" class="form-control" id="wasteBlockSize"
placeholder="Size of waste the block" v-model="wasteBlockSize">
<div class="input-group-append">
<span class="input-group-text">mm</span>
</div>
</div>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-4">
<label for="numberOfExtruders">Number of extruders</label>
<select id="numberOfExtruders" class="form-control" v-model="numberOfExtruders">
<option :value="2">2</option>
<option :value="3">3</option>
<option :value="4">4</option>
<option :value="5">5</option>
</select>
</div>
<div class="form-group col-md-4">
<label for="maxExtruderFeedrate">Max extruder feedrate</label>
<div class="input-group">
<input type="number" class="form-control" id="maxExtruderFeedrate"
placeholder="Max extruder feedrate" v-model="maxExtruderFeedrate">
<div class="input-group-append">
<span class="input-group-text">>= 1000</span>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-6" v-if="primeExtruders">
<h2>Prepare/fix filaments G-code</h2>
<form>
<div class="form-group">
<textarea readonly class="form-control form-control-sm"
rows="15">{{ prepareGcode() }}</textarea>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-md-6">
<h2>Start G-code</h2>
<form>
<div class="form-group">
<textarea readonly class="form-control form-control-sm"
rows="15">{{ startGcode() }}</textarea>
</div>
</form>
</div>
<div class="col-md-6">
<h2>End G-code</h2>
<form>
<div class="form-group">
<textarea readonly class="form-control form-control-sm"
rows="15">{{ endGcode() }}</textarea>
</div>
</form>
</div>
</div>
<div class="row" v-for="extruder in numberOfExtruders">
<div class="col-md-6">
<h2>Start Extruder #{{ extruder }} G-code</h2>
<form>
<div class="form-group">
<textarea readonly class="form-control form-control-sm"
rows="15">{{ startExtruderGcode(extruder) }}</textarea>
</div>
</form>
</div>
<div class="col-md-6">
<h2>End Extruder #{{ extruder }} G-code</h2>
<form>
<div class="form-group">
<textarea readonly class="form-control form-control-sm"
rows="15">{{ endExtruderGcode() }}</textarea>
</div>
</form>
</div>
</div>
<hr>
</div> <!-- /container -->
</main>
<footer class="container">
<p>
© <a href="https://zemistr.eu" target="_blank">Zemistr</a>
<script>document.write((new Date()).getFullYear())</script>
| <a href="https://github.com/Zemistr/multimaterial-y-joiner-gcode-generator" target="_blank">Github</a>
</p>
</footer>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<script src="js/app.js?0"></script>
<!-- Matomo Image Tracker-->
<img src="https://piwik.zdft.net/piwik.php?idsite=2&rec=1" style="border:0" alt=""/>
<!-- End Matomo -->
</body>
</html>