Can I offset the base position of a 3MX model ?

Hi, I want to combine two models, into a single 3MX combined model.

THis is easy to do by placing the two Data folders in a single scene floder and editing the .3mx file like this :

{"3mxVersion": 1,
"name":"Combined_model",
"description":"Scene generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>.",
"logo":"logo.png",
"sceneOptions":[{"navigationMode":"ORBIT"}],
"layers": [
{
"type":"meshPyramid",
"id":"mesh0",
"name":"Model_1",
"description":"Model generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>.",
"SRS": "Local:unit=meter",
"SRSOrigin": [0,0,0],
"root": "Data-1/Model_1.3mxb"
},
{
"type":"meshPyramid",
"id":"mesh0",
"name":"Model_2",
"description":"Model generated by ContextCapture, copyright <a href='http://www.bentley.com' target='_blank'>Bentley</a>.",
"SRS": "Local:unit=meter",
"SRSOrigin": [0,0,0],
"root": "Data-2/Model_2.3mxb"
}
]
}

However, when I do this the two models are one on top of the other, so that I want to offset one of them with respect to the other.
I tried changing one of the

"SRSOrigin":[0,0,0]statements

to something else (such as [0,2,0] ) , but this leads to an error (probably SRS Origin needs to be the same for the two mode).

Any idea if this is possible at all (including by editing the 3mxb root files in each of the Data folders) ?

Thanks

Philippe

PS of course, it would be a solution to produce these models with an offset, but that would request a new Reconstruction, and since I heavily edited both meshes, it's rather complex, if possible at all.

Parents Reply Children
No Data