fieldofview / cura-zoffsetplugin Goto Github PK
View Code? Open in Web Editor NEWA Cura plugin that adds a Z Offset setting
License: GNU Affero General Public License v3.0
A Cura plugin that adds a Z Offset setting
License: GNU Affero General Public License v3.0
Had to uninstall and reinstall and then back to perfect.
Interestingly the Z-offset was still set for the printer in question.
Very minor issue but might be worth a look?
Hi Aldo.
This came up on one of the forums (Reddit?). I was not able to reproduce it then but it came up today on a "One at a Time" a project of my own.
"...\ZOffsetPlugin\ZOffsetPlugin.py", line 144, in _filterGcode
2024-07-18 20:07:00,446 - ERROR - [MainThread] UM.Qt.Bindings.OutputDeviceManagerProxy._writeToDevice [163]: adjusted_z = round(float(result.group(2)) + z_offset_value, 5)
2024-07-18 20:07:00,446 - ERROR - [MainThread] UM.Qt.Bindings.OutputDeviceManagerProxy._writeToDevice [163]: TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
It was necessary to un-install the plugin so I could save the project file.
GL1000 Bar Clamp.zip
Using a Z offset sets the offset incorrectly. I used a 0.1mm offset and it printed at a couple of centimeters which caused the print to fail.
hi,
Hi I'd like to request a feature in which the ZOffset on apply for the first layer wall(INNER/OUTER) and revert back to original once it is on 1st layer TYPE:SKIN. My use case it to improve the bed adhesion of initial thin lines/wall by squishing it a bit while preventing the SKIN in having ridges due to the offset.
Regards,
Jeff
# 1st layer
G0 F6000 X62.827 Y75.333 Z0.18 ;adjusted by z offset
G92 Z0.2 ;consider this the original z before offset
;TYPE:SKIRT
;TYPE:WALL-INNER
;TYPE:WALL-OUTER
;TYPE:SKIN
G0 Z0.2 ; reset to original for bottom skin
It's possible to just pass offset value to macro in start gcode without inserting coordinate system shift?
Hi, thanks for a really helpful plug-in.
Printer Ancubic i3 mega s, BL-Touch , Cura 4.8.0, Octoprint
I can adjust the distance nozzle to bed by applying e.g Z-offset -0.1. It works fine as expected.
When the print finishes and I do the same print again starting from Cura it seems the z-offset is subtracted again. Like Z-offset -0.2.
So the nozzle is closer to the bed.
It does not happen when the printer is switched off. It does not happen when I do auto bed leveling.
Is this possible or just my feeling? Can I get the actual z-offset by a marlin command ?
i'm not sure if upgrading to the latest version of Cura changed anything, but around the same time, I started having problems with the default line Cura draws in its start code - it drags against the bed and is way too close. i can edit the gcode or have separate printers, but between printing with and without painter's tape, this is annoying. would be nice if there was an attribute i could use in gcode, or the plugin considered the start/end gcode cura uses.
It isn't showing up in 5.4.0 I have installed/Uninstalled multiple times from within cura and from the git file and still nothing.
Cannot see the plugin it the settings on Cura 4.8
It is in
C:\Users\Thomas\AppData\Roaming\cura\4.8\plugins\Cura-ZOffsetPlugin-3.5\Cura-ZOffsetPlugin-3.5
AND in C:\Program Files\Ultimaker Cura 4.8.0\plugins\Cura-ZOffsetPlugin-3.5
br, Thomas
Just after installing plugin from marketplace getting error
Tried on Cura 4.5 and 4.6.1
$ ./Ultimaker_Cura-4.6.1.AppImage
(AppImageLauncher:26012): GLib-GIO-CRITICAL **: 22:55:59.196: g_converter_convert: assertion 'outbuf_size > 0' failed
(AppImageLauncher:26012): Gtk-CRITICAL **: 22:55:59.196: Unable to load resource for composite template for type 'GtkDialog': Не удалось распаковать ресурс из «/org/gtk/libgtk/ui/gtkdialog.ui»
(AppImageLauncher:26012): Gtk-CRITICAL **: 22:55:59.196: gtk_widget_class_bind_template_child_full: assertion 'widget_class->priv->template != NULL' failed
(AppImageLauncher:26012): Gtk-CRITICAL **: 22:55:59.196: gtk_widget_class_bind_template_child_full: assertion 'widget_class->priv->template != NULL' failed
(AppImageLauncher:26012): Gtk-CRITICAL **: 22:55:59.196: gtk_widget_class_bind_template_child_full: assertion 'widget_class->priv->template != NULL' failed
(AppImageLauncher:26012): Gtk-CRITICAL **: 22:55:59.196: gtk_widget_class_bind_template_child_full: assertion 'widget_class->priv->template != NULL' failed
(AppImageLauncher:26012): Gtk-CRITICAL **: 22:55:59.196: gtk_widget_class_bind_template_callback_full: assertion 'widget_class->priv->template != NULL' failed
QApplication: invalid style override passed, ignoring it.
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
Fatal Python error: Cannot recover from stack overflow.
Thread 0x00007f86535e3700 (most recent call first):
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 297 in wait
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 549 in wait
File "/home/shep/.local/share/cura/4.6/plugins/MKSWifiPlugin/MKSWifiPlugin/MKSOutputDevicePlugin.py", line 211 in _handleOnServiceChangedRequests
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 862 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f8653fff700 (most recent call first):
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Backend/Backend.py", line 161 in _storeStderrToLogThread
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 862 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f8670f2b700 (most recent call first):
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Backend/Backend.py", line 149 in _storeOutputToLogThread
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 862 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f8671ffb700 (most recent call first):
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 293 in wait
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 424 in acquire
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f86727fc700 (most recent call first):
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 293 in wait
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 424 in acquire
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f8672ffd700 (most recent call first):
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 293 in wait
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 424 in acquire
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f86737fe700 (most recent call first):
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 293 in wait
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 424 in acquire
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/build/env/4.6/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Current thread 0x00007f86a1f9d740 (most recent call first):
File "/build/env/4.6/inst/lib/python3.5/_collections_abc.py", line 603 in __contains__
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/FlameProfiler.py", line 23 in enabled
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 74 in _recordSignalNames
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 150 in __init__
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 448 in new_new
File "/tmp/.mount_UltimaI3qAmx/usr/bin/plugins/plugins/LocalContainerProvider/LocalContainerProvider.py", line 71 in loadContainer
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 202 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332 in __performEmit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 219 in emit
File "/build/4.6/build/inst/lib/python3.5/site-packages/UM/Settings/ContainerRegistry.py", line 210 in findContainers
File "/home/shep/.local/share/cura/4.6/plugins/ZOffsetPlugin/ZOffsetPlugin/ZOffsetPlugin.py", line 53 in _onContainerLoadComplete
...
Aborted
Sorry to be so obvious but more for those that follow my question too ...
I presume this is the correct location for your Plugins value to be input?
Does my 0.5 value here mean it moves the nozzle Away from the Bed b y 0.5mm?
What is 'Extensive Z Offset Processing' for?
Is this your Plugins setting or CURA's?
Cura crashes after loading Any stl file.
Not exactly sure how this happens, i've looked through the code and can't see where it happens yet, but it happened on both windows 10 and mac.
I am also unable to reinstall as it makes a change Somewhere that stays even after uninstallation of Cura 4.7 and reinstallation on both mac and windows.
Cura was working fine on both Windows 10 and Mac until i installed this plugin.
Any chance someone else is having this issue?
Traceback (Mac):
Traceback (most recent call last):
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/cura/CuraApplication.py", line 1060, in event
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/Qt/QtApplication.py", line 464, in event
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/Event.py", line 218, in call
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/Signal.py", line 332, in __performEmit
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/cura/CuraApplication.py", line 1820, in _readMeshFinished
IndexError: list index out of range
Logs(Mac):
Thread 0x00007000127f8000 (most recent call first):
File "/Applications/Ultimaker Cura.app/Contents/MacOS/plugins/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 61 in _updateThread
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 862 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007000122f5000 (most recent call first):
File "/Applications/Ultimaker Cura.app/Contents/MacOS/plugins/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 87 in _updateThread
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 862 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x0000700011df2000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 297 in wait
File "/Users/th3m4d0n3/Library/Application Support/cura/4.7/plugins/OctoPrintPlugin/OctoPrintPlugin/python-zeroconf/zeroconf/init.py", line 2184 in wait
File "/Users/th3m4d0n3/Library/Application Support/cura/4.7/plugins/OctoPrintPlugin/OctoPrintPlugin/python-zeroconf/zeroconf/init.py", line 1496 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007000118ef000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 297 in wait
File "/Users/th3m4d0n3/Library/Application Support/cura/4.7/plugins/OctoPrintPlugin/OctoPrintPlugin/python-zeroconf/zeroconf/init.py", line 2184 in wait
File "/Users/th3m4d0n3/Library/Application Support/cura/4.7/plugins/OctoPrintPlugin/OctoPrintPlugin/python-zeroconf/zeroconf/init.py", line 1315 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007000113ec000 (most recent call first):
File "/Users/th3m4d0n3/Library/Application Support/cura/4.7/plugins/OctoPrintPlugin/OctoPrintPlugin/python-zeroconf/zeroconf/init.py", line 1221 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x0000700010ee9000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 297 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/zeroconf/init.py", line 2117 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/zeroconf/init.py", line 1434 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007000109e6000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 297 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 549 in wait
File "/Applications/Ultimaker Cura.app/Contents/MacOS/plugins/plugins/UM3NetworkPrinting/src/Network/ZeroConfClient.py", line 81 in _handleOnServiceChangedRequests
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 862 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007000104e3000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 297 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/zeroconf/init.py", line 2117 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/zeroconf/init.py", line 1262 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000ffe0000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/zeroconf/init.py", line 1183 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000f9d7000 (most recent call first):
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/Backend/Backend.py", line 165 in _storeStderrToLogThread
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 862 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000f4d4000 (most recent call first):
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/Backend/Backend.py", line 153 in _storeOutputToLogThread
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 862 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000eecb000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000e9c8000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000e4c5000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000dfc2000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000dabf000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000d5bc000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000d0b9000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x000070000cbb6000 (most recent call first):
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 293 in wait
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 424 in acquire
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 98 in _nextJob
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/JobQueue.py", line 123 in run
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/threading.py", line 882 in _bootstrap
Current thread 0x0000000116770dc0 (most recent call first):
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/cura/CrashHandler.py", line 393 in _logInfoWidget
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/cura/CrashHandler.py", line 182 in createDialog
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/cura/CrashHandler.py", line 86 in init
File "/Users/ultimaker/build/4.7/build/inst/bin/cura_app.py", line 166 in exceptHook
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/UM/Qt/QtApplication.py", line 378 in exec
File "/Users/ultimaker/build/4.7/build/inst/lib/python3.5/site-packages/cura/CuraApplication.py", line 844 in run
File "/Users/ultimaker/build/4.7/build/inst/bin/cura_app.py", line 234 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/cx_Freeze/initscripts/Console.py", line 21 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load
File "/Users/ultimaker/build/env/4.7/inst/lib/python3.5/site-packages/cx_Freeze/initscripts/startup.py", line 12 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load
I like to be able to set separate Z-offsets with the "Per Model Settings" option to be able to test different offsets on different test patches but the option is not visible? I have checked the "Show all" checkbox and i already have all options visible under Setting Visibility. I'm running Cura v5.5.0.
The ui is not revealing the z-offset setting. It is visible and functional under the normal (global) settings.
Not sure if this is a limitation with Cura, but if not, this would be an absolutely killer feature for my very-large-print-bed levelling procedure. I'm currently manually editing a series of squares and it's very unruly and error prone as the repetitions grow.
(if you're interested, I'm printing a series of squares with z offsets of +/- 0.05mm, at a series of probe points, then manually adjusting the UBL grid based on real-world results. It's working splendidly but is such a pain to manually set up for each grid size, filament, temperature, and a handful of other variables)
Is it possible to change the Z Value in the start g-code with the plugin?
I want to quick change the Printbed. Normally i got a glass bed and want to add a 1.1mm thick textured sheet. All works fine but the purge line created with the start g-code.
Kind regards
This plugin only makes Z Offset for first layer only (on the buildplate), not the other layers.
Ie. if original layer height is 0.2 mm and offset is set to 0.2 mm, first layer prints at Z0.4 (correct) but others print like nothing has changed, so its: Z0.4, Z0.6, Z0.8 etc
That means I can't keep a nozzle all the time during print above whole object. Which solves nothing for materials like PETG which likes to be „airprinted“. After some time, usually bigger print, there is so much material on the nozzle that it starts to be clogged and later it will leave huge marks of collected material from nozzle on the print.
So for correct PETG printing I have to recalibrate buildplate manually anyway.
I have an Anycubic predator and I have come up with an odd issue that I believe your Z Offset plugin for cura (which I love and think is an absolute necessity) is causing it.
In cura using any variation of the draft 0.2 profile works great for printing.... If I switch to the Normal 0.15 profile or 0.06, my predator goes to the glass to start to print and then the head goes AWOL every time...it lifts off the glass and starts to print in the air in at all different angles and heights... But if I switch back to a 0.2 profile again (custom or standard) it works fine....
After hours of troubleshooting I found the issue. It is caused by the Z Offset plugin which I have used for a few months and really like. I guess with the update to Cura 4.3 the plugin works fine on layer settings 0.2 but if it is any smaller my predator printer goes rogue. If I set it to 0 everything works great using any profile layer height but then I have bed adhesion issues. Cura 4.4 does the same thing.
Is there more information that I can give you to help fix the plugin. It is something that I use all the time.
thank you so much for the work you put into the it is a huge benefit to us new to 3d printers
Cheers
Michael
I'm not seeing a Z Offset setting anywhere.
I assume it isn't compatible with 4.4. If I go to the installed plugins and check it, it just goes back to being unchecked when I restart Cura. This is a very useful feature in Cura. It saves me from needing to use the very long and inaccurate bed leveling procedure built into my printer.
Add an option tick box that applies the Z-Offset value only to every other adjacent line. This will allow a line to be offset in Z compared to each line on either side of it. This will interlock each adjacent layer by the Z-offset amount which will increase layer strength by effectively spreading layer separation forces over a much larger layer adhesion interface:
----O------O------O------O------O------O---
O------O------O------O------O------O------O
----O------O------O------O------O------O---
Blending the Z-offset up from zero from the bottom/initial layer and down to zero approaching the top layer will perhaps serve to ensure minimal disruption of the surface layer quality. Such Layer Interlocking would likely only have a minimal impact on X and Y surfaces due to the sideways squishing effect of the nozzle as a line is laid down.
If it's necessary for the original Z-offset functionality to be retained for probes, perhaps this idea could created as a separate plugin with a separate Z-Offset value specifically for this purpose or even just set the offset to be half the layer height??
I was looking at your _filterGcode
code and it could be easy to add linear extrapolation across a distributed grid of Z-offset samples, because you already adjust all Z values in G0/1 calls from the adhesion_z_offset
config value.
The _filterGcode
function would be extended to support Z-offset extrapolation based on X/Y values: By simply adjusting the Z value of G0/1 calls based on the grid, the printer will do the point-to-point linear extrapolation for us. For example, adjusted_z = extrapolate(X, Y, Z, ZOffsetSamples)
where X, Y, Z
are the original G0/1 coordinates and ZOffsetSamples
is the sample grid.
More background (mostly copy-pasted from my stack exchange post):
We have a Tronxy X5SA 400 Pro which uses a TR sensor to "auto-level" the printing bed. It samples 16 positions across the bed (4 x 4) and provides a +/- level from its initial measurement. For example, it might produce a grid like this:
+0.280 +0.155 -0.108 +0.127
-0.267 -0.010 -0.005 -0.218
-0.114 -0.020 +0.004 +0.000
-0.143 +0.110 +0.253 -0.270
As you can see in this contrived example, measurements toward the center are closer to a Z-offset of 0 because that is what it samples first; toward the edge, it can be off by ~0.3mm. By turning the sprung leveling screws, I can usually get it to within 0.250mm across the bed.
However, 0.250mm variance is still too much for 0.1mm-layer prints because at the center it is right on, but on the edge it is 2-3x the layer height above the bed...or worse, in the opposite case, the head will crash if the bed curves in the +Z direction; thus, I have to babysit the first layer and manually +/-Z as needed.
Prints in the center of the bed are great, but adhesion can be poor on the first layer when it prints near the edge, and part thickness can be off by ~1-3 layers.
Questions:
(X,Y,Z-Offset)
tuples for each sample. Then the user could have as many Z-offset samples as they wish. (In our printers case, it is always 4x4.)adhesion_zsample1_1
, adhesion_zsample1_2
, ... adhesion_zsample4_4
. This seems cumbersome and does not scale, but it is possible.in Version 3.5.6. the Plugin is not adding any Z-Offset to the G-code
I go to the marketplace, find the Z-offset plugin, and click the blue "Install" button. The button changes to "Installing" for a second or two, and then turns back into the blue Install button.
Machine is Windows 11 Home laptop, and Cura version is 5.7.0
If I the z-offset is set to -4.35mm in the marlin firmware; Initial Layer Height is set to 0.3mm in Cura; and I set this z-offset plugin to -0.05mm, this would be the equivalent of setting the marlin firmware z-offset to -4.40mm, right? I have to print PETG 0.05mm closer to the bed for good adhesion and it would be great if I could have this set in a Cura PETG profile so I don't forget to do it when switching from PLA.
I'm using Cura 4.6.1 with Octoprint v1.5.3 on my Ultimaker 2+ and Ender 3 Pro. I noticed that after installing the Z Offset plug-in, every time I begin printing the first time since the printer is turned on, the printers disconnect from Octoprint. This has been going on consistently ever since I installed the plug-in.
Currently, we have
"minimum_value": "-layer_height_0",
For accurate bed leveling I wan to use a credit card, which has a 0,8mm height. I need to apply a negative offset bigger than my layer height in order to get to it. Maybe using a minimum value warning instead of a hard limit?
PS: Thanks for the plugin, it's helping me a lot with calibration.
Hello,
I know this is quickly after the beta release, but I wanted to let you know that Z-Offset plugin is not working.
It appears that since upgrade the z offset value is no longer showing, have tried removing an re-adding to no avail?
plug-in is not supported Cura 5.6 ?
Hi,
I think the actual behavior of this plugin is to apply a Z-Offset for all the print.
Would it be possible to use/modify this plugin to apply a Z-Offset for only the 1st layer (or a defined number of layers)?
Kind regards
Chris
I installed the z-offset plugin from the market place, set it to 1.7mm(imported from S3D), and its behavior is to attempt to print ~75mm off the print bed. Seem to happen on any non-zero setting. When loading the preview in flashprint, the print does show on the bed.
Printer is a flashforge adventurer 3
Setting to zero, or uninstalling the plugin results in normal printing behavior. But I still need to be able to adjust it for my use case
Is it possible to have the Z offset listed under the printer settings in materials? I have a couple of different materials that I have added with different temperature settings that require a different z offset value. The material setting make adjust automatically so it would be great to enter the value once and every time the filament is selected the value gets changed. Not sure if this is possible but it would make things nice.
Hello,
since i switched from Cura 4.6 on windows to Cura 4.7.0 on linux
the offset plugin does not work for me anymore. its option is grey
Originally posted by @muenznej in #17 (comment)
Application version
4.5.0
Platform
Manjaro 19.0.2 Kyria
Kernel: x86_64 Linux 4.19.113-1-MANJARO
Printer
Does not matter
Reproduction steps
Screenshot(s)
(Image showing the problem, perhaps before/after images.)
Logs
2020-04-06 13:45:35,281 - ERROR - [MainThread] UM.Qt.Bindings.OutputDeviceManagerProxy._writeToDevice [144]: adjusted_z = round(float(result.group(2)) + z_offset_value, 5)
2020-04-06 13:45:35,281 - ERROR - [MainThread] UM.Qt.Bindings.OutputDeviceManagerProxy._writeToDevice [144]: ValueError: could not convert string to float: ''
2020-04-06 13:45:39,218 - DEBUG - [MainThread] cura.AutoSave._onTimeout [60]: Autosaving preferences, instances and profiles
Additional information
If z offset is set to 0 it works fine but when it is set to 0.1 and I use 0.8 mm nozzle it throws this error
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.