Skip to content

Parsing: filter cut curved face segments by live boundary loops (#43) - #334

Open
mahach666 wants to merge 1 commit into
mainfrom
fix/duplicate-instance-solid-measure
Open

mahach666 wants to merge 1 commit into
mainfrom
fix/duplicate-instance-solid-measure

Conversation

@mahach666

Copy link
Copy Markdown
Collaborator

Closes #43.

Summary

  • Populate curvedLoopEdges in GRepParserV2.BuildGeometryCore from decoded completeLoops (TryGetFaceLoopEdges) for non-planar faces when !c.ExactPlanarSpaceBoundary (keeping cylinderLoopEdges strictly for c.NativeWallBody cylinders).
  • Filter CollectFaceSegments with curvedLoopEdges so detached pre-cut segments alongside a mapped instance solid are dropped instead of leaving an open shell alongside a closed solid.
  • Added synthetic regression test CurvedFaceWithCompleteLoops_IgnoresDetachedPreCutEdgesBesideMappedInstance in ests/RvtIO.Tests/GRepParserV2Tests.cs.

Verification

  • dotnet test tests/RvtIO.Tests/RvtIO.Tests.csproj -c Release:
    et10.0 (12228 passed, 0 failed, 453 skipped) and
    et8.0 (12224 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.

Geometry of family instances can hold two copies of a solid, only one with a surface measure

1 participant