インストやプリンタの登録の後に、
gcodeの初期コードの先頭に追加しないといけない。
; Script based on an original created by tjjfvi (https://github.com/tjjfvi)
; An up-to-date version of the tjjfvi's original script can be found
; here: https://csi.t6.fyi/
; Note - This script will only work in Cura V4.2 and above!
; --- Global Settings
; layer_height = {layer_height}
; smooth_spiralized_contours = {smooth_spiralized_contours}
; magic_mesh_surface_mode = {magic_mesh_surface_mode}
; machine_extruder_count = {machine_extruder_count}
; --- Single Extruder Settings
; speed_z_hop = {speed_z_hop}
; retraction_amount = {retraction_amount}
; retraction_hop = {retraction_hop}
; retraction_hop_enabled = {retraction_hop_enabled}
; retraction_enable = {retraction_enable}
; retraction_speed = {retraction_speed}
; retraction_retract_speed = {retraction_retract_speed}
; retraction_prime_speed = {retraction_prime_speed}
; speed_travel = {speed_travel}
厄介なのは、以前作成したプロジェクトには反映されないっぽい。つまり開いているプロジェクトのみ設定される様だ。
2021/02/06
ラズパイ専用らしくCentOS7ではインスト失敗。
Installing plugin "Octolapse" from https://github.com/FormerLurker/Octolapse/archive/master.zip...
/home/pi/OctoPrint/venv/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp3a5qsf8o/Octolapse-master.zip --no-cache-dir
Processing /tmp/tmp3a5qsf8o/Octolapse-master.zip
Requirement already satisfied: pillow>=6.2.0<7.0.0 in /home/pi/OctoPrint/venv/lib/python3.6/site-packages (from Octolapse==0.4.1) (8.1.0)
...(中略)...
Requirement already satisfied: zipp>=0.4 in /home/pi/OctoPrint/venv/lib/python3.6/site-packages (from importlib-resources->netaddr<1,>=0.7.19->OctoPrint>1.3.8->Octolapse==0.4.1) (3.4.0)
Using legacy 'setup.py install' for Octolapse, since package 'wheel' is not installed.
Installing collected packages: Octolapse
Running setup.py install for Octolapse: started
エラー!
Could not install plugin from https://github.com/FormerLurker/Octolapse/archive/master.zip, see the log for more details
since package ‘wheel’ is not installed.
管理者アカウントのwheelグループの事かな?ぐぐってみるとソレっぽい解決策があった。
$ sudo apt install python3-wheel
$ cd OctoPrint
$ source venv/bin/activate
(venv) $ pip3 install wheel
Collecting wheel
Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.36.2
(venv) $ ls
venv
(venv) $ find . -name wheel -print
./venv/lib/python3.6/site-packages/wheel
./venv/bin/wheel
(venv) $
してみたけど
…(前略)…
Requirement already satisfied: zipp>=0.4 in /home/pi/OctoPrint/venv/lib/python3.6/site-packages (from importlib-resources->netaddr<1,>=0.7.19->OctoPrint>1.3.8->Octolapse==0.4.1) (3.4.0)
Building wheels for collected packages: Octolapse
Building wheel for Octolapse (setup.py): started
Building wheel for Octolapse (setup.py): finished with status 'error'
Running setup.py clean for Octolapse
エラー!
Could not install plugin from https://github.com/FormerLurker/Octolapse/archive/master.zip, see the log for more details
ググると、同じ目にあってる人がいたが、1.3.xの問題で、1.4.xで解決してたっぽい。
ま、それは仕方がない。
ラズパイ(Model 2B)よりも印刷時のヘッドの移動が