Class

ServiceRpc

ServiceRpc(ctx)

Constructor

# new ServiceRpc(ctx)

Parameters:
Name Type Description
ctx Context

View Source infohub/ServiceRpc.js, line 15

Classes

ServiceRpc

Methods

# async transformIfc(node_sid, transformMap)

/{scope}/ifc/{node}/transform

Parameters:
Name Type Description
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 } } }

View Source infohub/ServiceRpc.js, line 54