Rhino 6/7/8 Advisory

Started by Johannes @ Robots in Architecture, March 05, 2018, 01:24:17 PM

Previous topic - Next topic

Johannes @ Robots in Architecture

Update regarding Rhino 8: We have released a new community and member release that ensures compatibility with the release version of Rhino 8 on Windows and macOS. Feedback is always welcome!

Update regarding Rhino 7: We have been using Rhino 7 for the past months and have not encountered any specific problems.

Recently, Rhino 6 has been released. The past weeks we've been working with it, and have not encountered any KUKA|prc-specific issues so far. There have been a few crashes, but they seem unrelated to KUKA|prc. However, please do let us know if you run into any issues, ideally in a reproducible way.

However, the display performance of Rhino 6 when displaying Grasshopper-planes is significantly (!) slower than in Rhino 5. Our brief tests showed that Rhino 5 is up to 80 times faster than Rhino 6.
As the general display performance of Rhino 6 is better than before, this seems to be a bug. We have reported it to McNeel, where it is logged at https://mcneel.myjetbrains.com/youtrack/oauth?state=%2Fyoutrack%2Fissue%2FRH-44499
It is recommended to disable plane preview whenever possible to ensure that the viewport stays responsive.
Our testing was limited to NVidia cards, maybe someone can compare the performance on AMD graphics cards as well. The easiest way to test is to use "Populate 2D" to create 5000 points, then place the Planes through "World XY" and run the textmaxspeed command in Rhino. In Rhino 6, the viewport refreshes with less than 0.5fps on a current PC.

Update 06/2018: As of Rhino 6 SR5, plane display performance seems to be on par or even better than Rhino 5.

As long as Grasshopper in Rhino 5 and Rhino 6 are mostly compatible, we are planning to support both. Ideally, we will offer parallel Rhino 5, Rhino 6, and Dynamo builds with the same functionality. At some point after 2018 Rhino 5 support might cease, however your licenses will still be valid, and you will still be able to access older versions through the member section. Rhino 6 support will be a free update for members, as are all new builds and versions.

Thank you!
Johannes

victorlin

Any advisory regarding Rhino 7?

Johannes @ Robots in Architecture

Hello Victor,

It seems to be working fine for me at the moment, though I haven't thoroughly tested it. In a few months we will probably cease support for Rhino 5 and move to Rhino 6 as a minimum requirement. We won't require Rhino 7 in the foreseeable future.

Best,
Johannes

filipejsbrandao

Hello Johannes,

I'm getting an error caused by KUKAprc plugin on Rhino 8 when loading grasshopper.


Priority: SmallIcon
{
  Could not load type 'System.Windows.Media.DisableDpiAwarenessAttribute' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
  TypeLoadException
  System.TypeLoadException: Could not load type 'System.Windows.Media.DisableDpiAwarenessAttribute' from assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at System.ModuleHandle.ResolveType(QCallModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   at System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(MetadataToken caCtorToken, MetadataImport& scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1& derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctorWithParameters, Boolean& isVarArg)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)
   at System.Attribute.GetCustomAttribute(Assembly element, Type attributeType, Boolean inherit)
   at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](Assembly element)
   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)
   at System.Resources.ResourceManager.CommonAssemblyInit()
   at KUKAprcGH.Properties.Resources.get_ResourceManager()
   at KUKAprcGH.Properties.Resources.get_smallcategoryicon_old()
   at KUKAprcGH.SmallIcon.PriorityLoad()
   at Grasshopper.Kernel.GH_ComponentServer.LoadPriorityObject(Type T) in /Users/bozo/TeamCity/buildAgent/work/96e64af5b81c6f85/src4/rhino4/Plug-ins/Grasshopper/Grasshopper/GH_ComponentServerAddInLoading.vb:line 1205
}

Best regards,

Johannes @ Robots in Architecture

#4
That error has now been resolved in the most recent release!

Sorry, I must have missed your post. I can replicate the issue on my end, however the error is very weird considering that "DisableDpiAwarenessAttribute" is nowhere called in KUKA|prc. I will try to get in touch with McNeel regarding that.
My apologies again for the delay!