LunchBox

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

Bug in Lunchbox 'Object Save'

When I have multiple Objects plugged into "Object Save" and save as an .obj everything works as expected. But when I also plug in objColour with a different value for each object, then the component will actually save as many times as there are objects. I had to force quit Rhino to get it to stop. I then tried with a smaller number and it was clear it was somehow getting confused and actually saving once for every number of objects.

 

When I use the ‘Object Bake’ component with multiple objects and multiple colours it works as expected and bakes once.

 

I am attaching a small patch to illustrate the problem. I am using Rhino 5 on Windows 7, GH is version 0.9.0076, Lunchbox is version LunchBox v.2015.7.20

 

Also I would love to be able to somehow change the settings it is using when saving. I am using it to export geometry animations from grasshopper, exporting each frame as an .obj file, but would like to change some of the settings for .obj saving it is using, like whether or not to group things together and saving materials. It’s a great workflow I have been testing and works really well for animating things in GH and then being able to have the complete geometry animation in something like Cinema4D for camera and rendering. I will make a tutorial about that soon, but first need the objColor to work as expected.

  • up

    Nathan Miller

    Hello Armin,

    In all honesty, the Save tool needs to be rethought and I am sorry to hear it is giving you so much trouble.  It was originally built to bake one object at a time and I haven't touched it in years. I am planning on creating a new 3DM authoring toolkit so automating Rhino 3DM files will be much easier as opposed to this command-line hack.

    -Nate

    2