[英]BIM model upload to Autodesk Forge and integration with IoT
I am want to develop a forge solution integrating IoT data.我想开发一个集成物联网数据的锻造解决方案。 I am following this documentation ( https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/introduction/overview/ ) and have succesfuly loaded a Navisworks model to Forge.
我正在关注本文档( https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/introduction/overview/ )并已成功将 Navisworks model 加载到 Forge。 The rooms are loaded there as well.
房间也在那里装载。 My main problem is that I cannot see any sensors at the viewer.
我的主要问题是我在查看器上看不到任何传感器。 For start, I want to connect my sensors with a CSV option like it is explained here.
首先,我想将我的传感器与 CSV 选项连接起来,就像这里解释的那样。 https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/advanced_topics/csv_adapter/ .
https://forge.autodesk.com/en/docs/dataviz/v1/developers_guide/advanced_topics/csv_adapter/ 。 I have uncommented the part at eng file as suggested in the instructions.
按照说明中的建议,我已取消注释 eng 文件中的部分。 enter image description here What are the next steps for seeing the sensors at the viewer?
在此处输入图像描述 在查看器中查看传感器的下一步是什么? Probably need to change the files named devices.json, device-models.json??
可能需要更改名为 devices.json、device-models.json 的文件?
sorry for our late response.很抱歉我们迟到的回复。 This is not a desktop application.
这不是桌面应用程序。 It does not make sense with the file path like c:.... you need to use relative path where the json file is stored on the server side of the application.
像 c 之类的文件路径没有意义:.... 您需要使用 json 文件存储在应用程序服务器端的相对路径。 eg In the sample application of Data Visualization, the demo json is stored at https://github.com/Autodesk-Forge/forge-dataviz-iot-reference-app/tree/main/server/gateways/synthetic-data
例如在数据可视化的示例应用程序中,演示 json 存储在https://github.com/Autodesk-Forge/forge-dataviz-iot-reference-app/tree/main/server/gateways/synthetic-data
So, to use the data, the environment will be like:因此,要使用数据,环境将如下所示:
ADAPTER_TYPE=csv
CSV_MODEL_JSON=server/gateways/synthetic-data/device-models.json
CSV_DEVICE_JSON=server/gateways/synthetic-data/devices.json
CSV_FOLDER=server/gateways/csv
CSV_DATA_START=2011-02-01T08:00:00.000Z
CSV_DATA_END=2011-02-03T06:13:14.484Z
CSV_DELIMITER=","
CSV_LINE_BREAK="\n"
CSV_TIMESTAMP_COLUMN="time"
CSV_FILE_EXTENSION=".csv"
I suggested you download the sample application and run it firstly, which may help you to troubleshoot.我建议您先下载示例应用程序并运行它,这可能有助于您进行故障排除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.