LunchBox

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

  • Elbert Choquehuanca

    thanks for sharing.

    :)

  • Nathan Miller

    You are welcome!  I hope they can be of use.

  • CongChien

    I like the lunchbox, it helped me a lot

  • Paul Sohi

    awesome tools! thanks very much! :D

  • John Gulliford

    Thanks for sharing Nathan!

  • Nathan Miller

    Thanks everyone!...  

    On another note, I made a small update to the library:  1.  Fixed a bug with the Launch App component 2. Quad Grid now outputs midpoints and normals.  http://theprovingground.wikidot.com/plugin-tpg

  • Dsquare

    Awesome!! Thanks for GH's Lunchbox

  • Mohammad Azinkia

    Thanx Nathan!very useful!

  • Philipp

    Wish for future - can you add a HAtch component?

    It is made here... http://www.parametricmodel.com/HatchCurves/43.html

    but it is little big buggy

  • Andrew Heumann

    Hey Nathan -

    The Bake component appears to be baking the untrimmed versions of trimmed surfaces from GH. Passing the trimmed surface through a BRep parameter before passing to the bake component seems to fix the problem.

  • Nathan Miller

    Good catch, Andrew.  I will fix that posthaste!

  • Mohammed E

    can any one explane how to use the ( generate ) i am kinda lost ! thanks 

  • Pieter Segeren

    Very nice work Nathan! Pretty looking icons too. Thanks:)

    I do have a wish: that the (Staggered) Panels would not be trimmed by my cylindric surfaces' seam, but only fullsize panels. Would that be possible?

  • Philipp

    Thank you, Nathan!

    Little wish: can you add group support or "group on bake" input for bake component?

  • Nathan Miller

    Phillipp:  I haven't found a good way of implementing bake group functionality into my component.  Groups seem to be another animal entirely from the GeometryBase I have been using.    grouping after bake... perhaps, but I would need to be careful not to group existing Rhino geometry in with the freshly baked geometry.  Suggestions welcome.

    Pieter: i have been giving this some thought.  This could be possible with a toggle to set the paneling system to be 'periodic'. in which case the first and last panels would wrap in the V direction.   Good suggestion.  I'll see where I can take it. 

    Mohammed E:  Check out the new update.  There is an example.

    Andrew:  I still haven't resolved that issue with trimmed surfaces.  I have tried converting trimmed surfaces at the code level to BReps, but it still gives me an untrimmed version of the surface on the other end.  Converting to Brep beforehand is still the best way around it...hmmm  suggestions?

    Thanks for the thoughts, folks!

    -Nathan

  • Sebastian

    Nathan, thanks a lot for the great tools. Working with the panels components I realized that by using the Triangle B it is generating additional surfaces from the target surface, is this suppossed to be like that? Do you have a way to delete them for further operations? 

  • Nathan Miller

    Sebastian,

    Good catch.  Basically, it is trying to create a completed diamond shape with points along the edge resulting in a supper thin panel.  Not suppose to happen!

    I created an update (v0.264) with a fix for that component.  I am using a new 'Tri B' logic and seems to be working much better. You can get it at the usual location....  


  • Sebastian

    Great, works well, thank you very much

  • Parametric House

    Nathan thank you for the lunchbox. It's awesome and lovely :)

    I have a question about the rhino command

    I guess if it gets solved it can really open a new arena!!

    How can you do automate commands with it?

    For example a simple one will look like this:

    I want to send command poly line and eventually choose point 0,0,0 and then 10,0,0 and then 30,0,0 and finish the command and get back to grasshopper so i tried a panel with this

    ployline

    0,0,0

    10,0,0

    30,0,0

    and then enabled the command but it could not get what I wanted! The 0,0,0 will run only after finishing polyline! I tried even counter of firefly to send my commands but I guess I couldnt find out! Is there any hope?

    ANd again Thanks Nathan for a great great tool:)

  • Nathan Miller

    Sebastian:  Good to hear

    Mohammad:  Basically the Rhino Command component requires you to enter strings just as you would in the command-line.  

    The following command will draw a square using a polyline:

    "polyline 0,0,0 0,10,0 10,10,0 10,0,0 0,0,0 Enter"

    Note the spaces between the coordinates.  The command is completed with "Enter"

    -Nathan

  • Parametric House

    Thanks dear Nathan :)

    I just forgot that because of the string like parameter we have I have to put a space to show the next command line! That was small and important! :D
    Worked perfectly! This command thing is extra cool thanks again :) 

  • Parametric House

    Dear Nathan

    Another Question!

    Do you know how can I find out the ID of a rhino object? I mean I went on your example and added this

    polyline 0,0,0 0,10,0 10,10,0 10,0,0 0,0,0 Enter '_SelLast ExtrudeCrv 50 enter _SelPrev AreaCentroid

    so that polyline will extrude by 50 and I will have the centroid of the square for later defining the twist axis first point! but the question is how can I now choose the box? First I have to know the ID of the box, right? I did it manually by checking the object properties of the box so it went like that

    '_SelID 73636d69-eeb5-4778-838b-ffe341cade32 twist 


    again I need a way to choose the ID of the point to select it as the start of twist axis! Anyway i'm loving this piece of tool! it will be great if it could have an output and for example list out the IDs or object name or the geometry ,whatever it is!! 

    Thanks again :)