Creating Voxels/Twisted Box between two Surfaces in Grasshopper

Dear Community,

I want to use the crystallon feature in Grasshopper to create some sort of beam structure within a Brep, for which I need to create voxels between two surfaces. I tried two versions, one in which I created a twisted array. However, when I try to pull in the points to my desired surface, not all the edge ponts are pulled in and therefore not creating my desired result.
The second version I tried was using the crystallon V2 morph between surfaces. But for this version I had rebuilt the whole surfaces again with the ruled surface feature (maybe there is a much easer way, I don’t know) and still the result was kinda twisted and not as I desire. I just need straight regular voxels between these two surfaces. I am not sure if the problem is the shape of my surfaces or my approach of creating the voxels. Any suggestion? Would reeeeally appreciate it. Thanks in advance!




Voxels.gh (104.8 KB)

Thanks a lot, that helped! One last question: Do you have any idea why the voxels merge at a single point where the arc is, instead of distributing more evenly along the rounded area? This causes a bit of trouble when I populate the voxels.



Have no idea without file.
See the rules.

Ah sorry about that! I figured out the problem and could solve it. It was how the surface was built. I will post the gh. file a little later in case you are interested how I did it. :blush: Thanks a lot for the support