DFInspectResults component

Contents

_images/icon18.png

DFInspectResults component#

Access the components of the DFVizResults object.

Inputs:

i_results (ghdoc ,item)

The path to the file of the .diffCheck file.

Outputs:

o_assembly

The DFAssembly object.

o_source

The point cloud used for calculating the results.

o_target

The target mesh of the structure.

o_distances_mean

-

o_distances_rmse

-

o_distances_max_deviation

-

o_distances_min_deviation

-

o_distances_sd_deviation

-

o_distances

-

Code:

#! python3

from ghpythonlib.componentbase import executingcomponent as component


class DFInspectResults(component):
    def RunScript(self, i_results):
        if i_results is None:
            return None

        return i_results.assembly, \
            i_results.source, \
            i_results.target, \
            i_results.distances_mean, \
            i_results.distances_rmse, \
            i_results.distances_max_deviation, \
            i_results.distances_min_deviation, \
            i_results.distances_sd_deviation, \
            i_results.distances