Jump to content
Ultimaker Community of 3D Printing Experts
neone

cura gravity setting?

Recommended Posts

Mesh mixer has a find best orientation setting but it's not gravity related, it's overhang related.

You can load your model in that then orientate the model, save then load in CURA.

I'm not sure if gravity would be the best way to find the best orientation. Detecting overhangs and selecting the best side to print from I think would be the best.

Another consideration can also be strength, where you want the layers a certain way to get maximum strength.

  • Like 1

Share this post


Link to post
Share on other sites

The printer can lay on it's side or upside-down and printing quality doesn't change. Overhangs are still difficult and lose quality if more than 45 from vertical. Around 80 degrees from vertical they get very bad. Again - gravity doesn't have much to do with it.

There is certainly the "lay flat" feature mentioned above that tries to rotate your part such that most of the surface is touching the build plate. I suspect this is what the other "gravity" feature did.

Share this post


Link to post
Share on other sites

I would suspect that using a hill-climbing optimization algorithm to minimize the sum of a potential energy function calculated at each vertex of the model would do the trick. Your potential energy function would only depend on height from build plate so it's not like it's complicated to calculate or anything. How hard it would be to implement the optimization would depend on how easy it is to perform a rotation or translation on the model and peek at the change in the energy function without wasting time rerendering in the UI.

If you ran the algorithm over a variety of different initial orientations of the model (e.g. every combination of 45 degree rotations on the x-z and y-z planes) and take the minimum configuration generated by all of these, I believe it would also tend to find an orientation which would reduce the need for support.

Working out how this would be made available in the UI and tuning the algorithm to make an appropriate trade off between quality of optimization and performance would be harder problems than the calculation itself though.

Share this post


Link to post
Share on other sites

Your potential energy function would only depend on height from build plate so it's not like it's complicated to calculate or anything.

 

True, but it would still require a ton of checks. The single check isn't that expensive, but it adds up.

 

How hard it would be to implement the optimization would depend on how easy it is to perform a rotation or translation on the model and peek at the change in the energy.

 

A transformation isn't that expensive, but it would require a few hundred different transformations with thousands of checks for the distance to the place.

 

Working out how this would be made available in the UI and tuning the algorithm to make an appropriate trade off between quality of optimization and performance would be harder problems than the calculation itself though.

 

Yup. I wouldn't even do this in the GUI! In an ideal case we would have an external lib that handles this. This would allow for much faster computation without all the weird hassle of hiding stuff in the GUI.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

[[Template core/front/global/_customFooter does not exist. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!