Offset Diamonds patterns without gaps

Is there any way that I can offset these individual diamond patterns without gaps in them?
Diagrid v2.gh (57.1 KB)

This is an alternative using Surface Morph.


Diagrid v2_re.gh (15.8 KB)

Your def takes ages to open - so I killed R manually (the shown below examples require 50 ms max).

Anyway :

  1. If you want speed work with Meshes (because is a Class using floats meaning that Mesh ops are way faster than Brep ops).
  2. Use Normals (either in Meshes or BrepFaces) and create the “sides” by defining angle bisectors and then use Trigonometry for the “width” of the “beam”. Shown below modules with distance (i.e. clearance) between them controlled by the offset var (that can be 0 - that’s not rational in real-life).
  3. Instead of a “single” object per “frame” … rather try to get your result as collections of 3 or 4 items (see below). We can call them “beams” if you like.
  4. An inwards offset MAY of MAY NOT yield a valid frame. See the pink objects that fail to yield a result (i.e. “beams”) because their min side is incompatible - so to speak - with the offset value AND the “beam” height value.
  5. In real-life/real-word there’s the torsion free beams “little” thing. But that’s another animal (solvable via K2). Unless of course this is some artistic object (or some toy model).





Thank you very much, this will definitely work. Thanks for the tips as well!

Thanks, I did not know about this component.