Grasshopper

algorithmic modeling for Rhino

Hi Everyone,

After a long time coming, the complete Firefly toolkit has finally been upgraded for Rhino 5.0 (both 32-bit and 64-bit versions).  This new release includes an updated C_sawapan_media.dll (many thanks to Panagiotis Michalatos!) as well as a new installer!  

The installer should automatically remove any previous versions, and copy all of the core Firefly Grasshopper Assembly files (as well as any needed dependencies) into the roaming Libraries folder on your computer.  Additionally, it should automatically copy all of the necessary Arduino sketches into your sketchbook folder (usually found in the Arduino folder under My Documents).  If this folder does not exist, it will create one for you.  Additionally, it should also create a new Firefly folder under My Documents where it will place all of the current Grasshopper example files for you to use.

There are no 'new' components in this release (although I've been working on some fun new ones... including one for the Leap controller... will be posting more about this soon) although this release does mark a big milestone for the plugin.  All future releases will now target .NET 4.0 and will thus only be compatible with Rhino 5.0 (both 32-bit and 64-bit versions).  Rhino 4.0 users can still use the existing build 1.0067.

To download the latest version of Firefly, visit: http://fireflyexperiments.com/download/

PS.  Please let me know if you find any issues with the installer.  It's a work in progress :)

Views: 1788

Replies to This Discussion

Thanks Andy, looking forward for Leap feature

thanks Andy! :D

Thanks Andy for developing such a great tool.

I haven't install the new version on my Rhino 5.0, but I have a small question.

After installing the Firefly, do we still need to upload the Firefly Firmata to Arduino to make it work?(I supposed we do).
If the answer is yes, then there is no "Firtama" file including in the Firefly for Rhino5.0 folder. (I know I can get it from Rhino 4 version of Firefly).

Just want to make sure of this before I start to install.

Thank you very much

Hi Jia-Rey,

Yes, you will still need to upload the Firefly Firmata onto your board in order for it to communicate with Grasshopper.  You don't have to do this every time... just any time you upload a different sketch, and then want to go back to the standard Firefly Firmata, you'll need to re-upload the sketch.  The installer will place all of the Firefly Arduino sketches in your sketchbook folder (which is found under the Arduino folder under My Documents).  So, to open the Firefly Firmata sketch, all you have to do is launch the Arduino IDE and click File/Sketchbook/Firefly Firmata.  Then just hit upload and you're done. 

Hopefully this helps,

Andy

OK, that's cool. I will try on that. Thanks for your quick respond.

Gary

Hello Andy,

I am looking forward to trying this out.  I removed the previous firefly install, then ran the new installer.  The .gha or .dll do not seem to be blocked.  I get the following errors when loading GH:

Object: Kinect_Depth_VideoStream (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Kinect_Depth_VideoStream (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Kinect_Color_VideoStream (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Kinect_Color_VideoStream (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Video_Input (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Video_Input (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Load_Video_File (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Load_Video_File (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Contrast (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Contrast (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Blur (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Blur (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Gamma (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Gamma (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Bitmap_Layering (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Bitmap_Layering (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: OpticalFlow (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: OpticalFlow (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Bitmap_Info (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Bitmap_Info (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Additive_Exposure (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Additive_Exposure (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Saturation_Brightness (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Saturation_Brightness (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Invert (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Invert (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Image_Resize (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Image_Resize (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Color_Correction (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Color_Correction (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Movement_Exposure (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Movement_Exposure (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Custom_Convolver_OBSOLETE (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Custom_Convolver_OBSOLETE (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Posterize (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Posterize (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Convolver_Matrix (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Convolver_Matrix (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Emboss (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Emboss (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Sharpen (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Sharpen (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Edge_Detection (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Edge_Detection (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Test_Color (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Test_Color (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Laplacian (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Laplacian (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Sobel (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Sobel (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: SwirlVector (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: SwirlVector (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Replace_Color (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Replace_Color (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Extract_Bitmap_Region (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Extract_Bitmap_Region (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: GradientVector (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: GradientVector (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: ContourVector (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: ContourVector (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Load_Image (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Load_Image (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Mesh_from_Image (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Mesh_from_Image (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Flip_Image (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Flip_Image (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Object: Bitmap_Painter (level 1)
{
  Exception has been thrown by the target of an invocation.
  TargetInvocationException
}

Object: Bitmap_Painter (level 2)
{
  Could not load file or assembly 'Firefly_Bridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
  FileNotFoundException
}

Hello Luis, I have the same problem, but I follow this instructions of Andy to solve the problem:

 "It seems like for whatever reason it's not recognizing the Firefly_X.gha (which contains all of those components).  My hunch is that the installer is not overwriting the existing files (even though that is set in the installer settings).  Can you both try to manually delete all the existing Firefly files and dependencies (including the C_sawapan_media.dll) and try to re-install.  I think if the files are not there, then the installer will copy the new files and it should work (at least I hope).  Can you try this and report back.  Thanks."

 http://www.grasshopper3d.com/group/fireflyplugin?xg_source=activity

Hey Luis,

Sorry to hear this (that's a long error message).  This installer seems to be giving many people problems (even though I tried to test it thoroughly before releasing).  Can you tell me what version of Rhino you're using?  If you're using Rhino 5.0 (32-bit) or Rhino 4.0... it's probably best to stick with the older version.  The installer seems to work for Rhino 5.0 (64-bits) only... although I'm trying to remedy this so it works on all platforms.  There is no real difference in the different versions (they have the same components)... I just wanted to add a new release so those uses who had wanted to use it on 64-bits could do so.  

Can you try removing the Firefly plugin from the Control Panel (add/remove program).... and then try a clean install (again, only if you're using the 64-bit application).  I know it should work (as I'm using the 64-bit version and all is working fine here.  Please let me know if you are still getting the error (and again... I apologize about the trouble). 

Fully uninstalling from control panel and then reinstalling seemed to do the trick.  Weird though, as I cleaned everything out before I installed in the first place.

thx!

I know... I'm not exactly sure why that step is necessary... I'm still a little new to making custom installers, so I'm still trying to figure this stuff out.  Glad it's working for you though.

Cheers,

Andy

Hey Andy, stoked about the new release.

Unfortunately I've tried installing and uninstalling multiple times, but every time I launch GH my rhino crashes. When I uninstall firefly, rhino and GH work fine.

Any ideas?

Thanks,

Brian

Hey Brian,

Sorry about this.  I have had one other person report this issue although it's hard to replicate (since it doesn't happen on my machine).  Can you provide some more specifics about your computer hardware and what version of Rhino/Grasshopper you're using.  I'll try to get to the bottom of it.

Thanks,

Andy

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service