load_yaml#
module opensg.io.io
- opensg.io.io.load_yaml(yaml_file)#
Load mesh data from a YAML file.
- Parameters:
yaml_file (str) – Path to the YAML file containing mesh data
- Returns:
dict – Dictionary containing the mesh data with keys: - nodes: list of node coordinates - elements: list of element definitions - sets: dictionary of element and node sets - materials: dictionary of material definitions - sections: dictionary of section definitions - elementOrientations: list of element orientation matrices