Grasshopper

algorithmic modeling for Rhino

Hello All,

 

a new, fairly major, update is now available for download. This release features breaking changes to the Grasshopper SDK and component libraries compiled against older versions may no longer work.

 

Be aware, this release breaks file-forwards compatibility. You will not be able to open gh and ghx files saved with 0.8.0050 on previous versions, though of course you should be able to open old files without problems. If this is not the case, please yell loudly.

 

If you're having trouble loading Grasshopper, note that you must have the latest Microsoft C++ Runtimes installed on your machine. They can be downloaded from the microsoft website.

 

The new release can be downloaded from the usual location.

 

Here's a list of changes, additions and fixes since 0.8.0013:

  • File format forwards compatibility has been broken. You will not be able to open files saved with 0.8.0050 on earlier versions.
  • This release contains many breaking changes and GHA libraries compiled for older version may not work anymore.
  • Grasshopper Binary files (*.gh) are now saved as compressed data. 
  • Grasshopper Binary files (*.gh) are now the default format.
  • Support for ancient versions of the Text Panel (still called Post-It from back then) has been removed.
  • Support for ancient versions of the Path Mapper (still called Path Lexer from back then) has been removed.
  • Placeholders for ancient versions of the Graph Mapper have been removed.
  • Gradient input parameters now show state tag icons (Reversed, Flatten etc.).
  • Geometry Cache name changes are now updated on every key press.
  • Geometry Cache name changes can now be cancelled with Escape.
  • Geometry Cache name changes can now be undone.
  • Mesh|Mesh intersection component now uses a different algorithm. The old behaviour is still available from the component menu.
  • Warning and Error balloons are now drawn as part of a Canvas Widget and will no longer show up in the Hi-Res image export.
  • Galapagos now accepts multiple fitness values. The true fitness will be the average of the collection.
  • Galapagos wires are drawn much fainter when the Galapagos object is unselected.
  • Medium fast redraw mode in Galapagos now immediately redraws instead of at the end of each generation.
  • Redesigned all Grasshopper file format icons and added larger size icons for high-dpi explorer views.
  • Redesigned the Most Recently Used files menu, it should now display much quicker.
  • Compass widget has been rewritten in an attempt to increase display performance.
  • Added preferences section for Compass widget.
  • Added preferences section for Align widget.
  • Added preferences section for Default Preview colours.
  • Added preferences section for Document Preview colours.
  • Added preferences section for the Most Recently Used files menu.
  • The Area component now accepts Breps, Meshes and Planar Closed Curves.
  • The Area Centroid component now accepts Breps, Meshes and Planar Closed Curves.
  • The Volume component now accepts Breps and Meshes.
  • The Volume Centroid component now accepts Breps and Meshes.
  • Added Merge Faces component (Surface.Util panel).
  • Added a Mesh Smooth component (Mesh.Util panel).
  • Added a Curve Seam component (Curve.Util panel).
  • Added Interpolate Curve With Tangents component (Curve.Spline dropdown).
  • Added GrasshopperFolders command to open Settings, Components and UserObject folders without loading the core plugin.
  • The window that reports on certain Loading Errors now has a Copy button.
  • Added Simplify post-process filter to parameters (in addition to Reverse, Flatten and Graft).
  • Parameter post processes (Reverse, Flatten, Graft & Simplify) can now also be assigned to output parameters.
  • Version History window now has formatting (not happy with this, I'm working on something better).
  • The Process Info window is gone.
  • Main menu has been redesigned.
  • Canvas toolbar has been redesigned.
  • Canvas context menu has been replaced by a Radial Menu.
  • Canvas now has a radial menu which will pop up on Middle Mouse Button clicks.
  • It's possible to switch between Radial and Legacy menus in the Preferences (Interface.Canvas section).
  • 'Save As Copy' feature has been replaced by 'Save Backup' which is a GUI-less save including date+time stamp.
  • Added a 'Show in Folder' item to the File menu.
  • AutoSave settings are no longer available from the File menu, you now need to use the Preferences.
  • Selection shifts now also modify the view so you can use Ctrl+Left and Ctrl+Right to navigate up and downstream.
  • Mesh Edge display can now be toggled with Ctrl+M.
  • Preview modes now have shortcuts (Ctrl+1 = no preview, Ctrl+2 = wireframe, Ctrl+3 = shaded).
  • Solution States now have a default name.
  • Data Viewer window now responds to all required events.
  • Data Viewer window can now handle input and output parameters as well.
  • Canvas Navigation pane can now be dragged using the icon in the upper left corner.
  • The Persistent Data Editor has been redesigned.
  • It's now possible to select multiple items in the Persistent Data Editor list and edit their properties.
  • It's now possible to drag multiple items at the same time in the Persistent Data Editor list.
  • Item addition to the Persistent Data Editor is much improved.
  • The Persistent Data Editor is now non-modal.
  • The Canvas would remain black upon maximizing the Rhino window, this is fixed.
  • Sliders would cause multiple updates under certain conditions, this is fixed.
  • Digit Scrollers would cause multiple updates under certain conditions, this is fixed.
  • Pipes were inside out. This is fixed.
  • The curve component would not adjust invalid nurbs degrees, this is fixed.
  • Curves referencing Brep edges failed to load, this is fixed.
  • Points referencing Brep edges failed to load, this is fixed.
  • Referenced dlls in the VB/C# components sometimes resulted in invalid imports statements, this is fixed.
  • Pasting geometry in Rhino would cause a recompute of the Grasshopper solution, this is fixed.
  • Importing a file into the Rhino document would cause a recompute of the Grasshopper solution, this is fixed.
  • Galapagos would trigger superfluous solutions, this is fixed.
  • Mesh Solid Difference had a wrong name and description, this is fixed.
  • Several menu items were not greyed out despite not being usable, this is fixed.
  • The position and size of the Grasshopper window failed to get stored on Rhino shutdown, this is fixed.
  • The Persistent Data Editor would crash on parameters that did not support data proxies, this is fixed.

 

I'll add some additional information regarding some of the new UI features in subsequent posts.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Views: 13753

Replies to This Discussion

Panels contain text, not numbers, but it should still convert that text into numbers when that is possible.

 

If you want to maximize A and minimize B, then you'll need to create your own fitness function.

 

Maximize → (A - B)

 

will work, though you may want to add weighting or amplification factors to that depending on your specific case. See these two blog posts about how to write your own fitness function:

 

http://ieatbugsforbreakfast.wordpress.com/2011/03/07/define-fitness/

http://ieatbugsforbreakfast.wordpress.com/2011/03/09/fitness-pressure/

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Has something changed with the string to number conversion in GHv0.8.0050? I've noticed a couple of times that I've had to pass a panel through a numbers param for it to work, where as before there was no need.

Shouldn't have, but could be. Got an example for me to try?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

e.g. -ve number going into Abs from Panel. Thinking back I honestly can't remember if it did work before.

Hmm, the error you get is "Absolute is not defined for Strings", which is true, Absolute("Goodbye cruel world!") doesn't make sense. Absolute -like many other components in the Math tab- operates on multiple data types (Numbers, Complex numbers, Integers, Points, Vectors...

 

If it doesn't work now, it never worked. But it probably should work. I'll just have to add expression evaluators on all these components to convert strings into whatever data type you probably meant.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David 

i read both topics, very interesting

but i couldnt apply it practically 

can you help with a sample, simple one 

showing how to optimize 3 fitnesses, by maximizing specefic value, minimize another and find the nearest value to the 3rd

 

Hi David!

 

I do get this message when trying to set one curve. I just downgraded since this is an immanent problem.

 

Any suggestion? 

 

Kind Regards

Ramon

 

PS: Keep up the excellent work!!!!!

You're doing this in Rhino5 correct? You'll need to upgrade to the latest Rhino5 as I only added that method to the SDK a few days before 0.8.0050 was released.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Forgive me if this has already been brought up, but since this update I have been getting a lot of "Requested Clipboard Operation did not succeed" errors when I copy and paste components quickly. This used to happen in the previous version too, but it was infrequent. It succeeds if I copy and paste a second time, but it's frequent enough to be annoying. Has anyone else noticed this problem?

Hi Andrew,

 

I haven't noticed it yet. Does it matter if you copy/paste huge sections in one go, or does it happen on individual components too?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

 

Happens on anything from individual components to large groups. And it seems sometimes now the error happens immediately after the copy, even before I paste. Also, I've noticed it seems to happen most frequently when I'm running low on memory. I will try to get a screen recording next time it starts to happen to see if it shed any light.

I love being able to keep panning even though I've reached the edge of the grasshopper window! However, when the GH window is partially outside the screen, my Pan hand gets stopped at the screen edge. Would it be possible to allow continuous panning even in this case? Thanks!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service