Gradient UV division on waffle script / Bowerbird

Hi, I have been given this script for a university task. It will be cut out on MDF panels. I want to make a dispatch pattern to control the number of U and D divisions so that it increases gradually the mor far away from the selected edge of the bounding box it gets as show on the image.
The deadline is tomorrow so I’d be super grateful to receive help asap! Thank you!

waffle dispatch.3dm (325.6 KB)
waffle dispatch.gh (27.0 KB)

Hello

well as you saw, Bowerbird has not this option. So if you can change the tool change something else. The simple way is to distort your geometry and find a way to do the inverse.
Here I use a simple equation to distord value between 0 and 1.



Then I invert the exponent and do the opposite.

You can play with other equation. It could be possible also to use a curve in order to make a “Graph Mapper”. Graphmapper can’t be used here because it lacks the revert.
bowerbird not uniform U.gh (20.9 KB)

Hi, thank you so much for your help. I will sit and try to understand the code better, but just to be able to deliver the task, I am struggeling to extract the curves in the opposite direction, the V divisions. Is that what you mean about inverting the exponent? In which part of the script?

No I just worked on U direction (X here).
If you want also V you just have to copy the various component.

And also here an updated tool to show you the curves on XY plane.

bowerbird not uniform U.gh (102.4 KB)

1 Like

I think I forgot something ! As there is a slight deformations slits will not be well scaled. So it is safer to take bigger slits ! Or to change and not use BowerBird !

1 Like

Yes I understand but it doesn’t work… I know it’s because I’m not really understanding the code but I really want to make it work for the printing tomorrow :sweat_smile:
This is the final shape, on X it works great, on Y it kinda moves and deformates
final try waffer.3dm (885.1 KB)
final try waffer.gh (17.9 KB)

Thank you for the tool as well.

Also if I want to keep it simple and leave the Y direction normal it doesn’t match the X slits…
original script error.3dm (899.0 KB)
original script error.gh (32.8 KB)

Change the way of work. Use legacy components


slits test.gh (15.7 KB)

Thank you again, but it is mandatory for the task to use the waffle script :frowning:

Gradient planes is trivial. Extensive work was required, however, to handle the donut shape that generates multiple section curves per plane. I started from this, done two days ago:


P.S. No plugins.

P.P.S. I don’t know why there is no GH file for this donut? Here it is: (Oct 3, 2024)
waffle structure_2024Mar31b.gh (128.2 KB)

I missed something. There is more work involved to change the curve that are deformed. Didn’t see it on the donuts because of the symmetry.

Stay with regular division.

If you want not regular division look at Joseph definition or mine with Legacy components.