Rhino 8: two closed solids never get a section fill

Hi dev team! Another one related to the section display thing…

I have a file with three closed solids on one layer, one section style, one clipping plane. The plain box fills. The two walls next to it do not, ever. Same layer, same style, same cut, same frame.

The two walls are not mine, they come out of your own sectioning workflows class file, so this is reproducible without trusting anything I modelled.

This is the second half of what I posted yesterday about the `UseSectionStyles` flag looking inverted (that one turned out to be the RhinoCommon property, RH-97671, thanks @dale). The missing fills are a separate thing, and I kept them out of that thread on purpose.
Here you have the test file (I kept the units in inches)

260811_WallTest-inches.3dm (1.6 MB)

Open it and look at the top viewport. Nothing to set up, the layer already carries the section style, the clipping plane is already there and already assigned to that viewport, and the display mode is rendered with show fills and shade objects on.

The red box is a plain closed box I added as a control. The two hollow outlines are the walls.

These walls come from `Sectioning-Exercise6-SectionsDrawings.3dm`, one of the models in the sectioning workflows class download (Rajaa Issa, Oct 2024). I selected them in the stock file, copied, and pasted into a new empty document. No editing, no booleans, no repair.

Both are closed solids, 105 and 108 faces, with the door and window openings cut into them. `IsSolid` reports True for both. The attached file is in inches like the original, so nothing was rescaled on the way in.

I went through this in some detail before posting, so the usual suspects are covered:

- Tolerance. The original file is in inches at 0.001 absolute tolerance and the walls are 4.4 inches thick, so tolerance is about 4000 times smaller than the thinnest feature. I know about the tolerance case Wim found in *Glitchy Clipping Planes in Rhino 8* and RH-84176 that came from it, but nothing here is anywhere near that.

- The fill rule. Section open objects is on, so the rule is not filtering anything out. And the closed-solids-only explanation points the wrong way here: in the original file the one wall that DOES fill is an open brep, and the closed solids are the ones failing.

- Overlapping geometry. The original walls interpenetrate an insulation layer and each other. I hid the insulation, then the thin outer leaves, then the envelope shells, one at a time. No change. And in the attached file there is nothing left to overlap with.

- Shape. I built four boxes from scratch in an empty file, including a closed solid with an opening right at the cut so the section becomes two loops. All four filled. So a closed solid with openings is not by itself the trigger.

- My setup. That is what the control box in the attached file is for. It sits on the same layer with the same section style and the same clipping plane, and it fills red in the same picture where the walls do not.

What I am asking

What is different about these two solids? If there is a property or a condition I can test for, I would rather detect it and fix the model than wait for a service release. We drive this from a script across a lot of files, so a rule we can check would be more useful to us than a fix.

And if it is a bug, this file should be a small enough repro to work with.

The same file on Mac does something else entirely

I opened the attached file on a Mac, 8.33.26188.13002, and ran the same steps. Instead of hollow walls, the whole clipping plane floods with the section style colour.

Before assuming that was a display mode difference, I dumped every clipping, section, fill and shading property on both machines with the same file open. They match exactly, including the ones I never write:

```

ClippingPlaneFillColorUsage ViewportColor

ClippingFillColor 128,128,128

ClippingShadeColorUsage PlaneColor

ShowClippingFills True

ShowClipIntersectionSurfaces True

ShowClipIntersectionEdges True

ShadingEnabled True

UseSectionStyles False

```

Same display mode id (`cae60bae-2d51-4299-abf7-a339fca86f3b`), same file, same units, same clipping plane origin and normal. So this is not two machines configured differently.

I do not know whether that is the same bug wearing a different face or a second one, which is why I am showing it rather than filing it separately. Happy to attach the full dumps from both machines.

Thanks!

System info

systemInfo-win.txt (2.7 KB)

systemInfo-mac.txt (4.6 KB)

Hi @p.cortes.nieves,

I’ve logged the issue so a developer can investigate.

– Dale

RH-97706 is fixed in Rhino 8 Service Release 36