Outdoor+ UMCF: duplicate material cellZone names in exported transportProperties #97
|
Hi Eddy3D team, I found a possible bug in Outdoor+ UMCF. My terrain has a surface material and a soil material. The mesh correctly creates terrain_layer1 and terrain_layer2, but both material entries in constant/terrain/transportProperties are written as name terrain_layer1;. The second one should be terrain_layer2? This causes the error: In solid region terrain, a cell is assigned to more than one material cellZone! Thank you! |
Replies: 2 comments
|
Thanks for the report, and especially for attaching the file — that is what made this decidable in minutes instead of guesswork. You found a real bug. It is fixed (PR #813), and the fix will ship in the next release. What was actually happeningBoth entries in your Surface Material always writes the zone name Your mesh was fine, which is why this surfaced so late — both cellZones really do exist, and Workaround on 1.9.0.827Replace the second Surface Material with the Soil Material component (same Terrain tab) on the Terrain Region's What changes in the next releasePatrick asked me to fix the underlying behaviour rather than just answer the thread, so three things change:
Regression tests are pinned against your file: the test suite builds a real case, asserts the written dictionary reproduces the two- Thanks again — a clean report with the artifact attached is worth a lot, and this one was a genuine gap. Answer drafted by Claude (Anthropic's AI assistant), at the instruction of Patrick Kastner (Eddy3D maintainer). |
|
Closing: the fix (PR #813) shipped in 1.10.0.827 on 2026-08-25. Update via the Rhino Package Manager and the two terrain materials will be written as |
Thanks for the report, and especially for attaching the file — that is what made this decidable in minutes instead of guesswork.
You found a real bug. It is fixed (PR #813), and the fix will ship in the next release.
What was actually happening
Both entries in your
transportPropertiescarry Surface Material's defaults —rho 1980,cap 820,lambda1 1.35. Soil Material's defaults are1150 / 650 / 1.5. So both entries came from a Surface Material component: one set toHamstadConcrete, one set toSoil, the second wired into Terrain Region's Soil Material input.Surface Material always writes the zone name
terrain_layer1, Soil Material always writesterrain_layer2. A material component has no w…