Write a script matlab
8 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!