Subject: CGAL users discussion list
List archive
- From: Marek <>
- To:
- Subject: [cgal-discuss] 3d mesh density issue
- Date: Wed, 15 May 2013 06:45:24 -0700 (PDT)
Hi
I'm trying to mesh this door-like model with CGAL 3d mesher:
door.off <http://cgal-discuss.949826.n4.nabble.com/file/n4657448/door.off>
<http://cgal-discuss.949826.n4.nabble.com/file/n4657448/door_shell.png>
I'm using this domain:
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Mesh_polyhedron_3<K>::type Polyhedron;
typedef CGAL::Polyhedral_mesh_domain_with_features_3<K> Mesh_domain;
then I load my door polyhedron into domain and use:
domain.detect_features(40.0);
to detect sharp edges.
I'm also using:
facet_topology = CGAL::FACET_VERTICES_ON_SAME_SURFACE_PATCH
to make sure I wont get distortions in thin wall areas.
For proper detected edges insertion I use nonzero edge_size criterion.
Meshing example:
edges_size = 10
facet_angle = 20
Other are default.
Result:
<http://cgal-discuss.949826.n4.nabble.com/file/n4657448/door1_2.png>
We can see that in thin wall area mesh is pretty dense, which makes 130k+
tets in whole model. That is definitely to much for me and I need to reduce
this value.
I tired to change it manipulating criteria values but I can't see any
changes in dense areas:
edges_size = 10
facet_angle = 5
<http://cgal-discuss.949826.n4.nabble.com/file/n4657448/door1_1.png>
So now I don't have any criterion on cell shape, and for facet angle I
lowered from 20 to 5 degrees but it makes no changed at all. Why is that?
I've also tried to tweak edge_size, but it helped nothing:
<http://cgal-discuss.949826.n4.nabble.com/file/n4657448/door2_1.png>
I know that it's only max value but still this is unnecessarily dense. How
can I change it?
How can I reduce mesh density/quality to get model that I can further work
with?
I would like to reduce vertices amount from tens of thousands to at most
several thousands.
Please, help.
Regards, Mark.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/3d-mesh-density-issue-tp4657448.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] 3d mesh density issue, Marek, 05/15/2013
- [cgal-discuss] Re: 3d mesh density issue, ChaoM, 05/15/2013
- [cgal-discuss] Re: 3d mesh density issue, Marek, 05/15/2013
- [cgal-discuss] Re: 3d mesh density issue, ChaoM, 05/16/2013
- [cgal-discuss] Re: 3d mesh density issue, ChaoM, 05/16/2013
- [cgal-discuss] Re: 3d mesh density issue, Marek, 05/16/2013
- Re: [cgal-discuss] Re: 3d mesh density issue, t.doehring, 05/16/2013
- [cgal-discuss] Re: 3d mesh density issue, Marek, 05/16/2013
- [cgal-discuss] Re: 3d mesh density issue, Marek, 05/15/2013
- [cgal-discuss] Re: 3d mesh density issue, ChaoM, 05/15/2013
Archive powered by MHonArc 2.6.18.