I want to create a volume cube around an object with equal padding from the center of the bounding box of the object. Ideally, this would be a single value input (ie. “padding amount”).
The issue(s) I’m having are:
Adjustments to the min/max values of the volume cube appear (to me) to be done from the origin of the object and not the center of the bounding box.
I can tweak min/max values to get the padding I want, but it is cumbersome and not intuitive because it involves 2 values and (see 1 above:arrow_up:).
Basically, I just want the volume cube to be larger than the bounding box with an easy way to adjust how much.
(Mix+Max)/2 = center of BB (x/2 = x*0.5). Then it is like rotation… you move by opposite of this center (subtract, to origin), do scaling, then move it back (add).
Every time I think I’m getting the hang of geometry nodes, someone comes along to prove once again that I’ve barely begun to scratch the surface. This solution is well beyond my current ability to figure out on my own. Thanks for your help.
Ha! I’ve never been mathematically inclined. I’m always impressed by those who are! And remembering something you were taught in math class years ago definitely counts!
Note: I also asked this question on Blender Stack Exchange if you have an account and want to answer it there. Otherwise, I will point to your solution here.