Write a script matlab
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I should write a script based on what I will say below
I have to print an object in 3d and first of all I have to do this in matlab:
for a number n of layers that are going to be deposited I have to identify the maximum and minimum coordinates in each direction.
(Xmax, Xmin, Ymax, Ymin, Zmax, Zmin)
At this point I am going to define the Yimg in this way
Yimg = Ymin: Dist: Ymax (dist is a value that I set)
then I set the field of view (FOV) equal to 20 and if Xmax - Xmin is greater than 20, I go to have
Cycles = (Xmax-Xmin) / FOV
So I have that Ximg
Ximg = (Xmax-Xmin) / (2 * Cycles)
and Zimg is the Z defined by the layer plus the Z offset, which is a value imposed by me
Zimg = Zlayer + Zoffset
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!