Closed markus-stoll closed 10 years ago
any ideas? Shall a push my hack-fix "physical='string'" for RefMesh parameter?
hack-fixed with 92124a63358ce8538f6e0ef5ac4fc50eb3616fc0 Better ideas?
As discussed, I have reintroduced the problem. @areku: can you take a look at it d9e142d49869b48b0ac26e5f2d7287df55f736b7 ?
you can use the Lungs_new.xml example to call the GenerateDVF operator.
SOFAExporter set the disp1
with wrong type (path.path, None)
and not the type it has defined for this output request (VTK, Mesh)
.
This fixed it:
self._memory['SOFAExporter'] = {request.id: VTK(str(filenameLastOutput))}
The build graph is ok:
CGALi2vLungs example was broken. First fixes: 479d7f3fb9ee0999f3ecfa4e57534f5c05020338
A problem with generateDVF operator remains. The problems seems to be that the generateDVF input parameter is passed as path-type e.g. "path(u'disp50.vtu')". Changing "physical='VTK'" to "physical='string'" for in share\alphabet\msml_operators\misc\generateDVF.xml would fix the problem....
msml_github/src/msml.py exec C:\Projekte\msml_github\examples\CGALi2vLungs\Lungs_new.xml -e nsofa
Couldn't import dot_parser, loading of dot files will not be possible. [94mI-0: READING alphabet... [37m(from frontend.py:214)[0m [94mI-0: found 22 xml files in the alphabet search path [37m(from frontend.py:218)[0m [33mW-161: logical type segmentationImage requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh, quadraticTetMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type indexgroup requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh+quadraticTetMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh+quadraticTetMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh+triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh+triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type image requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type linearTetMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type indexGroup requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type segmentationImage requested, but does not exist [37m(from sorts.py:99)[0m [33mW-161: logical type triangularMesh requested, but does not exist [37m(from sorts.py:99)[0m LOADING: msml.ext.cgal.CreateVolumeMeshi2v LOADING: msml.ext.cgal.CreateVolumeMeshs2v LOADING: msml.ext.misc.ApplyDVF LOADING: msml.ext.misc.ColorMeshPython LOADING: msml.ext.misc.computeIndicesFromBoxROI LOADING: msml.ext.misc.ConvertSTLToVTK LOADING: msml.ext.misc.ConvertVTKMeshToAbaqusMeshString LOADING: msml.ext.misc.ExtractAllSurfacesByMaterial LOADING: msml.ext.misc.GenerateDVF LOADING: msml.ext.misc.computeIndicesFromMaterialId LOADING: msml.ext.misc.VoxelizeSurfaceMesh LOADING: msml.ext.tetgen.CreateVolumeMeshPython [31mE-182: OAConstraint: springMeshToFixed does not have an indices attribute defined [37m(from alphabet.py:206)[0m [31mE-182: OAConstraint: supportingMesh does not have an indices attribute defined [37m(from alphabet.py:206)[0m [33mW-161: logical type segmentationImage requested, but does not exist [37m(from sorts.py:99)[0m [94mI-6161: Need convert value of <var segementation_voxel_image : <Sort: <class 'msml.sortdef.VTK'>, None> = case1_T00_labled.vti> [37m(from base.py:446)[0m [33mW-161: logical type linearMesh requested, but does not exist [37m(from sorts.py:99)[0m [94mI-6161: Need convert value of <var tet_only_mesh : <Sort: <class 'msml.sortdef.VTK'>, None> = case1_T00_tetmesh.vtk> [37m(from base.py:446)[0m [33mW-161: logical type linearMesh requested, but does not exist [37m(from sorts.py:99)[0m [94mI-6161: Need convert value of <var combo_mesh : <Sort: <class 'msml.sortdef.VTK'>, None> = case1_T00_mesh_combo.vtk> [37m(from base.py:446)[0m Execute: C:\Projekte\msml_github\examples\CGALi2vLungs\Lungs_new.xml in <bound method path.dirname of path(u'C:\Projekte\msml_github\examples\CGALi2vLungs\Lungs_new.xml')> [94mI-6161: Need convert value of <var _gen001 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 18> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen002 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 3> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen003 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 3> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen004 : <Sort: <type 'bool'>, None> = false> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen005 : <Sort: <type 'bool'>, None> = false> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen006 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 12> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen007 : <Sort: <type 'bool'>, None> = false> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen008 : <Sort: <type 'bool'>, None> = false> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen009 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 20> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen010 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 100> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen011 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen012 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 50> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen013 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen014 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 75> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen015 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = faces> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen016 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 75> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen017 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen018 : <Sort: <type 'bool'>, None> = false> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen019 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = dvf01.vtk> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen020 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 25> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen021 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen022 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 50> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen023 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = faces> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen024 : <Sort: <type 'bool'>, None> = false> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen025 : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = -10 190 -10 1000 1000 1000> [37m(from base.py:446)[0m [94mI-6161: Need convert value of <var _gen026 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points> [37m(from base.py:446)[0m [35mF-0: Parameter name of Definiton mass is not specified in msml file. [37m(from base.py:893)[0m [35mF-0: Parameter name of Definiton mass is not specified in msml file. [37m(from base.py:893)[0m [35mF-0: Parameter name of Definiton mass is not specified in msml file. [37m(from base.py:893)[0m [35mF-0: Parameter name of Definiton mass is not specified in msml file. [37m(from base.py:893)[0m [31mE-0: Parameter forStep of Element fixedConstraint is not specified in definition. [37m(from base.py:887)[0m [31mE-0: Parameter name of Element fixedConstraint is not specified in definition. [37m(from base.py:887)[0m [35mF-0: Parameter time of Definiton fixedConstraint is not specified in msml file. [37m(from base.py:893)[0m [31mE-0: Parameter name of Element surfacePressure is not specified in definition. [37m(from base.py:887)[0m [35mF-0: Parameter time of Definiton surfacePressure is not specified in msml file. [37m(from base.py:893)[0m [31mE-0: Parameter name of Element surfacePressure is not specified in definition. [37m(from base.py:887)[0m [35mF-0: Parameter time of Definiton surfacePressure is not specified in msml file. [37m(from base.py:893)[0m [90mD-1562: Reference <Reference+: <var _gen003 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 3.0> -> <Slot cell_radius_edge_ratio: <Sort: <class 'msml.sortdef.MSMLFloat'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen021 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> -> <Slot type: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen004 : <Sort: <type 'bool'>, None> = False> -> <Slot odt: <Sort: <type 'bool'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot indices: <Sort: <class 'msml.sortdef.MSMLListI'>, None>> -> <Slot mr_patMaterial04_indexgroup: <Sort: <class 'msml.sortdef.MSMLListI'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var disp : <Sort: <class 'msml.sortdef.VTK'>, None> = None> -> <Slot RefMesh: <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.Mesh'>>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var disp : <Sort: <class 'msml.sortdef.VTK'>, None> = None> -> <Slot data: <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.Mesh'>>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen022 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 50> -> <Slot num: <Sort: <class 'msml.sortdef.MSMLInt'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen005 : <Sort: <type 'bool'>, None> = False> -> <Slot pertube: <Sort: <type 'bool'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen006 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 12.0> -> <Slot facet_size: <Sort: <class 'msml.sortdef.MSMLFloat'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot DeformedMesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.Mesh'>>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot meshOut: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen024 : <Sort: <type 'bool'>, None> = False> -> <Slot cut: <Sort: <type 'bool'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen007 : <Sort: <type 'bool'>, None> = False> -> <Slot lloyd: <Sort: <type 'bool'>, None>>> is valid [37m(from runinit.py:271)[0m [94mI-1561: Reference <Reference+: <var combo_mesh : <Sort: <class 'msml.sortdef.VTK'>, None> = case1_T00_mesh_combo.vtk> -> <Slot meshOutFilename: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is invalid. Try to implicit conversion [37m(from runinit.py:245)[0m [90mD-1562: Reference <Reference+: <var _gen025 : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = [-10.0, 190.0, -10.0, 1000.0, 1000.0, 1000.0]> -> <Slot box: <Sort: <class 'msml.sortdef.MSMLListF'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen008 : <Sort: <type 'bool'>, None> = False> -> <Slot exude: <Sort: <type 'bool'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen026 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points> -> <Slot select: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen009 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 20.0> -> <Slot facet_angle: <Sort: <class 'msml.sortdef.MSMLFloat'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, None>> -> <Slot meshIn: <Sort: <class 'msml.sortdef.VTK'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen010 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 100> -> <Slot num: <Sort: <class 'msml.sortdef.MSMLInt'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot indices: <Sort: <class 'msml.sortdef.MSMLListI'>, None>> -> <Slot mr_patMaterial01_indexgroup: <Sort: <class 'msml.sortdef.MSMLListI'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen011 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> -> <Slot type: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen023 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = faces> -> <Slot type: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen012 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 50> -> <Slot num: <Sort: <class 'msml.sortdef.MSMLInt'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen013 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> -> <Slot type: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen014 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 75> -> <Slot num: <Sort: <class 'msml.sortdef.MSMLInt'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen015 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = faces> -> <Slot type: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [94mI-1561: Reference <Reference+: <var segementation_voxel_image : <Sort: <class 'msml.sortdef.VTK'>, None> = case1_T00_labled.vti> -> <Slot image: <Sort: <class 'msml.sortdef.VTI'>, None>>> is invalid. Try to implicit conversion [37m(from runinit.py:245)[0m [90mD-1562: Reference <Reference+: <var _gen016 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 75> -> <Slot num: <Sort: <class 'msml.sortdef.MSMLInt'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen017 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = elements> -> <Slot type: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot indices: <Sort: <class 'msml.sortdef.MSMLListI'>, None>> -> <Slot mr_patMaterial02_indexgroup: <Sort: <class 'msml.sortdef.MSMLListI'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen018 : <Sort: <type 'bool'>, None> = False> -> <Slot multipleReferenceGrids: <Sort: <type 'bool'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen001 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 18.0> -> <Slot cell_size: <Sort: <class 'msml.sortdef.MSMLFloat'>, None>>> is valid [37m(from runinit.py:271)[0m [94mI-1561: Reference <Reference+: <var tet_only_mesh : <Sort: <class 'msml.sortdef.VTK'>, None> = case1_T00_tetmesh.vtk> -> <Slot meshFilename: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is invalid. Try to implicit conversion [37m(from runinit.py:245)[0m [90mD-1562: Reference <Reference+: <var _gen019 : <Sort: <class 'msml.sortdef.MSMLString'>, None> = dvf01.vtk> -> <Slot DVFFilename: <Sort: <class 'msml.sortdef.MSMLString'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen002 : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 3.0> -> <Slot facet_distance: <Sort: <class 'msml.sortdef.MSMLFloat'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <var _gen020 : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 25> -> <Slot num: <Sort: <class 'msml.sortdef.MSMLInt'>, None>>> is valid [37m(from runinit.py:271)[0m [90mD-1562: Reference <Reference+: <Slot indices: <Sort: <class 'msml.sortdef.MSMLListI'>, None>> -> <Slot mr_patMaterial03_indexgroup: <Sort: <class 'msml.sortdef.MSMLListI'>, None>>> is valid [37m(from runinit.py:271)[0m [94mI-001: Executing operator of task {Task combo_mesh (converter_VTK_MSMLString)} with arguments {'i': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m [94mI-001: Executing operator of task <PythonOperator:.> with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task <PythonOperator: .> done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task combo_mesh (converter_VTK_MSMLString)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task tet_only_mesh (converter_VTK_MSMLString)} with arguments {'i': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_tetmesh.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task <PythonOperator: .> with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_tetmesh.vtk'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task <PythonOperator: .> done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task tet_only_mesh (converter_VTK_MSMLString)} done [37m(from runinit.py:172)[0m
'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_labled.vti'} with arguments {'i': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_labled.vti'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task <PythonOperator: .> with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_labled.vti'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task <PythonOperator: .> done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task segementation_voxel_image (converter_VTK_VTI)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task VolumeMesher (mesherCGALi2v)} with arguments {'cell_size': 18.0, 'facet_distance': 3.0, 'cell_radius_edge_ratio': 3.0, 'image': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_labled.vti', 'odt': False, 'pertube': False, 'facet_size': 12.0, 'meshFilename': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_tetmesh.vtk', 'lloyd': False, 'exude': False, 'facet_angle': 20.0} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_labled.vti', 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_tetmesh.vtk', 20.0, 12.0, 3.0, 3.0, 18.0, False, False, False, False] [37m(from alphabet.py:437)[0m
GetNumberOfTuples()=6160384
image->size()=6160384
wdim=1
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task VolumeMesher (mesherCGALi2v)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task surfaceExtraction (ExtractAllSurfacesByMaterial)} with arguments {'meshOutFilename': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 'cut': False, 'meshIn': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_tetmesh.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_tetmesh.vtk', 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', False] [37m(from alphabet.py:437)[0m
There are 27581 cells before thresholding.
5976 cells of MaterialId=25 found.
There are 5976 cells after thresholding with 25
CellType is 5
2499 cells of MaterialId=50 found.
There are 2499 cells after thresholding with 50
CellType is 5
2868 cells of MaterialId=75 found.
There are 2868 cells after thresholding with 75
CellType is 5
16238 cells of MaterialId=100 found.
There are 16238 cells after thresholding with 100
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task surfaceExtraction (ExtractAllSurfacesByMaterial)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task bottomToIndexGroup (boxROIToIndexOperator)} with arguments {'box': [-10.0, 190.0, -10.0, 1000.0, 1000.0, 1000.0], 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 'select': 'points'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', [-10.0, 190.0, -10.0, 1000.0, 1000.0, 1000.0], 'points'] [37m(from alphabet.py:437)[0m
CellType is 5
443 points found in box[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task bottomToIndexGroup (boxROIToIndexOperator)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task bonesToIndexGroup (materialId-to-index)} with arguments {'num': 25, 'type': 'elements', 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 25, 'elements'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task bonesToIndexGroup (materialId-to-index)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task lung2facesToIndexGroup (materialId-to-index)} with arguments {'num': 75, 'type': 'faces', 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 75, 'faces'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task lung2facesToIndexGroup (materialId-to-index)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task lung1facesToIndexGroup (materialId-to-index)} with arguments {'num': 50, 'type': 'faces', 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 50, 'faces'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task lung1facesToIndexGroup (materialId-to-index)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task bodyToIndexGroup (materialId-to-index)} with arguments {'num': 100, 'type': 'elements', 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 100, 'elements'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task bodyToIndexGroup (materialId-to-index)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task lung2ToIndexGroup (materialId-to-index)} with arguments {'num': 75, 'type': 'elements', 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 75, 'elements'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task lung2ToIndexGroup (materialId-to-index)} done [37m(from runinit.py:172)[0m
[94mI-001: Executing operator of task {Task lung1ToIndexGroup (materialId-to-index)} with arguments {'num': 50, 'type': 'elements', 'mesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk'} [37m(from runinit.py:170)[0m
[94mI-001: Executing operator of task with arguments ['C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 50, 'elements'] [37m(from alphabet.py:437)[0m
[94mI-002: --Executing operator of task done [37m(from alphabet.py:439)[0m
[94mI-002: --Executing operator of task {Task lung1ToIndexGroup (materialId-to-index)} done [37m(from runinit.py:172)[0m
Converting to sofa scn
Lungs_new.scn
[94mI-252: Executing C:/Projekte/SOFA/Sofa/bin/SofaBatch.exe -l SOFACuda Lungs_new.scn_SOFA_batch.txt [37m(from sofanew.py:100)[0m
[94mI-616: Working directory: C:\Projekte\msml_github\examples\CGALi2vLungs [37m(from sofanew.py:101)[0m
SIMULATION (.scn:C:\Projekte\msml_github\examples\CGALi2vLungs\Lungs_new.scn, #steps:100, .simu:Lungs_new.scn.simu) Found 5116 float points LNG: 0 Found 48167 cells LNG: 0 LNG: 0 LNG: 0 LNG: 0 Data structure: SCALARS Read cell data: 48167 LNG: 1 CUDA: 4 device(s) found. CUDA: 0 : "Tesla C2075", 5375 MB, 112 cores at 1.147 GHz, revision 2.0 CUDA: 1 : "Tesla C2075", 5375 MB, 112 cores at 1.147 GHz, revision 2.0 CUDA: 2 : "Tesla C2075", 5375 MB, 112 cores at 1.147 GHz, revision 2.0 CUDA: 3 : "Tesla C2075", 5375 MB, 112 cores at 1.147 GHz, revision 2.0 CUDA: Using device 0 : "Tesla C2075" WARNING[root(GNode)]: Object type "DiagonalMass" creation Failed LOAD ERROR: Node initialization failed. WARNING[unnamed(WriteState)]: Error creating compressed file C:/Projekte/SOFA/Sofa//applications/projects/sofaBatch/simulation/Lungs_new.scn.simu_0_dofs_mstate.txt.gz Computing 100 iterations. 100 iterations done in 22.9418 s ( 4.35886 FPS). 100 iterations done in 22.9418 s ( 4.35886 FPS). C:/Projekte/SOFA/Sofa//applications/projects/sofaBatch/simulation/Lungs_new.scn.simu.simu file error [94mI-001: Executing operator of task {Task dvf1 (generateDVF)} with arguments {'multipleReferenceGrids': False, 'RefMesh': path(u'disp50.vtu'), 'DeformedMesh': 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', 'DVFFilename': 'dvf01.vtk'} [37m(from runinit.py:170)[0m [94mI-001: Executing operator of task with arguments [path(u'disp50.vtu'), 'dvf01.vtk', 'C:\Projekte\msml_github\examples\CGALi2vLungs\case1_T00_mesh_combo.vtk', False] [37m(from alphabet.py:437)[0m
Traceback (most recent call last):
File "C:\Projekte\msml_github\src\msml.py", line 36, in
msml.frontend.main()
File "C:\Projekte\msml_github\src\msml\frontend.py", line 274, in main
app._exec()
File "C:\Projekte\msml_github\src\msml\frontend.py", line 260, in _exec
fn()
File "C:\Projekte\msml_github\src\msml\frontend.py", line 211, in execution
self.execute_msml_file(path(fil))
File "C:\Projekte\msml_github\src\msml\frontend.py", line 193, in execute_msml_file
self.execute_msml(mfile)
File "C:\Projekte\msml_github\src\msml\frontend.py", line 205, in execute_msml
mem = exe.run()
File "C:\Projekte\msml_github\src\msml\runinit.py", line 140, in run
self._execute_operator_task(node)
File "C:\Projekte\msml_github\src\msml\runinit.py", line 171, in _execute_operator_task
result = task.operator( kwargs)
File "C:\Projekte\msml_github\src\msml\model\alphabet.py", line 438, in call
r = self._function(args)
NotImplementedError: Wrong number or type of arguments for overloaded function 'GenerateDVF'.
Possible C/C++ prototypes are:
MSML::PostProcessingOperators::GenerateDVF(char const ,char const ,char const ,bool)
MSML::PostProcessingOperators::GenerateDVF(char const ,char const ,char const )
MSML::PostProcessingOperators::GenerateDVF(vtkUnstructuredGrid ,vtkImageData ,vtkUnstructuredGrid *)