- Direct Geometry Design Inside an external mesh generator: See a question I asked for nested cubes on stackexchange here. GMSH is free, robust, has inbuilt optimisation and isn't too hard to learn, though finding anything in the documentation is long. There are many other mesh generators, but GMSH also has a direct export to a .m file for MATLAB.
- CAD Design & Creation of an STL/BREP/STEP file depending on the geometry, subsequent external meshing then importing to MATLAB. Some questions I've answered on this forum which maybe helpful to this approach can be found here and here
Creating modified cavities in 3D models.
7 views (last 30 days)
Hi, I wish to create cavities in a cubic model (discrete geometry) similar to that found here.
The only difference is I wish to have more control over the size of the cube and sphere, possibly add multiple, and control the location of the sphere within the 3D space, is any/all of this possible?
ADSW121365 on 15 Jun 2020
Edited: ADSW121365 on 15 Jun 2020
All of this is definitely possible, but the inbuilt CAD capabilities/geometry design in MATLAB aren't its strongest point.
From experience complicated geometries generally fall into two catagories for use in the toolbox:
Edit: The approach via alphashapes mentioned in the comments is actually really good for this type of problem and worth considering.