def attach_node_shape_instance(self, name=DEFAULT_NODE_NAME,
                                   shape_instance=DEFAULT_INSTANCE_NAME,
                                   shape=DEFAULT_SHAPE_NAME,
                                   material=DEFAULT_MATERIAL_NAME,
                                   surface=None,
                                   disabled=False):
        assert isinstance(name, NodeName)
        assert shape in self.asset['geometries']
        LOG.debug("nodes:%s:geometry:%s", name, shape)
        if not material in self.asset['materials']:
            LOG.info("nodes:%s:referencing missing material:%s", name, material)
        else:
            LOG.debug("nodes:%s:material:%s", name, material)
        LOG.debug("nodes:%s:disabled:%s", name, disabled)
        instance = self.__retrieve_shape_instance(name, shape_instance)
        instance['geometry'] = shape
        instance['material'] = material
        if surface is not None:
            instance['surface'] = surface
        if disabled:
            instance['disabled'] = disabled
Attach a node connecting a shape, material and transform to the JSON representation.
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.attach_node_shape_instance