kittycad.api.modeling.modeling_commands_ws

Functions

asyncio(fps, unlocked_framerate, ...)

Pass those commands to the engine via websocket, and pass responses back to the client.

sync(fps, unlocked_framerate, ...)

Pass those commands to the engine via websocket, and pass responses back to the client.

kittycad.api.modeling.modeling_commands_ws._get_kwargs(fps, unlocked_framerate, video_res_height, video_res_width, *, client)[source][source]
Return type:

Dict[str, Any]

async kittycad.api.modeling.modeling_commands_ws.asyncio(fps, unlocked_framerate, video_res_height, video_res_width, *, client)[source][source]

Pass those commands to the engine via websocket, and pass responses back to the client. Basically, this is a websocket proxy between the frontend/client and the engine.

Return type:

WebSocketClientProtocol

kittycad.api.modeling.modeling_commands_ws.sync(fps, unlocked_framerate, video_res_height, video_res_width, *, client)[source][source]

Pass those commands to the engine via websocket, and pass responses back to the client. Basically, this is a websocket proxy between the frontend/client and the engine.

Return type:

ClientConnection