5axes / Calibration-Shapes

A Cura plugin that adds simple shapes (cube, cylinder, tube) and also 24 Calibration and test parts + 7 Postprocessing scripts
GNU Affero General Public License v3.0
330 stars 69 forks source link

Activate models auto drop down #150

Closed wawanbreton closed 2 months ago

wawanbreton commented 2 months ago

Hi,

This is an easy workaround to fix the floating objects issue https://github.com/5axes/SpoonAntiWarping/issues/8. It activates the per-model "Drop Down Model" option on the generated calibration shapes, so that they will always be lying on the build plate.

While working on the topic, I actually found the root cause of the issue, which is that Cura assumes the 3D meshes to be centered on their bounding box when writing and reading 3MF files. This is the case when loading STL meshes because we do re-center them at load time. But for generated meshes like for this plugin, it doesn't work. I have then opened a ticket for solving the root cause. However, this requires some time that we can't afford yet. So in the meantime, I suggest that we apply this change on the plugin, which at least avoids having floating objects.

Tell me what you think about it.

Partially fixes https://github.com/5axes/SpoonAntiWarping/issues/8