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.
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.
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?
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?
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....
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?
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 :)
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
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!!
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, 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).
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.
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)
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"?
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?)
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.
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?
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.
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.
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 :)
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!!!
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.
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?
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.
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 ?
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.
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.
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
Feb 16, 2012
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.
Feb 21, 2012
Nathan Miller
Good catch, Andrew. I will fix that posthaste!
Feb 21, 2012
Mohammed E
can any one explane how to use the ( generate ) i am kinda lost ! thanks
Feb 23, 2012
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?
Feb 24, 2012
Philipp
Thank you, Nathan!
Little wish: can you add group support or "group on bake" input for bake component?
Feb 25, 2012
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
Mar 5, 2012
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?
Mar 11, 2012
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....
Mar 11, 2012
Sebastian
Great, works well, thank you very much
Mar 11, 2012
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:)
Mar 11, 2012
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
Mar 11, 2012
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 :)
Mar 12, 2012
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 :)
Mar 12, 2012
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
Mar 12, 2012
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
Mar 25, 2012
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
Mar 25, 2012
Rotring
I can't download the lunchbox!!
could you send lunchbox to my email!!thanks a lot!!
fatiaorenlei@gmail.com
Mar 25, 2012
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
Mar 26, 2012
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
Mar 27, 2012
fernando molas garcia
It is admirable the work of people like you. helps simplify the work and thinking about new challenges
Mar 27, 2012
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
Mar 27, 2012
fernando molas garcia
Other formats supported by the component save? I'm using revit and I get along with the *. Sat.
Mar 27, 2012
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
Mar 27, 2012
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.
Best regards
Definition Uniform_Panels.gh
Mar 30, 2012
YunXiang Wang
Thanks you , Miller nice to see you again O(∩_∩)O~
May 27, 2012
YunXiang Wang
This is nice plugins, god ,you are the author . Thank you for your sharing
May 27, 2012
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?)
Jun 9, 2012
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
Jun 10, 2012
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?
Jun 10, 2012
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
Jun 10, 2012
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
Jun 11, 2012
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
Jun 12, 2012
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
Jun 13, 2012
Philipp
Is there any chance to teah http read cyrillic letters or decode the result into cyrillic afterwards? (inside or outside grasshopper?)
Aug 1, 2012
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
Aug 1, 2012
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...
Aug 6, 2012
Nathan Miller
Try setting the division parameter to an even number.
-Nate
Aug 6, 2012
Nicky
thank Nathan .. it's really simple that I could not think of .. great.
Aug 6, 2012
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
Aug 9, 2012
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
Aug 9, 2012
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.
Aug 9, 2012
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
Aug 15, 2012
Philipp
id it possible to make a picture frames with a command line node?
Oct 9, 2012
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 ?
Nov 24, 2012
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
Dec 14, 2012
Á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.
Mar 1, 2013
pipi
Dear,How to bake lines?
Mar 25, 2013
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
Jun 3, 2013
Dino Eicher
amazing tool! Thankx a lot for sharing it!
Apr 7, 2014