Closed citystrawman closed 1 year ago
Hello
this sizing artefact is due to the feature edges size which is too large in your output. To have a smoother sizing transition between sharp features, surfaces and volume, you should add the edge_size
parameter to the meshing criteria.
For example :
Mesh_criteria criteria(edge_size = max_size, facet_angle = 25, facet_size = max_size, facet_distance = max_size*0.33,
cell_radius_edge_ratio = 1.2, cell_size = size_1);
Hello this sizing artefact is due to the feature edges size which is too large in your output. To have a smoother sizing transition between sharp features, surfaces and volume, you should add the
edge_size
parameter to the meshing criteria. For example :Mesh_criteria criteria(edge_size = max_size, facet_angle = 25, facet_size = max_size, facet_distance = max_size*0.33, cell_radius_edge_ratio = 1.2, cell_size = size_1);
This works. Thank you so much.
Please use the following template to help us solving your issue.
Issue Details
I've a tunnel which is in the middle of a big rectangle box (the width and height of the box is about several times the tunnel width and height ), and My final goal is to geneate mesh for this regtangle box which has a smaller mesh size near around the tunnel and bigger mesh size near the box boudnary. To simplify this model , I firstly made a rectangle box without tunnel, and I would like to generate 3D mesh within this box. I studied the Mesh_3/mesh_implicit_sphere_variable_size.cpp example, but in my model, the the mesh size should change within box, thus I proposed a Box_sizing_field as follows:
Then I tested this code using my model. The result works almost OK at the inner core, but the boundary meshes looks too big and the shape is stretched: I doubt I made some mistake but could not solve it myself.
The boundingbox-large.off file is attached at the end of the post.
Source Code
Environment