Page MenuHome

Improve Solidify/Bevel Modifier cooperation
ClosedPublic

Authored by Henrik Dick (weasel) on Apr 4 2020, 2:24 PM.
Tokens
"Love" token, awarded by Lonke."Like" token, awarded by belich."Like" token, awarded by franMarz."Love" token, awarded by Dspazio."Love" token, awarded by 14AUDDIN."Love" token, awarded by HooglyBoogly.

Details

Summary

This patch adds a slider to solidify which allows the user to add bevel weight on the outside or remove bevel weight from the inside.
A quick demo of what can be done now:

This model uses Solidify and Bevel Modifier. Look at the edges how the bevel only is applied from the outside.

Also included in this patch is a very small improvment for working with subsurface modifier where the rim edge in complex solidify will now also have a chance to get a crease if there is only two adjacent edges.

This patch is based on D7224 and should land after that one.

Diff Detail

Repository
rB Blender

Event Timeline

Applied clang format

fixed some artifacts

I think now I've got every artifact fixed for non manifold (complex) mode

I will look into extrude/simple solidify now, but probably it will stay different from complex solidify in how it handles bevel weights

While playing with it I found a very weird behaviour of the bevel modifier. I will make a bug report about that.

fixed a crash when using solidify simple.

At this point everything seems to work. The behavior for simple solidify rims is still the same as before though. I could implement the same behaviour as for complex solidify, but that would make old files look different. As complex solidify is very new still I think its fine for that one to change for the better, but as simple solidify has a long history, a lot of people rely on how it works (I don't know if anybody used it with bevel weights though). So I would need feedback before changing anything like that.

From quick skimming over code things look good. Was not able to apply the patch on current master though, can you please update it (as well as D7340)?

source/blender/modifiers/intern/MOD_solidify_extrude.c
238

0.0f ;)

source/blender/modifiers/intern/MOD_solidify_nonmanifold.c
1803

0.0f ;)

  • rebase
  • tiny modifications
Henrik Dick (weasel) planned changes to this revision.Apr 13 2020, 9:04 PM

There is one little adjustment I still need to make for complex mode rim bevel weights. (I noticed it right now)
Will probably be done til tomorrow.

  • fixed bweight distribution for non manifold edges
This revision is now accepted and ready to land.Apr 14 2020, 11:18 AM

Hi! I was trying the commit and I noticed a couple of problems. I thought it was better to just list them here instead of filling bug reports.

  • in Simple mode a Bevel value different than 0 with Fill Rim disabled results in instant crash
  • in Simple mode the slider doesn't work if the edge weight is not initialized yet (setting the weight to any value other than 0 activates it)

Tested on the default cube.

Hi! I was trying the commit and I noticed a couple of problems. I thought it was better to just list them here instead of filling bug reports.

  • in Simple mode a Bevel value different than 0 with Fill Rim disabled results in instant crash
  • in Simple mode the slider doesn't work if the edge weight is not initialized yet (setting the weight to any value other than 0 activates it)

Tested on the default cube.

Thanks for the bug report, will take a look at that as soon as possible.
You could have filed a normal bug report instead and added me as subscriber mentioning this diff, but anyway.