Autodesk / Autodesk/revit-ifc

IfcCurveBoundedPlane : InnerBoundaries attribute is not optional

Open
#270 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
637
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Despite what is said in ifc documentation description:
> An optional set of inner boundaries.

[IfcCurveBoundedPlane](https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/link/ifccurveboundedplane.htm) `InnerBoundaries` attribute is not optional as specified in EXPRESS specifications:
> InnerBoundaries : SET [0:?] OF IfcCurve;

The `SET` can be empty but must exist as it is not prefixed with `OPTIONAL`. See https://github.com/IfcOpenShell/IfcOpenShell/issues/635#issuecomment-770376223

Example of current export from revit-ifc:
`#210= IFCCURVEBOUNDEDPLANE(#209,#204,$);`

This apply for both IFC2X3 and IFC4.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the revit-ifc export path for IfcCurveBoundedPlane and compare its output for IFC2X3 and IFC4 with the EXPRESS specification. Reproduce the current `#210= IFCCURVEBOUNDEDPLANE(#209,#204,$);` result and verify that the completed export represents the empty InnerBoundaries set as required.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.