MeshLabXML | Create and run MeshLab XML scripts with Python | 3D Animation library
kandi X-RAY | MeshLabXML Summary
kandi X-RAY | MeshLabXML Summary
MLX, or MeshLabXML, is a Python (2.7 or 3) scripting interface to MeshLab, the open source system for processing and editing 3D triangular meshes. Under the hood, MLX generates XML filter scripts that can then be executed headless with the meshlabserver executable or run in the MeshLab GUI. It can also parse some of MeshLab's output, such as the results of the measure_geometry and measure_topology functions. MLX is named after the .mlx file extension for MeshLab script files, however the name was already taken on PyPi (for an unrelated machine learning library), so it is formally registered under the longer name of MeshLabXML.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate Quatrefoil
- Convert to float
- Run meshlab server
- Parse a log file into a dictionary
- Generate cyclicrain
- Generate a template filter
- Draws a tube structure
- Generates a filter to merge two vertices
- Banch function
- Define a geometry filter
- Filters out of ball polarization
- Run a mesh script
- Filters LS3 Loop
- Creates a cylinder
- Generate a parameter definition from a list of rasters
- Scale 2 axis image
- Project rasters to images
- Return a bend function
- Rotate a 2 - dimensional 2 matrix
- Calculate the Hausdorff Distance
- Translate vertex attributes to texture
- Simplify a matrix
- Create an mlp file
- Convenience function to convert a mesh attribute to a mesh attribute
- Generate a screen for a Screened Poisson surface
- Rotate a script to a specified plane
- Apply uniform resampling
MeshLabXML Key Features
MeshLabXML Examples and Code Snippets
Community Discussions
Trending Discussions on MeshLabXML
QUESTION
I have a .obj
file with vertices and faces. I want to reduce the number of faces by mesh simplification and I intend to use meshlabxml to do that. The remesh.simplify function seems approprate for the task.
Can somebody explain the parameters and how I can use my .obj
file to use for this mesh simplification function.
Thanks in advance
...ANSWER
Answered 2020-Aug-19 at 09:39Use quadric-mesh-simplification repo.
QUESTION
I test some decimation / simplification tools to reduce triangles number of many OBJ files who represent a 3D model programmatically.
I have a problem with the function "Simplification: Quadric Edge Collapse Decimation (with texture) in MeshLab.
When I run the function I get the message : Filter failure message
I found a workaround with the IDE, I apply the function Filters / Texture / Converts PerVertex UV into PerWedge UV and then apply the simplification filter... But in the MeshLabXML api i can't find the filter to convert UV texture coordinates...
Anyone have had the problem? And resolved it?
...ANSWER
Answered 2020-Feb-19 at 08:42You have two alternatives to do that:
First takes two steps:
- Convert your mesh to per-wedge-textured using the command
meshlabserver -i inputMesh.obj -o tmpMesh.obj -m wt
- Apply your other filters using
meshlabserver -i tmpMesh.obj -o outputMesh.obj -m wt -s myScript.mlx
The second alternative is do everything in just a step, by calling the filter Convert PerVertex UV into PerWedge UV
in your mlx script before of calling Simplification: Quadric Edge ...
. Also, I suggest to call Remove Unreferenced Vertices
just by sanity.
Try saving this script to a file named textureSimplify.mlx
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MeshLabXML
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page