Hi there! MatLab noob here.
I am trying to generate a series of patterns which could be plotted within a 2D cartesian system. From this I would need to extrude the descreate points/ lines to give it some depth such that meshing and slicing would be possible for 3d printing compatability.
I could do this on CAD software, but I need these patterns to be formulated for ease of variable manipulation (depending on the printing parameters) and for increasing the complexity for following patterns.
Something that was expected to be relativly simple has turned nightmarish, please help!
The first is basicaly just a symmetrical grid with discreate points, my atempted code below:
x= [0:0.1:2];
y= [0:0.1:3];
[xq, yq] = meshgrid(x,y);
coords = [xq(:) yq(:)];
DT = delaunayTriangulation (coords);
hold on;
Tplot = triplot(DT,xq,yq, "LineStyle", "-.");
hold off;
how could I add depth to this? Would it also need a width, maybe a circular geometry instead of a point before extrution? Either way, I'm lost.
The other patterns, are similar in concept, except with contiuous linear and waved lines. Though I'm hoping if I can understand the general gist of this, I may be able to adapt it to the others.
However, any input on any of the mentioned would be highly apprechiated!
Thanks in advance.