How to write STL from dicom slices

@lassoan how to write STL from dicom slides[ its like 1000 slides], ?
How to write STL from X Y Z coordinates , this coordinates are extracted from 1000 dicom slides,?

To get a surface mesh from images, you need to segment them. Segment Editor module in Slicer has many tools for this. See tutorials here.

STL file already contains XYZ coordinates. If you need coordinates in a different file format then you can load the STL, get point positions as a numpy array, and write to file using a short Python script.