Mesh.from_json

classmethod Mesh.from_json(filepath)

Construct a datastructure from structured data contained in a json file.

Parameters

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

Returns

compas.datastructures.Datastructure – An object of the type of cls.

Notes

This constructor method is meant to be used in conjunction with the corresponding to_json method.