I’ve found an issue reproducible by using the attached file. surfaceToMeshIssue.3dm (478.8 KB)
I have to create a mesh, starting from an almost flat surface.
I set the ‘Maximum distance, edge to surface’ parameter to 0.01mm but the output mesh results far from the surface (more then 0.01mm in some areas).
I discover that setting the ‘Maximum aspect ratio’ parameter to 0 (instead of the default value 6) then the output mesh results close enough to the surface.
The question is: why in the first case is the ‘Maximum distance, edge to surface’ parameter not respected, even though, at least in my example, it would be possible to create a mesh respecting both the constraints (‘Maximum distance, edge to surface’ to 0.01mm and ‘Maximum aspect ratio’ to 6)?
I use these parameters in a static setting and using 0 for the ‘Maximum aspect ratio’ parameter often leads to a much slower computation of the procedure I have to perform on the mesh.
All the parameters setting used for the mesh creation follows:
- Density: 0.5;
- Maximum angle: 0.0;
- Maximum aspect ratio: 6.0;
- Minimum edge length: 0.0;
- Maximum edge length: 0.0;
- Maximum distance, edge to surface: 0.01;
- Minimum initial grid quads: 0;
- Refine mesh: true;
- Jagged seams: false;
- Simple planes: false;
- Pack textures: true.
- What does the ‘Density’ parameter do? I didn’t find the documentation about it.
- My surface mustn’t be far from the surface more then 0.01mm, should I pay attention to other parameters that can nullify the ‘Maximum distance, edge to surface’ parameter?