mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 11:43:53 +00:00
Add instructions to IFCTester in Blender (#7195)
* add instructions to blender ui * add requirement instructions to html * black .
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user