[Bug] Trim with Regions discards part of the result

I was puzzled for a while what went wrong with my region trim. I am trying to get rid of the curve intersections between closed curves. Turns out the result in the WIP is different from what I’m expecting.

Rhino 8 (which works as it should):

Rhino 9 (9.0.25161.12305):


As you can see, the WIP for some reason discards parts of the trim and makes the result useless.
2025-06-29 Region trim bug.gh (11.1 KB)

Now this is about the simplest it can get, but I was attempting to do this for many branches with 10+ curves in many.

Most current WIP (Rhino 9 SR0 2025-6-24), result seems to be correct

System Info

Rhino 9 SR0 2025-6-24 (Rhino WIP, 9.0.25175.06305, Git hash:master @ 8720752431d790795d498af27e9fd926ccb2a2d7)
License type: Commercial, build 2025-06-24
License details: Cloud Zoo
Expires on: 2025-08-08

Windows 11 (10.0.26100 SR0.0) or greater (Physical RAM: 128GB)
.NET 9.0.6

Computer platform: DESKTOP

Standard graphics configuration using OpenGL
Primary display: NVIDIA RTX A5000 (NVidia) Memory: 24GB, Driver date: 5-12-2025 (M-D-Y). OpenGL(4.6.0 NVIDIA 573.24)
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port #0
- Secondary monitor attached to adapter port #1

Secondary graphics devices.
NVIDIA Quadro K2200 (NVidia) Memory: 4GB, Driver date: 5-12-2025 (M-D-Y).
> Accelerated graphics device with 4 adapter port(s)
- There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 5-12-2025
Driver Version: 32.0.15.7324
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 24564 MB

Rhino plugins that do not ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\ConstraintsUI.rhp “Constraints UI” 9.0.25175.6305

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9 WIP\Plug-ins\Commands.rhp “Commands” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9 WIP\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 9.0.25175.6305
C:\Program Files\Rhino 9 WIP\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 9 WIP\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9 WIP\Plug-ins\SectionTools.rhp “SectionTools”

Thanks for pointing this out, I thought I updated the WIP, but apparently I only updated R8. It works now.

1 Like