LunchBox

A collection of useful geometry tools.  The plug-in includes utilities for mathematical forms, paneling systems, structures, and workflow.

Load Previous Comments
  • Nathan Miller

    Mohammad,

    I added a official discussion on this topic above since it is an interesting one that deserves more discussion.  I see some interesting potential to evolve this functionality...  I don't have an immediate answer, but please re-post there and I will revisit later on.

    -Nathan

  • Igor

    Nathan, thanks for the great tools. I have a question about attractor. Why points located in one place (verticels of Voronoi cells) are different transformed. I believed that superposition of forces of attractor in each point of space is equal(i hope you understand my english).

    LunchBox_Attractor.gh

  • Nathan Miller

    Hello Igor,

    You are using the attactor on the corners of the voronoi cells.  Each corner will be transformed (in your case 'moved' inward) differently because each corner is located at a different position relative to the attractor point.  

    If you want an even transformation of cells (such as a scaling operation), you could use the center of each cell as your target points for the attractors.

    see attached....

    -Nathan

    LunchBox_Attractor_NM.gh

  • Rotring

    I can't download the lunchbox!!

    could you send lunchbox to my email!!thanks a lot!!

    fatiaorenlei@gmail.com

  • Nathan Miller

    Zhu Na:  

    There are two locations for downloading

    My Wiki:  http://theprovingground.wikidot.com/tpg-plugin-download

    and

    Food4Rhino:  http://www.food4rhino.com/project/lunchbox

  • Jacopo Baldini

    Hello,

    I'm trying to make a freeform surface from a base plane surface like the link below:

    http://www.grasshopper3d.com/xn/detail/2985220:Topic:556541?xg_sour...

    I would like to have a final result for manage the surface like this link:

    http://vimeo.com/37360469

    I uploaded the definition and the .3dm file could someone tell me how to improve and fix it?

    Cheers....

    freeform_from_planar_jacko.3dm

    freeform_from_planar_jacko.gh

  • fernando molas garcia

    It is admirable the work of people like you. helps simplify the work and thinking about new challenges

  • jaime tellado alvarez

    http://www.grasshopper3d.com/forum/topics/using-lunch-box, the link is a discussion about how to convert lines from a structure grid made with lunchbox into elements of rectangular section

  • fernando molas garcia

    Other formats supported by the component save? I'm using revit and I get along with the *. Sat.

  • Nathan Miller

    Fernando,

    The component should accept any format available through normal export.  Basically it uses Rhino.Command to automate Baking and Exporting through the command line.  Objects on the baked layer get deleted after export (so be careful)

    I tested SAT so you should have no problem (let me know if you do)

    -Nathan

  • Igor

    Hello Nathan,

    Once again thanks for fine tools.

    There is a small problem. At the big difference of curvature along a surface distribution of UV parameters strongly non-linear and panels turn out different size.


    I have made definition with your tools which almost solves this problem, but it a little bulky and panels as a result turn out as the trimmed  surfaces. While works only with three kinds of panels.

    I have a question. Whether probably to add in your tools option like as "linearize UV" or "remap UV"?

    Best regards

    Definition  Uniform_Panels.gh

  • YunXiang Wang

    Thanks you , Miller   nice to see you again O(∩_∩)O~

  • YunXiang Wang

    This is  nice  plugins, god ,you are the author . Thank you for  your sharing

  • Philipp

    Instantly Lanchbox began to write this message:

    System.Runtime.InteropServices.COMException (0x800A03EC): Exeption in HRESULT: 0x800A03EC
    I thought it couse exel file is too long but now it is doing the same with any exel file... (what is the max size, actually? can I use some tricks to upload really huge file, about 10 000 or 100 000 lines?)  

  • Nathan Miller

    Philipp,

    I have had this before and it usually has something to do with having other processes running that are using System.Runtime.InteropServices... such as having multiple workbooks open or another application.  You might need to restart your open programs (or computer).  I don't think file size is the issue although I can't be sure since I'm usually not working with excel files that large.

    -Nate

  • David Stasiuk

    Hi Nathan...I've been riding the read/write excel, save and bake components in lunch box pretty hard and to fantastic effect in my workflow lately (and the various other goodies in my playflow)...so first and foremost: thanks!  One thing I've noticed though is that the bake component doesn't take points...it has a casting problem going from point to geometrybase.  Is this something you're aware of?

  • Nathan Miller

    Hey David,

    Thanks!  Yes I am aware that the casting problem there with GeometryBase.  Oddly enough, the exact same source code accepts points and other objects when placed in a scripting component.  For whatever reason, it gets fussy when made as a plug-in.  Not sure what the deal is.

    I have a couple of workarounds in mind based on some lessons learned in the newer Slingshot! components.  I had to do some casting gymnastics for the serialization components to get them to handle certain geometries.  I'll try and circle back and implement them here soon.

    Cheers,

    -Nate

  • Ali Nayeri

    Hi Nathan,

    Following up on the comments below, is there a temporary solution to the problem of baking points? I'm also having problems baking circles. But I think the solution would probably be to convert them to curves and then bake them.

    Thanks for a great set of components!

    Bests,

    Ali

  • Nathan Miller

    Ali,

    I'll try to get a fix out soon.  I'm in the middle of a move right now so I won't have much time to push out another update for a few weeks.  

    In the meantime, here is  VB script implementation of the same component which will work with points.

    BakeSource.gh

    -Nate

  • Ali Nayeri

    Hi Nathan,

    Thank you for your message and for your hard work on these components. We will wait as long as it is necessary for your next awesome update. I hope your move goes well :)

    Bests,

    Ali

  • Philipp

    Is there any chance to teah http read cyrillic letters or decode the result into cyrillic afterwards? (inside or outside grasshopper?)

  • sim odu

    Hello all,

    I'm having issues with trying to design a diagrid for this model surface. I have attached a .pdf and .jpg image of the draped surface.

    1. I used a "draped surface" to design the surface for the diagrid definition and then trimmed it to my desired specifications. However, the definitions I've found don't confine themselves to the parameters of the surface, they continue to the extents of original untrimmed surface. Is there a definition that will confine themselves and "fit" to the parameters of this newly edited surface?

     

    2. I am trying to get a diagrid that will bake only the structural grid of the diagrid and then the glass component separately. I will be rendering this later and I need both components to be distinct of one another.

    Please help, I am running out of time, I have been freaking out trying to figure this out and I have found nothing that helps my project. I've searched and found different definitions, tampered with them to fit my project and yet to no avail.

    I am still learning this plug-in and I enjoy it's functions, PLEASE HELP!!!

    Thanks,

    Sim

  • Nicky

    hi Nathan, thank you for amazing tools.i love it.

    I use  lunchbox that had a small error..(Swiss Re)

    similar to other components:

    result

    other view..it's ok.

    I hope for your help to better..thanks...

  • Nathan Miller

    Try setting the division parameter to an even number.

    -Nate

  • Nicky

    thank Nathan .. it's really simple that I could not think of .. great.

  • Patrick Delorey

    Hello Nathan,

    I've been working with Lunchbox with the latest release of the Rhino 5 beta (64-bit) in Grasshopper 0.9.006 and have run across a rather confusing problem.

    When I bake a set of curves to a set of layers, I get duplicate geometry.

    Running undo within Rhino ('Undo Grasshopper Solution') removes the duplicate geometry. Also, the baked geometry is always precisely twice the number of input objects. These two factors taken together, it would seem like it is executing the bake twice. Still, I can't figure out why this would be the case. Any thoughts? (Definition and template file attached)

    This definition with the current release of LunchBox was working perfectly in Grasshopper 0.8.0066. It's only since upgrading to 0.9.0006 that I've found this issue. Thanks in advance for any help you might be able to offer.

    Definition: 20120809RoofGridTool.gh

    Template: RoofGridTemplate.3dm

  • Nathan Miller

    Patrick,

    This is rather perplexing to me as well.  I am only able to repeat the problem within your file.  If I set up a similar bake system in any new file (re:  list of objects, list of layers) in v0.9006, it behaves as expected... only your file seems to be giving this trouble.  Have you upgraded to the newest version of LunchBox also?

    -Nate

  • Patrick Delorey

    Nathan,

    I'm running the most current version of LunchBox. I've had trouble reproducing the error in new files as well. On the bright side, the issue is more of an annoyance than catastrophic.

  • Philipp

    A small wish - please make bake component workable with groups..,

    Also It will be really nice to work with google spreadsheets as with exel tables 

  • Philipp

    id it possible to make a picture frames with a command line node?

  • Toussaint Jimenez Rojas

    i'm using the read open excel file to read a CSV file, and i get notice that when the CSV file have empy value in some of the tabs the commponent trim this and my branch list have sometimes all the item index and sometime less index than the desire cuz the empty index are trimed, thats an error of the component or what ?

  • feliks kristman

    Hej Nathan, I somehow have problems naming the geometry I want to save with lunchbox. Its always called " .obj "  or " .3ds ", depeding on the format of course. I tried both panels and strings for the name input. None of them works. 

    thx in advance,

    feliks

    I'm running rhino5 32 bit,  win7pro 64bit

  • Ángel Linares

    Hey Nathan!, I think I've found a bug: the bake component is not able to bake "line" geometry, you need to convert it to Curves. Hope this helps :) Thanks for the plugin and awesome work.

  • pipi

    Dear,How to bake lines?

  • Dario

    Dear Nathan/ group,

    do you have any idea how to resolve this error using the Excel Write component? 

    thanks in advance

    error%20LunchBox.jpg

  • Dino Eicher

    amazing tool! Thankx a lot for sharing it!

  • martyn hogg

    Should Lunchbox work with GH 0.9.0076 ?

    I ran the installer but no Lunchbox toolbar appears when I open GH.

    Thanks

  • Valentin

    Very good work Nathan!

  • Paresh

    how the flatness check tool works?? any one can guide please??

  • Alessandro Guidetti

    hi guys,

     

    I am searching a pdf guide for lunch box. Does anyone know where I can find it??

     

    Thankssssss in advance!!!! 

  • spiral

    all cells are equal length sides, the different lengths between points horizontally, do not know how to make a definition for such a mesh, please help  

  • Mo Harmon

    The read/write excel components aren't working for me. They were working even yesterday, but today I get this error:

    System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT: 0x800A03EC
    at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack)
    at LunchBox.WF_ExcelRead.SolveInstance(IGH_DataAccess DA)

    Any thoughts? Thanks!

  • Masood

    Hi, can anyone see my discussion(a bout Lunchbox) here

    it is about random quad panels which go out of the base surface around corners?

    ps: is this a right place to ask this or not?

    tanx

     

  • bea franko

    when using the excel read (legacy), i get this error:

                {0;0}
    0. System.Runtime.InteropServices.COMException (0x800401E3): Vorgang nicht verfügbar. (Ausnahme von HRESULT: 0x800401E3 (MK_E_UNAVAILABLE))
       bei System.Runtime.InteropServices.Marshal.GetActiveObject(Guid& rclsid, IntPtr reserved, Object& ppunk)
       bei System.Runtime.InteropServices.Marshal.GetActiveObject(String progID)
       bei LunchBox.WF_ExcelRead.SolveInstance(IGH_DataAccess DA)

    any ideas?

    thank you!

  • Nathan Miller

    Dear all,

    Thanks for all of the continued interest. To be honest, I haven't been keeping tabs on this group as much as I would like since I've started my new business.

    I have released a new version of LunchBox over at Food4Rhino that you might be interested in checking out.  The new version is provided as a ClickOnce installer as well as a ZIP file containing the latest plugin files. Hopefully by providing both it is easier for everyone to get up and running.

    Enjoy!

    -Nate

  • jens jacob jul christensen

    hey,

    I am trying to write a script that tesseltes regular hexagons across a surface using the hexagon cells panel. So that no matter the input surface/rectangles dimensions- those hexagons are as close to regular as possible. I know that the width-to-height ratio of a hexagon resting on a side is 2*sqrt(3)/3 (to calculate number of U to v tiling) but I fail to understand the t-parameter and I'm unable to attain the regular hexagons. Can you help?

    best

  • Jim Marsh

    Has anyone used the new machine learning components? I don't really know where to start with them, but I want to learn.

  • Andrew Schiffer

    Having a problem with the excel read component. 

    I get this error message...

    System.NullReferenceException: Object reference not set to an instance of an object.
    at Grasshopper.Kernel.GH_Component.GH_StructureIterator.SetDataTree(Int32 index, IGH_DataTree tree) in C:\dev\grasshopper\1.0\root\src\GH_StructureIterator.vb:line 1296
    at LunchBox.WF_ExcelReadNew.SolveInstance(IGH_DataAccess DA)

    why and how to fix...

  • Madeline Spinski

    I installed Lunchbox and the only tab that shows up in Machine Learning, all the other tools aren't there. I've tried uninstalling it and reinstalling but it doesn't change. Using windows 10

  • Sergey Dmitriev

    Run with Rhino64