Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
anycubic_kossel_plus [2017/05/14 19:58] sschueller |
anycubic_kossel_plus [2017/06/23 12:31] sschueller |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Anycubic Kossel Plus ====== | ====== Anycubic Kossel Plus ====== | ||
+ | |||
+ | [[BL Touch]] | ||
+ | [[Inductive Probe]] | ||
===== BL / 3D Touch Setup ===== | ===== BL / 3D Touch Setup ===== | ||
Line 51: | Line 54: | ||
==== Finding probe to hotend offset (Marlin) ==== | ==== Finding probe to hotend offset (Marlin) ==== | ||
- make a mark on the bed with a pen or sticker | - make a mark on the bed with a pen or sticker | ||
- | - Move the hotend to this exact location (use G codes, e.g. ''G1X10Y-10Z10'' moves the probe to X +10, Y -10 and Z +10) | + | - Move the hotend to this exact location (use G codes, e.g. ''G1X10Y-10Z10'' moves the probe to X +10mm, Y -10mm and Z +10mm) |
- | - Put a paper under the probe and move it until the paper sticks a bit. Use ''G1Z5'', ''G1Z4'' et.c until you reach the paper | + | - Put a paper under the probe and move it until the paper sticks a bit. Use ''G1Z5'', ''G1Z4'' etc. until you reach the paper |
- Reset all values to Zero: ''G92 X0 Y0 Z0'' | - Reset all values to Zero: ''G92 X0 Y0 Z0'' | ||
- Move the hotend off the mark ''G1Z10'' | - Move the hotend off the mark ''G1Z10'' | ||
Line 66: | Line 69: | ||
- Zero Z, using ''G28'' | - Zero Z, using ''G28'' | ||
- Level Bed ''G29'' (use ''G29 V4'' to see more log info) | - Level Bed ''G29'' (use ''G29 V4'' to see more log info) | ||
+ | |||
+ | ==== Update Slicer ==== | ||
+ | - In your slicer make sure you set the printer to do a ''G28'' then a ''G29'' before each print. | ||
NOTICE: Doing a ''G28'' resets the autolevel values! I am still trying to figure out how to get Octoprint to not reset my auto level values before printing. | NOTICE: Doing a ''G28'' resets the autolevel values! I am still trying to figure out how to get Octoprint to not reset my auto level values before printing. | ||
- | ===== Live streaming to youtube ===== | ||
- | - compile ffmpeg with hardware encoder | ||
- | <code bash> | ||
- | cd /usr/src | ||
- | git clone https://git.ffmpeg.org/ffmpeg.git | ||
- | cd ffmpeg | ||
- | ./configure --enable-omx --enable-omx-rpi --enable-libfreetype | ||
- | make | ||
- | make install | ||
- | </code> | ||
- | |||
- | Scripts | ||
- | <code bash> | ||
- | #!/bin/bash | ||
- | |||
- | KEY=******** | ||
- | URL=rtmp://a.rtmp.youtube.com/live2 | ||
- | |||
- | while true ; do | ||
- | |||
- | ffmpeg \ | ||
- | -ar 44100 -ac 2 -f s16le -i /dev/zero \ | ||
- | -thread_queue_size 512 \ | ||
- | -i /dev/video0 -f flv \ | ||
- | -framerate 30 -video_size 720x404 \ | ||
- | -vcodec h264_omx -maxrate 768k -bufsize 8080k \ | ||
- | -vf drawtext="fontfile=DejaVuSansMono.ttf:textfile=status.txt:fontsize=10:fontcolor=white:y=main_h-(text_h*1):reload=1" \ | ||
- | "$URL/$KEY" | ||
- | |||
- | sleep 5 | ||
- | done | ||
- | </code> | ||
- | |||
- | <code bash> | ||
- | #!/bin/bash | ||
- | |||
- | DATA=$(curl -s --header "X-Api-Key: *****" http://localhost/api/printer) | ||
- | |||
- | DATA2=$(curl -s --header "X-Api-Key: *****" http://localhost/api/job) | ||
- | |||
- | TOOTEMP=$(echo $DATA | jq -r '.temperature.tool0.actual') | ||
- | BEDTEMP=$(echo $DATA | jq -r '.temperature.bed.actual') | ||
- | PROGRES=$(echo $DATA2 | jq -r '.progress.completion') | ||
- | STATE=$(echo $DATA2 | jq -r '.state') | ||
- | FINAME=$(echo $DATA2 | jq -r '.job.file.name') | ||
- | PRROUND=$(echo "$PROGRES/1" | bc ) | ||
- | |||
- | printf " Tool: $TOOTEMP°C / Bed: $BEDTEMP°C\n State: $STATE, Progress: $PRROUND\n File: $FINAME\n" > status-temp.txt | ||
- | |||
- | cp -f status-temp.txt status.txt | ||
- | |||
- | </code> | ||