IFC Shared Parameters-RevitIFCBuiltIn*.txt: wrong Parameter Type for PanelWidth
- Dominant language
- C#
- Stars
- 637
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
I was experimenting with an IfcDoor and wanted to get the optional Property **PanelWidth** correct in Ifc.
I think this Property should be a IfcNormalizedRatioMeasure (NUMBER)
instead of IfcPositiveLengthMeasure (LENGTH).
https://standards.buildingsmart.org/IFC/RELEASE/IFC2x3/TC1/HTML/ifcsharedbldgelements/lexical/ifcdoorpanelproperties.htm
When I enter the actual PanelWidth (930mm) the Ifc Property will become 1.
When I enter the ratio (0.5) the Ifc Property will become 0.00164.
Since it's a double door, the ratio should be 0.5.
(Or more precise: 0.468 taking in account LiningThickness.)
Not sure who actually uses this Property for it's 'ratio-purposes' but it's available so it should be correct right?
Contributor guide
Research direction
Start with the IFC Shared Parameters-RevitIFCBuiltIn*.txt file and compare the PanelWidth definition with the IFC2x3 IfcDoorPanelProperties reference linked in the issue. Trace how the parameter type is interpreted during export, then verify that a double-door ratio such as 0.5 is preserved as a normalized ratio rather than converted from a length.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100