Ultimaker / Cura

3D printer / slicing GUI built on top of the Uranium framework
GNU Lesser General Public License v3.0
6.2k stars 2.08k forks source link

Cura appears to hang when generating custom Tower #19467

Closed Beep6581 closed 3 months ago

Beep6581 commented 3 months ago

Cura Version

5.8.0

Operating System

Manjaro

Printer

Creality Ender-3 V3 KE

Reproduction steps

  1. Extensions > Auto Towers > Custom Speed Tower

Actual results

A popup appears, but the content is just a corrupt (cropped and non-interactive) copy of the custom settings. See screenshot.

screenshot_20240802_175511

I killed Cura thinking it was frozen, but after several attempts I found that it takes 30-120 seconds to generate the tower.

htop shows that openscad is running, see screenshot later on.

Note that if you use a non-custom tower, e.g. Extensions > Auto Towers > Speed Tower - Print Speed 100-200, the model appears instantly.

Expected results

If generating a custom tower is not instant, I would expect there to be a progress bar or spinner or something that tells me to wait 30-120 seconds, and not a corrupt popup.

Add your .zip and screenshots here ⬇️

This appears in the console:

QQmlExpression: Expression file:///home/morgan/.local/share/cura/5.8/plugins/AutoTowersGenerator/AutoTowersGenerator/Resources/QML/QT6/SpeedTowerDialog.qml:69:17 depends on non-NOTIFYable properties:
    SpeedTowerController::towerTypesModel

screenshot_20240802_180027

HellAholic commented 3 months ago

Try installing the latest version of the plugin from the plugin developer's repository https://github.com/kartchnb/AutoTowersGenerator/releases

The last version submitted to marketplace is 2.6.0 and the latest at the moment is 2.7.2 on the plugin repository.

If you have a feature request for a progress bar in the plugin, you should request it from the developer as well rather than Cura. There might be some changes required since the update of PyQt version in Cura 5.7.0; if the updates have been done by the developer but the Cura still shows the window as cropped Cura team can investigate further.

PartySausage commented 3 months ago

Also OpenSCAD hasn't had an official release since 2021, however there are regular development releases, https://openscad.org/downloads.html#snapshots which I've found to speed things up on the processing side & It might also be worth trying one of those. As the dev releases can run in parallel with the official release & install to a (nightly) folder you'll have to updated the auto towers plugin setting so that it points to the path for the dev exe file rather than the exe from the official release.

github-actions[bot] commented 3 months ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.