Torus.to_json

Torus.to_json(filepath)[source]

Serialise the structured data representing the primitive to json.

Parameters

filepath (str) – The path to the json file.