Skip to content

Parsing: measure closed ruled solid nodes for pile quantities (#42) - #336

Open
mahach666 wants to merge 1 commit into
fix/duplicate-instance-solid-measurefrom
fix/pile-solid-net-volume
Open

mahach666 wants to merge 1 commit into
fix/duplicate-instance-solid-measurefrom
fix/pile-solid-net-volume

Conversation

@mahach666

Copy link
Copy Markdown
Collaborator

Closes #42. Stacked on #334 ( ix/duplicate-instance-solid-measure).

Summary

  • Filter detached post-cut edges (edge.NextA != 0 || edge.NextB != 0) before detecting closed shells in GRepParserV2.MeshNodes.BuildNodes.
  • When !measureSourceNodes and a closed node contains a SurfKind.Ruled face, enable measureRevolved and
    awCoedges in MeasureAnalyticSolid so closed ruled solids get exact NodeMeasures and analytic NetVolume instead of falling back to faceted shells.
  • Added synthetic regression test RuledClosedSolid_MeasuresVolumeWithoutMeasureSourceNodesAndIgnoresDetachedEdges in ests/RvtIO.Tests/GRepParserV2Tests.cs.

Verification

  • dotnet test tests/RvtIO.Tests/RvtIO.Tests.csproj -c Release:
    et10.0 (12229 passed, 0 failed, 453 skipped) and
    et8.0 (12225 passed, 0 failed, 453 skipped).
  • dotnet build src/RvtIO.Scene/RvtIO.Scene.csproj -c Release -p:BuildNativeCoreOnly=true: 0 errors.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant