draw.serve_orient_page()

Serve the orientation page from a local server, in a background thread.

Usage

Source

draw.serve_orient_page(
    geo,
    *,
    port=0,
)

Parameters

geo: Geometry

Geometry.

port: int = 0
Port to serve on. The default (0) picks a free port.

Returns

ThreadingHTTPServer

The server, and a list that receives the view quaternion when the page

list
posts it. The server shuts itself down after that.