Skip to content

Ifc: export vertical circulation elements as IfcTransportElement (#34) - #335

Open
mahach666 wants to merge 1 commit into
mainfrom
fix/transport-element-ifc
Open

mahach666 wants to merge 1 commit into
mainfrom
fix/transport-element-ifc

Conversation

@mahach666

Copy link
Copy Markdown
Collaborator

Addresses #34 (adds IfcTransportElement mapping; legacy-profile ramps intentionally remain proxies as pinned by existing tests).

Summary

  • Map OST_VerticalCirculation (-2001052) to IFCTRANSPORTELEMENT in IfcProfile.Current (IfcExporter.cs), writing IFC2X3 attributes (..., Tag, $, $, $) and upgrading to 9-attribute IFC4 (PredefinedType = .NOTDEFINED.) in IfcExporter.Ifc4.cs.
  • Map IFCTRANSPORTELEMENT to IFCTRANSPORTELEMENTTYPE (TypeClassesWithPredefinedType), preserve ExportId, group mapped instances, and resolve Reference via IfcExporter.ReferenceCurrent.cs.
  • Emit Pset_TransportElementCommon on both occurrences (IfcExporter.cs) and type objects (IfcExporter.PropertySetsCurrent.cs, ordered after Pset_QuantityTakeOff).
  • Added synthetic unit tests in ests/RvtIO.Tests/IfcTransportElementTests.cs covering Current, Legacy, and IFC4 ReferenceView export.

Verification

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