GH2 Bug : Area and Volume Centroid "Process Error"

Hi,

Some weird error with the Area and Volume Centroid components : they only work if Grasshopper1 is loaded in the background.

To reproduce :

  • Start RhinoWIP
  • Launch Grasshopper2
  • Place a Centroid or VolumeComponent → Process Error
  • Launch Grasshopper1
  • Reload Solver → No more error

PS : the components seems to work without GH1 for some geometries, like pure circles or rectangle created in GH2

Hi Felix -

As mentioned in a different thread, I’ve reported this issue with the Volume Centroid component. I have not been able to reproduce this with the Area Centroid component. Are you still see this? If so, please post a sample file.
-wim

Hi @wim,

I would say the contrary.. With latest Beta, Volume Centroid seems to work, but Area Centroid not. With last week’s Beta, none of these would compute.


Here is a file, but I really didn’t do anything fancy. CentroidBug.ghz (348.0 KB)

SystemInfo Rhino 9 SR0 2026-8-11 (Rhino 9 BETA, 9.0.26223.12303, Git hash:master @ 535bf21f011dc805eafa540606c59272f4f15b11) License type: Educational Lab License, version 2026-08-11 License details: Cloud Zoo Expires on: 2026-09-25

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 16GB)
.NET 10.0.9

Computer platform: LAPTOP - Plugged in [67% battery remaining]

Non-hybrid graphics configuration using DirectX
Primary display: Radeon Pro 560 (AMD) Memory: 4GB, Driver date: 8-19-2024 (M-D-Y). DirectX(11)
> Integrated accelerated graphics device with 6 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port

Secondary graphics devices.
None found.

DirectX Settings
Safe mode: Off

OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=64.

Rhino plugins that do not ship with Rhino
C:\Users\Felix\AppData\Roaming\McNeel\Rhinoceros\packages\9.0\Karamba3D\3.1.60519\net8.0-windows\Karamba3D_LicensePlugin_Rhino8.rhp “Karamba3DLicense”

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxRhino.9.rhp “3DxRhino.9”
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rendu de Rhino” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\Grasshopper2\net48\Grasshopper2Plugin.rhp “Grasshopper2” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.26223.12303
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

Hi Felix -

This one computes correctly here when testing the fix that should become publicly available this evening.
→ RH-97680 Grasshopper 2: Volume Failure
-wim

Hi Wim, I confirm this bug is fixed on my side, thanks !