buildingSMART / IFC4.x-IF

IFC4.x Implementers Forum
32 stars 34 forks source link

Can Products with Linear placement be IfcRelContainedInSpatialStructure #123

Open eihov opened 1 year ago

eihov commented 1 year ago

Problem The current documentation on Product Linear Placement mentions:

Therefore, similarly to how IfcSpatialElement.ObjectPlacement sets the context for all contained elements, the IfcLinearPositioningElement.ObjectPlacement sets the context for all elements positioned on it. Consequently, each product placement that uses Product Linear Placement references the IfcObjectPlacement of the IfcLinearPositioningElement through IfcLinearPlacement.PlacementRelTo.

Taken from: https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/concepts/Product_Shape/Product_Placement/Product_Linear_Placement/content.html

The question is then, should we allow Products with a Linear Placement to be contained in spatial structure, even if the documentation says that the ObjectPlacement of IfcSpatialElement sets the context for all contained elements? This means Linear Placement would override the context of the IfcSpatialElement. Solution(s) Describe the solution you'd like. If you have multiple options, list all of them. A clear and concise description of what you want to happen.

Require schema changes?

Require documentation changes?

Rule required

Proposal Update documentation so that it clearly states that Linear Placement overrides the spatial placement context, or something similar.

Reason for overriding: Using Linear Placement doesn't affect more than it needs to.

jmirtsch commented 2 months ago

I'm not sure I fully understand the issue here. Is the primary question, can an element be contained (directly or inherited) in the spatial structure if the placement is a linear placement? https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/concepts/Product_Shape/Product_Placement/Product_Local_Placement/content.html notes that when local placement is nominated, that the local placement should be relative to the product that it is contained within, or that it aggregates. In https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/concepts/Product_Shape/Product_Placement/Product_Linear_Placement/content.html it notes the context of the placement. But I don't believe that there is any constraint then on the element aggregating another element, or being contained in the spatial structure (either of which might have a different object placement).

evandroAlfieri commented 1 month ago

@eihov had to read the documentation a few times, and I'm aligned with Jon. I believe the confusing sentence is this

Therefore, similarly to how IfcSpatialElement.ObjectPlacement sets the context for all contained elements, the IfcLinearPositioningElement.ObjectPlacement sets the context for all elements positioned on it.

Thoughts?

PlacementRelTo