Make an offset on a stl file like with the multicuboid function
Hello eveyrone,
I have this stl file below and I would like to do a layer of a different material as with the offset of the multicuboid function.
I don’t know if it is possible to do it with an stl file.
I also made a canteliver with the multicuboid function with a layer on top of a different material but I don’t succeed to make "holes" to reproduce this structure. I tried with the addVoid function but it doesn’t work.
Here is the beginning of the code with the multicuboid function :
clc
clear vars
close all
% Create a PDE model for a modal analysis
modelModal_TP2 = createpde("structural","modal-solid");
% Dimensions of the canteliver
L = 75e-6;
l = 9e-6;
h = 1.2e-6;
% Geometry of the canteliver
gm1 = multicuboid(L,l,h);
% Geometry to do the hole in the first geometry
gm2 = multicuboid(45e-6,3e-6,h);
translate(gm2,[-15e-6 0 0]);
% g3 = addVoid(gm,gm1);
figure;
pdegplot(gm1)
hold on
pdegplot(gm2)
% figure;
% pdegplot(g3,"FaceLabels","on")
Thank you in advanceHello eveyrone,
I have this stl file below and I would like to do a layer of a different material as with the offset of the multicuboid function.
I don’t know if it is possible to do it with an stl file.
I also made a canteliver with the multicuboid function with a layer on top of a different material but I don’t succeed to make "holes" to reproduce this structure. I tried with the addVoid function but it doesn’t work.
Here is the beginning of the code with the multicuboid function :
clc
clear vars
close all
% Create a PDE model for a modal analysis
modelModal_TP2 = createpde("structural","modal-solid");
% Dimensions of the canteliver
L = 75e-6;
l = 9e-6;
h = 1.2e-6;
% Geometry of the canteliver
gm1 = multicuboid(L,l,h);
% Geometry to do the hole in the first geometry
gm2 = multicuboid(45e-6,3e-6,h);
translate(gm2,[-15e-6 0 0]);
% g3 = addVoid(gm,gm1);
figure;
pdegplot(gm1)
hold on
pdegplot(gm2)
% figure;
% pdegplot(g3,"FaceLabels","on")
Thank you in advance Hello eveyrone,
I have this stl file below and I would like to do a layer of a different material as with the offset of the multicuboid function.
I don’t know if it is possible to do it with an stl file.
I also made a canteliver with the multicuboid function with a layer on top of a different material but I don’t succeed to make "holes" to reproduce this structure. I tried with the addVoid function but it doesn’t work.
Here is the beginning of the code with the multicuboid function :
clc
clear vars
close all
% Create a PDE model for a modal analysis
modelModal_TP2 = createpde("structural","modal-solid");
% Dimensions of the canteliver
L = 75e-6;
l = 9e-6;
h = 1.2e-6;
% Geometry of the canteliver
gm1 = multicuboid(L,l,h);
% Geometry to do the hole in the first geometry
gm2 = multicuboid(45e-6,3e-6,h);
translate(gm2,[-15e-6 0 0]);
% g3 = addVoid(gm,gm1);
figure;
pdegplot(gm1)
hold on
pdegplot(gm2)
% figure;
% pdegplot(g3,"FaceLabels","on")
Thank you in advance pde toolboox, pde, toolbox, geometry, holes, void MATLAB Answers — New Questions