mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
use ifc_file instead of IFC_File
This commit is contained in:
@@ -61,7 +61,7 @@ function handleGanttData(data) {
|
||||
|
||||
console.log(data);
|
||||
|
||||
const filename = data["data"]["IFC_File"];
|
||||
const filename = data["data"]["ifc_file"];
|
||||
const ganttTasks = data["data"]["gantt_data"]["tasks"];
|
||||
const ganttWorkSched = data["data"]["gantt_data"]["work_schedule"];
|
||||
// const ganttWorkSched = {};
|
||||
@@ -233,8 +233,7 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
|
||||
|
||||
addEventListener("afterprint", (event) => {
|
||||
g.setEditable(true);
|
||||
},);
|
||||
|
||||
});
|
||||
|
||||
let css =
|
||||
"@media print {\n" +
|
||||
|
||||
@@ -41,7 +41,7 @@ function handleBlenderDisconnect(blenderId) {
|
||||
function handleCsvData(data) {
|
||||
const blenderId = data["blenderId"];
|
||||
const csvData = data["data"]["csv_data"];
|
||||
const filename = data["data"]["IFC_File"];
|
||||
const filename = data["data"]["ifc_file"];
|
||||
console.log(data);
|
||||
|
||||
if (connectedClients.hasOwnProperty(blenderId)) {
|
||||
|
||||
@@ -32,7 +32,7 @@ class WebData:
|
||||
@classmethod
|
||||
def load(cls):
|
||||
cls.data = {
|
||||
"IFC_File": cls.ifc_file_name(),
|
||||
"ifc_file": cls.ifc_file_name(),
|
||||
}
|
||||
cls.is_loaded = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user