Activity for Tim Ayres

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Meshlab is not the right tool for this, as it does not have true boolean operators (it's boolean filters essentially re-sample the entire mesh using a marching cubes algorithm, which is almost certainly not what you want). I would suggest you try Blender instead, search for the boolean modifier.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I am the author of MLX (https://github.com/3DLIRIOUS/MeshLabXML), a Python interface to MeshLabServer. I have a great deal of experience working with MeshLabServer, creating complex MeshLab Server scripts using Python, and may be able to help with your project.

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    MeshLab isn't really the best tool for this. It does have a measuring tool (the yellow tape measure icon) but it is pretty rudimentary. Although, if you use Compute Planar Section to generate cross sections and then measure those, you may have better luck. MeshMixer has a useful Measure tool under Analysis; it has multiple options to perform differrent types of measurements, and is pretty easy to use IMO.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Hi Gilad, The MeshLabXML API has changed somewhat after the new MeshLab release in 2016.12; it is now object-based. The reason the old script no longer works is that the "Quadric Edge Collapse Decimation (with texture)" filte'rs name was changed in 2016.12 to "Simplification: Quadric Edge Collapse Decimation (with texture)". I just pushed a new version to PIP which you may want to try. Below is a conversion of the simplification script above to the new API, I hope you agree that this is an improvement....

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    What MeshLab version are you using and what is your meshlabserver command? I would guess that you are outputting the wrong layer; you may be outputting the first layer (the original file) instead of the second. Try adding a delete layer filter at the end of your script.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    That's quite interesting. It's difficult to see the traingulation in the first mesh, can you please turn diplay edges and/or wireframe on? It would also be helpful to see what the original mesh looks like, or even better, provide a sample mesh that exhibits the issue.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    In the compute.py module, see the functions parse_geometry & parse_topology.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I will try to squeeze it in if I can, but honestly I'm completely swamped at the moment. If you know Python (and you must, in order to use MLX) then you could write a parsing function yourself. That's the beauty of open source, right? If it helps, you can look at how I currently parse the geometry and topology info in compute.py.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Mohammad, Unfortunately I can't think of any other options other than the two I mentioned: either section the models and measure each section separately, or measure the entire model and section the results afterwards. It sounds like you wish to pursue the second option, which entails extracting the geometry and quality values from a ply file. There are other libraries that can read ply files, such as PyMesh for Python, and others for different languages, however I'm not sure that they will all read...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    If I'm understanding correctly, you just want to compute the distance over a portion of the mesh, not the entire mesh, correct? Here's one possible way you could accomplish this with MeshLab: Write a selection function to select vertices in your section of interest, i.e. select any vertices that are within certain x, y & z values. Invert the selection & delete. Essentially you are cutting out your section of interest. Repeat on the second mesh. Compute the Hausdorff distance between the meshes and...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    The max, min & RMS distance values are reported in the log window in the lower right (make sure that the layer dialog is turned on). The filter also creates vertex quality values, which are the computed distance values. If you haven't already, you may want to review this article: http://meshlabstuff.blogspot.com/2010/01/measuring-difference-between-two-meshes.html If you are trying to access the raw distance values, I think you would need to save the mesh in ply format, with the vq values, and extract...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Sounds like you are looking for "Hausdorff Distance" under "Sampling".

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Aha! Glad you figured it out!

  • Tim Ayres Tim Ayres modified a comment on discussion Help

    Patrick, The difference is definetely subtle. Can you please attach the files directly? Not sure if I can help, but I can certainly take a look. I haven't had any issues like this with writing mlp or mlx files with Python. I am using "\n" to terminate lines, which according to the Python docs is the LF character. Accoring to your hex values, the working file just uses LF for line endings, and the non-working file is using LF CR for some lines. Unfortunately I'm not all that familiar with C++, so...

  • Tim Ayres Tim Ayres modified a comment on discussion Help

    Patrick, The difference is definetely subtle. Can you please attach the files directly? Not sure if I can help, but I can certainly take a look. I haven't had any issues like this with writing mlp or mlx files with Python. I am using "\n" to terminate lines, which according to the Python docs is the LF character. Accoring to your hex values, the working file just uses LF for line endings, and the non-working file is using LF CR for some lines. Unfortunately I'm not all that familiar with C++, so...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Patrick, The difference is definetely subtle. Can you please attach the files directly? Not sure if I can help, but I can certainly take a look. I haven't had any issues like this with writing mlp or mlx files with Python. I am using "\n" to terminate lines, which according to the Python docs is the LF character. Accoring to your hex values, the working file just uses LF for line endings, and the non-working file is using LF CR for some lines. Unfortunately I'm not all that familiar with C++, so...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Have you tried putting both files through a diff program? That should point out any differences and help isolate why one isn't working. If it helps, you can certainly take a look at how I create mlp files in MeshLabXML, see the "create_mlp" function in mlx.py.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Please see issue #128. This has been fixed in the latest source, however you would need to compile from source, or wait for the next release. Another option is to use Blender's "join" (CTRL-J) to perform this action, which supports textures.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Unfortunately I don't believe that there is any way in MeshLab to manually create...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I believe that MeshLab's painting tools create vertex colors, not texture colors...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    You don't need to create a new mesh; you need to create a new UV mapping for the...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Looks like MeshLab doesn't like a comma as the decimal separator. I did a search...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    There is no way to merge point clouds together and retain textures that I know of,...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    The "Compute Topological Measures" filter computes manifoldness, along with other...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Mike, Yes, this is certainly possible. You can use the "Conditional Vertex (or Face)...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Sean, You are on the right track in that those filters can project a texture on a...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Matt, I would suggest that you verify the proper output mask by saving in the gui...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    The "Conditional Vertex Selection" filter can select based on vertex color, position...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Blender and MeshLab compliment each other nicely; if I can't figure out how to accomplish...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Tim, You are correct that MeshLab's "Flatten Layers" does not currently preserve...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    If you have some sample files you can share that would be helpful, otherwise I'm...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Jeff, Well, this certainly appears to be a bug in the Mac version of MeshLab, as...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Jennifer, If I'm understanding correctly you want to perform a boolean union on two...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Well, there are a few obvious problems in the original post: 1. Using filter "Texture...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I beleive that this feature is called "shrinkwrap" in some other software (I think...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    If you save a mesh with an active transformation matrix as a project file (mlp extension)...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Felix, Meshlabserver can certainly use these other parameters to the decimation filter....

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Yes, you want the meshlabserver program. This can run MeshLab on the command line...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Glad you got it working! If you're using python you may want to check out my meshlabserver...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    My output looks different and I didn't get any errors; are you using version 1.3.3...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Jeff, It works fine for me; I'm using the 64 bit Windows 3.4BETA version. What version...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Yes, the Compute Geometric Measures filter will measure the mesh surface.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    If you have a sample file you can upload I'd be happy to take a look. In the info...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    This is an announcement of the 3rd party library MeshLabXML to programmatically create...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I've been planning to try working with rasters in meshlabserver soon. The only method...

  • Tim Ayres Tim Ayres modified a comment on discussion Help

    I apologize for the confusion, however I was actually requesting that you post your...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I apologize for the confusion, however I was actually requesting that you post your...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Everything LOOKS correct. Can you post your command line output when you run the...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I use v1.3.4 BETA all the time with meshlabserver and it works great. Can you post...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    One thing you could try is copying the color data from your original point cloud...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    How about "Select Visible Points"? That appears to consider occlusion. If you need...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    It sounds like the "Select Faces by view angle" filter is the one you want, although...

  • Tim Ayres Tim Ayres modified a comment on discussion Users

    Update: in reading the muparser release notes I found that atan2 was added in version...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Update: in reading the muparser release notes I found that atan2 was added in version...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    The issue is with your collada file. I tried opening it in Blender and it too could...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Sounds very interesting. Do either of you have a sample file you can share? Are your...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Sounds strange; how is it failing? Do you have "keep unreferenced verrtices" checked?...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Well, you could start by creating an issue requesting this feature at https://github.com/beltoforion/muparser/issues...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    The per vertex color function only accepts RGBA (a separate function for each). You're...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Mehul, If I'm understanding you correctly, it sounds like you want to subdivide your...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    No problem; apologies if the message above was a bit brusque.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Use the Discusssion search function; this was just discussed last month: https:/...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    You can find the filters for normals under "Normals, Curvatures and Orientation"....

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Hi Luca, You can split your file into separate objects using "Mesh Layer | Split...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    I know this post is a bit old, but maybe you're still looking for a solution. There's...

  • Tim Ayres Tim Ayres posted a comment on ticket #458

    This was tested on MeshLab version 1.3.4Beta 64 bit on Windows 8.1.

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Mehul, I believe that the volume you are referring to is the volume that is being...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    You need to turn on the layer dialog to see the output of Measure Geometry and other...

  • Tim Ayres Tim Ayres created ticket #458

    Grid Generator creates non-zero z values

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Mehul, "Precision" is the size of the voxel used, e.g. how dense the grid is. Smaller...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Using the computed Quality values as the increment in the color function is a perfect...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Ah ha, I beleive I understand what you're after now. It's probably possible to implement...

  • Tim Ayres Tim Ayres modified a comment on discussion Users

    Update: I belatedly realized that it might be helpful if I provided the output of...

  • Tim Ayres Tim Ayres modified a comment on discussion Users

    Update: I belatedly realized that it might be helpful if I provided the output of...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Update: I belatedly realized that it might be helpful if I provided the output of...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    I'm not a MeshLab developer and can't modify the geodesic distance filter, however...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Nick, What was the problem? Can you provide any help or instructions on compiling...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    What filters have you tried? How much is the volume and the shape of the mesh changing?...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    This could definetely be done with the "Per Vertex Color Function" filter. The trick...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    If you need to actualy cut the mesh apart then you need to do that in another program;...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Sean, If your file consists of multiple parts (components) you can separate them...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Glad you got it to work! :)

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Nathanael, Thanks for the upload. Opening the file in MeshLab generated an error...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Nathanael, Are you able to upload a sample file, or even just your mtl file? Is MeshLab...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Thanks for the pic; my answer still stands. To thicken the surface into a solid mesh...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    amundsen, It's not quite clear to me what you're trying to achieve; a picture or...

  • Tim Ayres Tim Ayres modified a comment on discussion Help

    I stand corrected; apparently MeshLab CAN bake textures! This blog entry gives a...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I stand corrected; apparently MeshLab CAN bake textures! This blog entry gives a...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    When using meshlabserver on stl files you need to put a "merge close vertices" filter...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Alice, Yes it's possible to use meshlabserver for this; I do it all the time. Are...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    I don't believe that MeshLab can do this, however Blender can. Search for some tutorials...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Jan, If you mean that you want to make your mesh manifold then MeshLab can help you....

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Vertex color data is saved in the obj file itself. The mtl file is only for UV mapped...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    alves, I would suggest you try some of the filters that smooth the actual mesh, not...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Alaa, At the start of your script add the "Merge Close Vertices" filter with a threshold...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    "Show Quoted Box" shows the mesh's bounding box and a ruler measuring from zero to...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Great work tracking down that bug!

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Martin, You can see the list of available meshlabserver options by running meshlabserver...

  • Tim Ayres Tim Ayres posted a comment on discussion Help

    Hi Stephen, In my experience the "min" &"max" values, while required, do not actually...

  • Tim Ayres Tim Ayres posted a comment on discussion Users

    Great, glad it worked for you! :)

1 >