Hello @mathieu1
Basically I would like to avoid adding some new integration on the Grasshopper model (in that case the 2D tags).
We already have this object exported by the GH model which has all the data we need so I’m trying to find a solution to simply use that data to display dimensions in the Viewer.
[
{
"data": {
"Dimensions": {
"carcass": {
"W_SP": "-1000,0,0",
"W_EP": "1000,0,0",
"W_V": 2000,
"D_SP": "1000,0,0",
"D_EP": "1000,600,0",
"D_V": 600,
"H_SP": "1000,0,0",
"H_EP": "1000,0,1200",
"H_V": 1200
},
"level_0": {
"ID_0": {
"W_SP": "-981,0,19",
"W_EP": "981,0,19",
"W_V": 1962,
"D_SP": "981,0,19",
"D_EP": "981,581,19",
"D_V": 581,
"H_SP": "981,0,19",
"H_EP": "981,0,1181",
"H_V": 1162,
"level_1": {
"ID_0": {
"W_SP": "-981,0,19",
"W_EP": "-9.5,0,19",
"W_V": 971.5,
"D_SP": "-9.5,0,19",
"D_EP": "-9.5,581,19",
"D_V": 581,
"H_SP": "-9.5,0,19",
"H_EP": "-9.5,0,1181",
"H_V": 1162
},
"ID_1": {
"W_SP": "9.5,0,19",
"W_EP": "981,0,19",
"W_V": 971.5,
"D_SP": "981,0,19",
"D_EP": "981,581,19",
"D_V": 581,
"H_SP": "981,0,19",
"H_EP": "981,0,1181",
"H_V": 1162
}
}
}
}
}
},
"format": "data",
"name": "dimensionsJson"
}
]