Ultimaker / Cura

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

Auto rotate feature #690

Closed ohhmm closed 7 years ago

ohhmm commented 8 years ago

It would be nice to have auto-rotate feature like Repsnapper has. Good model to test peppa.

nallath commented 8 years ago

Do you mean automatically calculate the best printing orientation?

ohhmm commented 8 years ago

Yes if printing orientation means select all needed rotation to get best cost effectiveness or quality

Ghostkeeper commented 8 years ago

There is the Lay Flat feature but it only really accounts for overhang.

mokusolo commented 7 years ago

Curious about the problem that the model moved up and down after rotation in 2.1(I know you've fixed it in 2.3), I found RotateTool.py where the function layFlat() is, but can't figure out how it's invoked after the MouseReleaseEvent. I think the jumping is caused by the layFlat, and I want to close this feature. Most time it's good and expected, but always with large and complex files I don't want that, and I can replace it with "center model on platform" after rotation. Could you please give me some advice? Thank you.

awhiemstra commented 7 years ago

The push up/down is not handled by the tool, it is handled by the platform physics. See https://github.com/Ultimaker/Cura/blob/master/cura/PlatformPhysics.py#L85 and further.

ohhmm commented 7 years ago

Yes @mokusolo, this algorithm is implemented in open source Repsnapper, you can find it in its code.

mokusolo commented 7 years ago

Thank you so much. My misunderstanding...

nallath commented 7 years ago

Calculating the best orientation is now handled by a seperate plugin.