boinor.render.data_loader ========================= .. py:module:: boinor.render.data_loader .. autoapi-nested-parse:: This module provides functionality to load 3D model data from a file. The `load_data` function reads a file containing 3D model data, extracts the vertex and face information, and returns them as numpy arrays. The file is expected to be in a specific format where each line represents either a vertex or a face. Vertices are denoted by lines starting with 'v' and faces by lines starting with 'f'. The function uses pandas to read the file and process the data. The vertices and faces are extracted based on their respective identifiers and returned as numpy arrays. Functions --------- .. autoapisummary:: boinor.render.data_loader.load_data Module Contents --------------- .. py:function:: load_data(file_path) Load 3D model data from a file. :param file_path: Path to the file containing the 3D model data. :type file_path: str :returns: * **vertices** (*numpy.ndarray*) -- Array of vertex coordinates. * **faces** (*numpy.ndarray*) -- Array of face indices.