it would be much easier to understand what you wanted to achieve if you attach a figure
I am not sure what type of "alignment" you wanted to see. if you call iso2mesh v2m with 'cgalmesh' as the meshing method, it does not give you the edge/corner features, instead, the surfaces near edges or corners are slightly rounded. you can set opt.distbound to a smaller value to make the sharper edges more prominent (see the built-in helloworld example)
if you want to mesh sharp features from the volume, you will need to use the surface-based meshing workflow, like we described in Fig. 3 of our brain2mesh paper https://doi.org/10.1117/1.NPh.7.1.015008
an example of meshing a multi-layered cube embedding a cylinder
with sharp edge features, like shown in another of our papers
can be created using the below commands
https://github.com/fangq/mmc/blob/master/mmclab/example/demo_mcxyz_skinvessel.m#L11-L25
using surfboolean.m and slice a mesh with a meshabox() created bounding box to create sharp/flat boundaries is another way to create meshes of precise dimensions.
but again, without seeing your plots, it is hard for me know for
certain my above comments was relevant.
--
You received this message because you are subscribed to the Google Groups "iso2mesh-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iso2mesh-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iso2mesh-users/93e98ef7-7644-4db1-a988-5b1b8ce490acn%40googlegroups.com.
iso2mesh does not have the capability to create meshes that
satisfy periodic condition, neither did it advertise it anywhere.
you will have to use specialized algorithms and tools, I am not aware of any other tool offers this capability except CGAL
https://doc.cgal.org/latest/Periodic_3_mesh_3/index.html
please redirect your future question to CGAL's mailing list
To view this discussion on the web visit https://groups.google.com/d/msgid/iso2mesh-users/2fbce536-82b0-4a58-8ce9-2ddc17e29e6en%40googlegroups.com.