Kaynağa Gözat

add anchor link to subheading in octoprint

Thomas Buck 2 yıl önce
ebeveyn
işleme
1edafa4e32

+ 13
- 4
input/projects/3d-printing/ctc-i3.md Dosyayı Görüntüle

@@ -48,7 +48,9 @@ lightgallery([
48 48
 
49 49
 ## Heatbed Replacement
50 50
 
51
-
51
+The original FR-4 heatbed is very flimsy and bends easily.
52
+For this reason, I replaced it immediately with a very commonly available replacement heatbed made out of 3mm aluminium, with 214mm x 214mm.
53
+Below it I mounted some self-adhesive foam insulation.
52 54
 
53 55
 <!--%
54 56
 lightgallery([
@@ -85,7 +87,10 @@ TODO photos
85 87
 
86 88
 ## MOSFET for Heatbed
87 89
 
88
-
90
+It is common knowledge that the heatbed MOSFETS on Anet A8 printers are not sufficient and present a fire hazard.
91
+Because my CTC-i3 has a different mainboard, I didn't think this problem applied to me.
92
+But sure enough, after a year or so of regular usage, the heatbed MOSFET, as well as some parts of the PCB of my mainboard stopped working and were visibly burnt.
93
+Because of this, I added the widely used beefy external MOSFET to power the heatbed.
89 94
 
90 95
 <!--%
91 96
 lightgallery([
@@ -116,7 +121,11 @@ When trying to achieve a print bed that is as level as possible, this is not goo
116 121
 So I simply got a properly sized piece of aluminium from ebay, drilled the holes for some small printed bearing holders and mounted the heatbed to it.
117 122
 This was easy and has worked very well as a replacement.
118 123
 
119
-TODO photos
124
+<!--%
125
+lightgallery([
126
+    [ "img/ctc_i3_bed.jpg", "Side view of printbed with insulation" ]
127
+])
128
+%-->
120 129
 
121 130
 ## Y-Axis Webcam Mount
122 131
 
@@ -207,7 +216,7 @@ lightgallery([
207 216
 
208 217
 ## Power Button
209 218
 
210
-
219
+To use the power button with the Pi, see [my page about setting up OctoPrint](octoprint.html#power_button).
211 220
 
212 221
 <!--%
213 222
 lightgallery([

+ 4
- 1
input/projects/3d-printing/octoprint.md Dosyayı Görüntüle

@@ -133,6 +133,7 @@ journalctl -u octoprint_connect@ttyUSB0.service
133 133
 </pre>
134 134
 
135 135
 ## Physical Power Button
136
+<a class="anchor" name="power_button"></a>
136 137
 
137 138
 Besides controlling eg. an ATX power supply or a relay connecting the printer to the power supply, I also wanted a push-button connected to the Raspberry Pi that can toggle the power supply using the aforementioned connection on the Pi.
138 139
 This can be solved using a simple Python script.
@@ -237,7 +238,9 @@ rm printer.jpg
237 238
 Of course, you may need to adjust the destination path on your webserver.
238 239
 Finally, add the script as a cronjob using `crontab -e`:
239 240
 
240
-    */5 * * * * sudo -u pi /home/pi/foto-script/upload.sh >/dev/null 2>/dev/null
241
+<pre class="sh_sh">
242
+*/5 * * * * sudo -u pi /home/pi/foto-script/upload.sh >/dev/null 2>/dev/null
243
+</pre>
241 244
 
242 245
 And that's it. An updated photo will appear on your webserver every 5 minutes.
243 246
 You can take a look at it [on my website](printer.html).

+ 7
- 0
static/css/style.css Dosyayı Görüntüle

@@ -48,6 +48,13 @@ th, td {
48 48
     #wrap {
49 49
         height: 5em;
50 50
     }
51
+
52
+    a.anchor {
53
+        display: block;
54
+        position: relative;
55
+        top: -175px;
56
+        visibility: hidden;
57
+    }
51 58
 }
52 59
 
53 60
 pre {

Loading…
İptal
Kaydet