Gyroid lattice customized re-modelling
Show older comments
Hello everyone,
I'm a mechanical engineering student currently doing my final year project studying the effect of different Triply Periodic Minimal surface architectures on cell growth. One of the structures i have to generate and 3D print is the Gyroid lattice structure. I used MATLAB to generate the OBJ file and then imported the file to Netfabb and Meshmixer to give thickness to the OBJ file and repair it for 3D printing. The orange portions are considered as holes and therefore are required to be repaired for 3D printing. However, i cant seem to get either Netfabb or Meshmixer to appropriately repair it. Here is an image of the gyroid lattice
I suspect that the issue comes from the 2 circled areas in the front where the orange portions merge into each other those are the areas that lead to the failed repair in contrast to the 3rd circled portions (vertical) where tthey do not merge with the upper sgments and the repair in that region is successful. Here is the code i used to generate the lattice:
a=5*pi;
s=pi/10;
[x,y,z]=meshgrid(-a:s:a,-a:s:a,-2*pi:s:2*pi);
cx = cos (2*x);
cy = sin(2*y);
cz = cos (2*z);
u = 10*(2*cos (x).* sin (y) + cos (y).* sin (z) + cos (z).* sin (x))-6;
[f,v]=isosurface(u,0);
vertface2obj(v,f,'Gyroid6.obj');
Is there any way the code can be altered to disconnect all the merged orange portions?
Answers (0)
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!