Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/images/coordination.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/models/xkt/v12/compressed/DigitalHub_FM-ARC_v2.json

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions assets/models/xkt/v12/compressed/FM_ARC_DigitalHub_v1.json

Large diffs are not rendered by default.

Binary file not shown.
25 changes: 25 additions & 0 deletions buildings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,19 @@
text-decoration: underline;
}

.ai-badge {
display: inline-block;
font-size: 0.65em;
font-weight: 600;
color: #fff;
background: #6c757d;
border-radius: 3px;
padding: 1px 5px;
margin-left: 6px;
vertical-align: middle;
letter-spacing: 0.02em;
}

.content-container {
position: absolute;
z-index: 0;
Expand Down Expand Up @@ -282,6 +295,7 @@
["xkt_vbo_DemoProjekt", "Viewing a BIM model exported from ArchiCAD"],
["xkt_vbo_OTCConferenceCenter", "OTC Conference Center model, loaded from XKT into SceneModel"],
["xkt_vbo_includeIds", "Loading an XKT model with only selected elements with specific ids"],
["xkt_vbo_fallbackColors_DigitalHub", "Assigning fallback colours per IFC type to uncoloured elements", true],

"#XKT + Data Textures",

Expand Down Expand Up @@ -499,6 +513,8 @@
let fileName;
let fileDesc;

const aiGenerated = !isString(sectionFile) && sectionFile[2];

if (!isString(sectionFile)) {
fileName = sectionFile[0];
fileDesc = sectionFile[1];
Expand All @@ -521,6 +537,15 @@
const fileNameDiv = document.createElement('div');
fileNameDiv.className = 'link';
fileNameDiv.textContent = fileNamePath; // expandCamel(name);
if (aiGenerated) {
fileNameDiv.appendChild(document.createTextNode(fileNamePath));
const badge = document.createElement('span');
badge.className = 'ai-badge';
badge.textContent = '[AI-generated]';
fileNameDiv.appendChild(badge);
} else {
fileNameDiv.textContent = fileNamePath; // expandCamel(name);
}
fileNameDiv.addEventListener('click', (function () {
const _file = fileName;
return function () {
Expand Down
Loading