slicing 3D stl file to 2D series of image
Ältere Kommentare anzeigen
Dear all,
I have a 3D model in the format of .stl and I would like to slice it in z direction into cross sections with format of image(any format), I have searched alot to use different softwares but it is not useful in my case,I appreciate any idea Regards Saréh
4 Kommentare
Maxime
am 4 Okt. 2013
Hi Sareh, I would like to know if you found a solution to your problem beacause I have the same one for my last year project. Cordially
Cedric
am 4 Okt. 2013
Maxime, you should submit a new question and refer to this former one. You could also sent an email to Sareh.
About slicing, do you need exact slice boundaries or approximations?
Karoline Neumann
am 18 Aug. 2017
I need a similar thing. Only I'm not interested in the image, but the cross section areas.
MUHAMMAD HUSNAIN
am 29 Mär. 2024
Hello,
I also have similar problem as Sareh(@sareh), I want to print slices of a 3D model in inkjet printer but to print that I need that sliced files in any Image format (e.g PNG, GPEG etc). Is there any software or any procedure that I can use to get this. Any help pls.
Regards Husnain
Antworten (5)
Dang Le Van
am 6 Jul. 2016
0 Stimmen
You can use SLICE command in Netfabb software!
Sleh Eddine Brika
am 1 Nov. 2016
0 Stimmen
Sailesh Sidhwani
am 19 Okt. 2019
Bearbeitet: Sailesh Sidhwani
am 19 Okt. 2019
0 Stimmen
Check out these new viewers that are added to Image Processing Toolbox in R2019b:
Qinkai Yang
am 8 Okt. 2022
0 Stimmen
you may need to look at plane-line intersection algorism. The inersection points between each triangle's edge and a slice plane are the data point of your sliced corss-section. Changing the Z-cordinate of your slice plane, repeat the intersection, you would then get a series of slices (2D series of image)
DGM
am 9 Apr. 2025
0 Stimmen
If the goal is to produce raster images as output, and your slices are uniformly-distributed, then I suppose that one way would be to convert the model to a volumetric binary image. At that point, you can extract any 2D slice out of the array that you want.
Otherwise, you could find the slice geometry as a 2D polyshape, and then somehow convert that to a 2D binary image (e.g. using poly2mask() or something.
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!