Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screened Poisson Surface Reconstruction filter is reporting a problem with the plugin in Meshlab 2020.07 #1333

Closed
ortobajt opened this issue Dec 7, 2022 · 3 comments

Comments

@ortobajt
Copy link

ortobajt commented Dec 7, 2022

Hello.
I have a problem with Meshlab 2020.07, which is installed on Windows 11.
When I run the following command in cmd:

.\meshlabserver.exe -i C:\Users\...\AppData\Local\Temp\in0.stl -o C:\Users\...\AppData\Local\Temp\out.stl -s C:\Users\...\AppData\Local\Temp\PoissonSurfaceReconstruction.mlx

I get the following message
Loading Plugins: Current Plugins Dir is: C:/Program Files/VCG/MeshLab/plugins "Cannot load library C:\\Program Files\\VCG\\MeshLab\\plugins\\filter_sketchfab.dll: Nie mo┐na odnalečŠ okreťlonego modu│u." Total 265 filtering actions Total 13 io plugins Opening a file with extension stl Mesh C:/Users/rafal/AppData/Local/Temp/in0.stl loaded has 116446 vn 231954 fn output mesh C:/Users/rafal/AppData/Local/Temp/out.stl Apply FilterScript: 'C:/Users/rafal/AppData/Local/Temp/PoissonSurfaceReconstruction.mlx' FilterScript Reading filter with name Remove Duplicate Vertices Starting Script of 1 actionsfilter: Remove Duplicate Vertices LOG: 2 Removed 0 duplicated vertices Removed 0 duplicated vertices Mesh C:/Users/rafal/AppData/Local/Temp/in0.stl saved as C:/Users/rafal/AppData/Local/Temp/out.stl (116446 vn 231954 fn)

My PoissonSurfaceReconstruction.mlx script:

`<!DOCTYPE FilterScript>
<FilterScript>
 <filter name="Remove Duplicate Vertices"/>
 <xmlfilter name="Screened Poisson Surface Reconstruction">
  <xmlparam value="0" name="cgDepth"/>
  <xmlparam value="false" name="confidence"/>
  <xmlparam value="12" name="depth"/>
  <xmlparam value="5" name="fullDepth"/>
  <xmlparam value="8" name="iters"/>
  <xmlparam value="4" name="pointWeight"/>
  <xmlparam value="true" name="preClean"/>
  <xmlparam value="1.5" name="samplesPerNode"/>
  <xmlparam value="1.1" name="scale"/>
  <xmlparam value="false" name="visibleLayer"/>
 </xmlfilter>
 
</FilterScript>`

My out.stl is identical as in.stl

image

If I check plugin folder: C:/Program Files/VCG/MeshLab/plugins I see there is a filter_sketchfab.dll
image

If in filter scipt I add:
`

 <filter name="Change the current layer">
  <Param tooltip="The name of the current mesh" type="RichMesh" value="0" name="mesh" description="Mesh"/>
 </filter> 
 
 <filter name="Delete Current Mesh"/>

`

I get the following message

Loading Plugins:
Current Plugins Dir is: C:/Program Files/VCG/MeshLab/plugins
"Cannot load library C:\\Program Files\\VCG\\MeshLab\\plugins\\filter_sketchfab.dll: Nie mo┐na odnalečŠ okreťlonego modu│u."
Total 265 filtering actions
Total 13 io plugins
Opening a file with extension stl
Mesh C:/Users/rafal/AppData/Local/Temp/in0.stl loaded has 116446 vn 231954 fn
output mesh  C:/Users/rafal/AppData/Local/Temp/out.stl
Apply FilterScript: 'C:/Users/rafal/AppData/Local/Temp/PoissonSurfaceReconstruction.mlx'
FilterScript
Reading filter with name Remove Duplicate Vertices
Reading filter with name Change the current layer
Reading filter with name Delete Current Mesh
Starting Script of 3 actionsfilter: Remove Duplicate Vertices
LOG: 2 Removed 0 duplicated vertices
Removed 0 duplicated vertices
filter: Change the current layer
Removed 0 duplicated vertices
filter: Delete Current Mesh
Removed 0 duplicated vertices
Error: trying to save 1 meshes, but only 0 available in the project
Output mesh C:/Users/rafal/AppData/Local/Temp/out.stl has NOT been saved. A not existent layer has been requested to be saved

When I perform the steps contained in the filters manually in the MeshLab 2020.07 program, everything runs fine
image

I am sending the model in the attachment
in0.zip

@alemuntoni
Copy link
Member

See #911 - meshlabserver it is not supported anymore.
Moreover, the latest version of MeshLab is 2022.02.
Please check if the errors persist in the latest versions of MeshLab and PyMeshLab.

@ortobajt
Copy link
Author

ortobajt commented Dec 7, 2022

#911 is a completely different topic. In version 2020.07 meshlabserver is still installed and other filters are executed correctly. I'm asking about this particular case of a filter.

@alemuntoni
Copy link
Member

#911 tells that meshlabserver is not supported anymore.
After 2020.07, 6 newer versions of MeshLab have been released. That means that bugs of 2020.07 may have been fixed in newer versions.
The issue you are reporting is about a tool that is not supported since two years. Bugs on that tool won't be fixed.
We can't and we won't support obsolete versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants