How do I scale one object by the boundary of another? (edit mode - Geometry nodes)

Hello.

I have a simple boolean (difference) via geometry nodes:

How would I scale the size of slices so they are always bigger than the original mesh? I’ve been mucking about with the bounding box node but I can’t seem to get this to work properly. Scaling the original mesh (in edit mode, e.g. extruding a side) doesn’t update the size of the slices.

Any thoughts?

Hi!
You mean to set the XY dimentions of those cube instances?
Using Bounding Box, we can subtract [Max-Min] to get the dimentions of the object.
Or use Range in Attribute Statistic… I think they return the same result?

I’ve added Scale node here to make the black cube larger for demonstration (plus, you’ll probably want to scale (add) dimentions a bit, if you’re using it for boolean)

4 Likes

Yes! Thanks!

I am always close to figuring it out, but in this case didn’t subtract min/max (or use an attribute stat).

2 Likes

@stray: liked and bookmarked :grin:

@grant.r.brown : at least you posted your trials… much better than simply asking and someone has to re-ask how this is meant :wink:

2 Likes