Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Orientation doesn't orientate model #25

Open
Twan-Reijinga opened this issue Jan 19, 2024 · 0 comments
Open

Auto Orientation doesn't orientate model #25

Twan-Reijinga opened this issue Jan 19, 2024 · 0 comments

Comments

@Twan-Reijinga
Copy link

When I load a model in Cura (like a benchy in a weird orientation), select it and click Extentions > Auto Orientation > Calculate [fast/extended] optimal printing orientation, nothing happens. The orientation isn't changing for both orientation options.
But the "All selected objects have been oriented." message is visible.

Version

Auto-Orientation 3.7.1
Cura RPM 5.4.0

System

Fedora Linux 39 (Workstation Edition)
Reproduced on an AMD desktop and AMD laptop

Output cura.log

2024-01-19 14:55:48,280 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]: Exception: Job <OrientationPlugin.CalculateOrientationJob.CalculateOrientationJob object at 0x7f0bc35af8f0> caused an exception on worker JobQueueWorker [7]
2024-01-19 14:55:48,281 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]: Traceback (most recent call last):
2024-01-19 14:55:48,281 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:   File "/usr/lib/python3.12/site-packages/UM/JobQueue.py", line 133, in run
2024-01-19 14:55:48,281 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:     job.run()
2024-01-19 14:55:48,281 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:   File "/home/twan/.local/share/cura/5.4/plugins/OrientationPlugin/OrientationPlugin/CalculateOrientationJob.py", line 30, in run
2024-01-19 14:55:48,281 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:     result = Tweak(transformed_vertices, extended_mode = self._extended_mode, verbose=False, progress_callback=self.updateProgress, min_volume=CuraApplication.getInstance().getPreferences().getValue("OrientationPlugin/min_volume"))
2024-01-19 14:55:48,282 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-01-19 14:55:48,282 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:   File "/home/twan/.local/share/cura/5.4/plugins/OrientationPlugin/OrientationPlugin/MeshTweaker.py", line 147, in __init__
2024-01-19 14:55:48,282 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:     results = np.array(results)
2024-01-19 14:55:48,282 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]:               ^^^^^^^^^^^^^^^^^
2024-01-19 14:55:48,282 - ERROR - [JobQueueWorker [7]] UM.JobQueue.run [135]: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (11, 5) + inhomogeneous part.

cura.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant