add option to apply transformation matrix to object after open

This commit is contained in:
theAdib
2020-10-25 17:35:05 +01:00
parent febba143a8
commit 671be5a9b6
3 changed files with 48 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import websockets
async def hello():
uri = "ws://localhost:6001"
async with websockets.connect(uri) as websocket:
await websocket.send('{"jsonrpc": "2.0", "method": "open2", "params": {"filename": "/home/adib/Dokumente/teapt.ply"}, "id": 4}')
await websocket.send('{"jsonrpc": "2.0", "method": "open", "params": {"filename": "/home/adib/Dokumente/teapot.ply"}, "id": 4}')
result = await websocket.recv()
print("result: ", result)