-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation to clarify if MappedRepresentations must come from the corresponding IFC Type? #5
Comments
actually such a must was not intended. The specification is meant to be flexible. It also allows e.g. to have types with no corresponding occurrence in an exchange. Such a strict interpretation may be in conflict with current implementations and should rather be postponed to a more general rework allowing for less flexibility in IFC5. So my proposal is to more this issue to the IFC5 log. |
Having types with no corresponding occurrence wasn't the issue, the issue is can I have an object that has a type with a mapped representation, but not use it? |
The general (explicit) agreement is also that non-rooted entities don't have a strong identity. So it would not be entirely inline with this to require explicit reuse. It may also negatively impact partial exchanges.
This is definitely allowed I think. Maybe then more for efficiency but not semantic. Like a railing with repeated bars for example.
It may also be necessary for openings. We can associate a 3d opening element, but for 2d representations this doesn't really exist, so then maybe it would make sense to reuse the 3d rep but for the 2d rep bake the opening into the curve footprint. I don't see an issue with the wording. "May" is maybe not ambiguous, just non-normative? Or did I miss a deeper meaning? |
definitely yes (not saying that it is the best solution, but current practise) |
Originally posted https://forums.buildingsmart.org/t/must-mappedrepresentations-come-from-the-corresponding-ifc-type/3361 and quoted below.
There are a number of quotes in the IFC docs that suggest that if an IfcTypeObject (e.g. IfcFurnitureType) have a MappedRepresentation, then all corresponding IfcObject occurrences (e.g. IfcFurniture) must have the exact same mapped geometry. If the IfcTypeObject (e.g. IfcWallType) does not have a MappedRepresentation, then the inverse is true, all corresponding IfcObject occurrences (e.g. IfcWall) must not have mapped geometry.
Supporting evidence (emphasis mine):
(note the ambiguity of the word "may" in the sentence above)
(note again the ambiguity of the word "may" in the sentence above)
In addition to this, the code examples provided in 8.9.3.49 IfcRepresentationMap all demonstrate this map + type relationship.
The following two diagrams also depict this seemingly mandatory relationship:
... from reading this, I would conclude there is the intention for this to be mandatory. However, I have not seen any where rules or codified constraints in the EXPRESS that reflect this. Therefore, I have seen applications such as Revit, the BlenderBIM Add-on, FreeCAD and I suspect others too, that actually allow the following scenarios, which supposedly are invalid:
... and other various permutations of this.
Can somebody I guess firstly confirm the intention (which from the words seem pretty clear, but it would be good to get a second pair of eyes), and secondly point out where this is defined in EXPRESS, or confirm that it is missing?
The text was updated successfully, but these errors were encountered: