Orient geometry along curve without overlapping the geometry

Hello everyone,

I am having trouble figuring out how to orient a geometry module along a curve that faces one direction and does not overlap when it curves. Any ideas?

The geometry module I want to use:


What I am trying to accomplish:

Rhino File: window skin study_20201215.3dm (4.3 MB)

GH script: windowskinstudy_20201215.gh (11.8 KB)

like this? windowskinstudy_20201215_ME.gh (11.6 KB) I have used the bounding box for retrieving the dimensions of your unit, and created a second set of contours in x-direction; the intersection points of these contours is the target for orienting the unit.

1 Like

How bout his one? Box packing.3dm (156.8 KB) box packing.gh (57.5 KB)

1 Like

Yes Many thanks!!! Thanks for your help!