Add instructions to IFCTester in Blender (#7195)

* add instructions to blender ui

* add requirement instructions to html

* black .
This commit is contained in:
Christoph Mellüh
2025-10-06 06:48:45 +02:00
committed by GitHub
parent f31df307c6
commit 16fd614886
6 changed files with 61 additions and 3 deletions
+2 -1
View File
@@ -459,7 +459,8 @@ class Html(Json):
requirement["total_passed_entities"] = total_passed_entities
requirement["total_omitted_passes"] = total_passed_entities - self.entity_limit
requirement["has_omitted_passes"] = total_passed_entities > self.entity_limit
requirement["instructions"] = requirement["metadata"].get("@instructions")
def limit_entities(self, entities):
if len(entities) > self.entity_limit:
if entities[0]["element_type"]:
@@ -157,6 +157,14 @@
<summary>
{{description}}
</summary>
{{#instructions}}
<div class="instructions">
<p>
<strong>Instructions</strong>
</p>
{{instructions}}
</div>
{{/instructions}}
{{#total_ckecks}}
<table class="skipped">
<thead>