![]() |
Infohub JS API
|
Functions ...
Public Member Functions | |
| constructor (ctx) | |
| async | transformIfc (node_sid, request_data) |
| constructor | ( | ctx | ) |
| {Context} | ctx |
| async transformIfc | ( | node_sid, | |
| request_data ) |
/{scope}/ifc/{node}/transform
| {*} | node_sid |
| {*} | transformMap = { "object_id1": { // object ID "move": [ 1.0, 1.0, 2.0 ], // move [ dx , dy , dz ] "rotate": { "pivot": [ 11.3, 34.6, 34.0 ], // rotate around that point in global coordinates before moving the object "alpha": 45.0 } }, "object_id2": { "move": [ 1.0, 1.0, 0.0 ], "rotate": { "pivot": [ 11.3, 34.6, 34.0 ], "alpha": 45.0 } } } |