Hello! Need help with connecting points to create a space frame, final step of the process (irregular surface)

Hi guys, first of all Im very new to grashopper and rhino so please bear with me.

I've managed to create a surface in Rhino and wanted to create a pyramidal space frame under/over it. I've attached a rhino file of the surface (just note I turned off the layer of the surface, so rhino graphics don't overlap with the grashopper graphics)

Then i made this grashopper code to generate the needed points

My problem at the moment is that i cannot figure out how to correctly sortout the points or data in order to correctly connect them into a space frame with polylines and lines.

I really would appreciate any kind of advice or help, no matter how small , im banging my head against the wall here. If you think im doing soemthing totally wrong i would highly appreciate if you could point towards any kind of mistakes in reasoning.

It all appears just a few components away. Im sure someone out there has an idea how to do it. I watched a number of tutorials on how to make a space frame over a regular surface and the methods  used there to create those lines, but i haven't managed to translate it to my situation

Looking forward for anykind of input/advice/help, thank you in advance!

Load Previous Replies
  • up

    Joseph Oster

    I'm not a "mesh guy" so I would do it like this:

    The 'Tree/List Viewer' is only a visualization tool to see the columns and rows of projected points, not part of the model.  Connect 'Flip' to 'Pt' to see rows vs. columns.  The 'Project I (Index)' output tells you whether or not any given point intersects the surface.

    What you do with the points to create a space frame is up to you!  Some culling of alternate points, perhaps?  Then moving them up/down in the 'Z' direction?  Or surface normal, if that's what you prefer.

    1
    • up

      Joseph Oster

      Using the points from the previous post, here is a rather brute force way to define a framework of points above and below the surface.  It has XZ and YZ diagonals but is missing XY diagonals - and with more clever mapping, could likely be done with fewer components.

      4
    • up

      Hyungsoo Kim

      Hi.

      This one is a typical way of creating space frames using subsurfaces.

      Perhaps the most simplest way is using "Relative Items" component but  may be more difficult to understand to you.

      1