

def attach_node(self, name=DEFAULT_NODE_NAME, transform=None):
    'Attach a node with a transform to the JSON representation.'
    assert isinstance(name, NodeName)
    if (not transform):
        transform = self.default_transform
    node = self.__retrieve_node(name)
    LOG.debug('nodes:%s:matrix:%s', name, transform)
    if (len(transform) == 16):
        transform = vmath.m43from_m44(transform)
    if (not vmath.m43is_identity(self)):
        node['matrix'] = transform

dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py JsonAsset.attach_node/VarMisuse@92/142 `transform`->`self`