Loading Esri-ASCII-Raster-Plugin/Esri-ASCII-Grid-Plugin.py +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ def createModifiedCallback(anobject): extensions="asc", file_description="ESRI ASCII Raster Files") class PythonESRIGridReader(VTKPythonAlgorithmBase): def __init__(self): VTKPythonAlgorithmBase.__init__(self, nInputPorts=0, nOutputPorts=1, outputType='vtkUnstructuredGrid') VTKPythonAlgorithmBase.__init__(self, nInputPorts=0, nOutputPorts=1, outputType='vtkPolyData') self._filename = None self._data = None self._pos_lon = 10.18299 Loading build-plugins.py +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ def process_rust(path, module): subprocess.Popen(["ls", "target", "release"], cwd=cwd).wait() subprocess.Popen(["find", "."],cwd=cwd).wait() shutil.copyfile(os.path.join(path,module,"target","release", module + ".dll"),os.path.join(path,module,"target","release", module + ".pyd")) return [os.path.join(path,module,"target","release", module),os.path.join(path,module,"target" ,"release", module + ".pyd")] shutil.copyfile(os.path.join(path,module,"target","release", "lib" + module + ".so"),os.path.join(path,module,"target","release", module + ".so")) return [os.path.join(path,module,"target","release", module + ".so"),os.path.join(path,module,"target" ,"release", module + ".pyd")] def process_python(path, module): return [os.path.join(path,module)] Loading Loading
Esri-ASCII-Raster-Plugin/Esri-ASCII-Grid-Plugin.py +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ def createModifiedCallback(anobject): extensions="asc", file_description="ESRI ASCII Raster Files") class PythonESRIGridReader(VTKPythonAlgorithmBase): def __init__(self): VTKPythonAlgorithmBase.__init__(self, nInputPorts=0, nOutputPorts=1, outputType='vtkUnstructuredGrid') VTKPythonAlgorithmBase.__init__(self, nInputPorts=0, nOutputPorts=1, outputType='vtkPolyData') self._filename = None self._data = None self._pos_lon = 10.18299 Loading
build-plugins.py +2 −1 Original line number Diff line number Diff line Loading @@ -17,7 +17,8 @@ def process_rust(path, module): subprocess.Popen(["ls", "target", "release"], cwd=cwd).wait() subprocess.Popen(["find", "."],cwd=cwd).wait() shutil.copyfile(os.path.join(path,module,"target","release", module + ".dll"),os.path.join(path,module,"target","release", module + ".pyd")) return [os.path.join(path,module,"target","release", module),os.path.join(path,module,"target" ,"release", module + ".pyd")] shutil.copyfile(os.path.join(path,module,"target","release", "lib" + module + ".so"),os.path.join(path,module,"target","release", module + ".so")) return [os.path.join(path,module,"target","release", module + ".so"),os.path.join(path,module,"target" ,"release", module + ".pyd")] def process_python(path, module): return [os.path.join(path,module)] Loading