Skip to content

Process sub-template applicableEntity when it specializes the parent … - #23

Merged
Ghesselink merged 2 commits into
masterfrom
subtemplate-specialization
Nov 2, 2026
Merged

Ghesselink merged 2 commits into
masterfrom
subtemplate-specialization

Conversation

@aothms

@aothms aothms commented Oct 30, 2026

Copy link
Copy Markdown
Member

…anchor

The template [0] does not have IfcExtrudedAreaSolid and IfcRevolvedAreaSolid in its graph but there is a specialized template [1] that does - also included in the MVDs. What this PR fixes is that the jump from main template to subtemplate constitutes a specialization and this is processed/visited. This only happens here and in the profiles, not seen anywhere else and that's why it went unnoticed.

[0] https://standards.buildingsmart.org/IFC/DEV/IFC4_3/HTML/concepts/Product_Shape/Product_Geometric_Representation/Body_Geometry/Body_SweptSolid_Geometry/content.html
[1] https://standards.buildingsmart.org/IFC/DEV/IFC4_3/HTML/concepts/Product_Shape/Product_Geometric_Representation/Body_Geometry/Body_AdvancedSweptSolid_Geometry/Body_AdvancedSwept_DiskSolid_PolyCurve_Geometry/content.html

@aothms
aothms requested a review from Ghesselink October 30, 2026 13:13

@Ghesselink Ghesselink left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this on a local ifc4.3-main build: the scope gains IfcExtrudedAreaSolid and IfcRevolvedAreaSolid in both views, looks good ..

Is link [1] correct? It doesn't have an extruded or resolved solid. Di you mean this one? https://standards.buildingsmart.org/IFC/DEV/IFC4_3/HTML/concepts/Product_Shape/Product_Geometric_Representation/Body_Geometry/Body_SweptSolid_Geometry/Body_SweptSolid_PolyCurve_Geometry/content.html

Before:

Image

After:

Image

Before:

Image

After:

Image

@Ghesselink
Ghesselink merged commit 5a17853 into master Nov 2, 2026
2 checks passed
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.

2 participants