Jump to content
Ultimaker Community of 3D Printing Experts
Tony3d

Adaptive Layers

Recommended Posts

4 hours ago, Tony3d said:

I don’t understand how adaptive layers works. Can you set minimum and maximum layer height’s that can be used?

That is something I have not found yet myself. Not explicitly.

 

But one thing I can tell you is that the larger the number for "Adaptive Layers Threshold' the more it will spread out the layering. Here are two images of the same model using different numbers. You can see the difference. But the explicit min and max for layering is something I have not found yet.

 

Default Adaptive Layers Threshold.

DefaultThreshold.thumb.jpg.05adc2aa7e4cf55b9579d0ce43f405c8.jpg

 

High number in the Adaptive Layers Threshold.

HighThreshold.thumb.jpg.eff4d0ad66dffa9fea30a90c2358b262.jpg

Share this post


Link to post
Share on other sites

Something else that doesn’t make sense is the variation is set to .1 yet it’s going to .27! Also, you would think it would distribute the higher resolution over the wave not pool in front of it. 

Share this post


Link to post
Share on other sites
37 minutes ago, SandervG said:

I think one of our developers Ctbeke explained it here

This is one thing that makes this feature so fuzzy and hard to understand. The UI reflects the developers mindset...not the end-users mindset.

(yes, UI is tricky...I know...I work with such stuff daily)

  • Like 1

Share this post


Link to post
Share on other sites
7 hours ago, Tony3d said:

I don’t understand how adaptive layers works. Can you set minimum and maximum layer height’s that can be used?

 

That's how I would do it if I was working on this feature. I think the current scheme isn't user friendly.

  • Like 2

Share this post


Link to post
Share on other sites

I will have to take up for the programmer on this. He had only 4 weeks to get something working. It is working. So, I remember people saying that the feature was introduced with the idea of getting feedback on issues to refine such processes/UI.

 

I agree that the current UI is not user friendly, but I am impressed by what got accomplished in such a short time. Maybe I am just easily impressed.

  • Like 2

Share this post


Link to post
Share on other sites

'I'm not really sure about the threshold, perhaps @ctbeke could elaborate on that more. 

10 hours ago, Tony3d said:

Can you set minimum and maximum layer height’s that can be used?

Yes. I also had to check; so here it goes:

Adaptive layer maximum variation: How much adaptive layer height may deviate from your base line layer height. So if your base line is 0.2 micron, and your adaptive variation is 0.05, adaptive layers will vary from 0.15 - 0.25. 

Adaptive layers step size will determine how big the steps are from which Cura will switch from 0.15 to 0.2 for example. With a value of 0.01 it will go from 0.15 to 0.16 to 0.17 etc. 

Adaptive threshold  is a bit more complicated. As a rule of thumb, the value 200 references to a degree of approx 45º. The lower the number (lets see 100), the more adaptive layer height will lean towards thinner layers on vertical/slightly skewed walls.  

Quoting Ctbeke: '

The formula is layer_height / tan(steepest_slope_in_layer) <= threshold. So the threshold value is compared to the potential layer height divided by the tangens of the steepest slope in the potential layer. In this case an angle of 0 is a horizontal flat surface and 90 is a vertical surface (i.e. the steepest possible slope). The 90 degree offset is there to make sure the algorithm works in the right direction for the threshold comparison.

Code details: https://github.com/Ultimaker/CuraEngine/blob/master/src/settings/AdaptiveLayerHeights.cpp#L158.'

 

I think it is a great feature but it is in experimental for a reason. For example, I also understood it is more inclined to print overhangs with thinner layers, where in theory thicker layers should give better results. I don't think it can differentiate inwards from outwards slopes yet. 

 

Hopefully this helps! 

Share this post


Link to post
Share on other sites
6 hours ago, smartavionics said:

 

That's how I would do it if I was working on this feature. I think the current scheme isn't user friendly.

+1 for min/max layer height setting

Share this post


Link to post
Share on other sites

I'm sure all of those things will happen at some point in the future. They're quite difficult to implement in such a way that we can guarantee print quality (that's the whole reason the base profile is used as center of the layer range and the offset goes in both directions, see my linked post above for more details). Doing different behavior for overhangs vs top surfaces should be doable though.

 

Note: I'm not working on Cura at the moment but on another project, so I guess someone else in the Cura team will pick this up when it becomes a priority, or when I find some spare time to work on it.

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

×

Important Information

Terms of Use Privacy Policy