# Transform markups to STL

**URL:** <https://discourse.slicer.org/t/transform-markups-to-stl/26326>\
**Category:** Support\
**Created:** [November 19, 2022, 8:08pm UTC](https://discourse.slicer.org/t/transform-markups-to-stl/26326 "2022-11-19T20:08:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santiodon](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@Santiodon](https://discourse.slicer.org/u/Santiodon)\
**Post date:** [November 19, 2022, 8:08pm UTC](https://discourse.slicer.org/t/transform-markups-to-stl/26326/1 "2022-11-19T20:08:27Z")

</div>

Hello!! Does anyone know how to transform the fiducial mark ups into .STL files to be exported??

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [December 1, 2022, 6:59am UTC](https://discourse.slicer.org/t/transform-markups-to-stl/26326/2 "2022-12-01T06:59:41Z")

</div>

Is this what you need?

> [@Exporting a model to STL with markups](https://discourse.slicer.org/t/importing-a-model-to-stl-with-markups/26502/3):
>
> Alternatively, you can use a glyph filter like this: markup = getNode('F') glyph = vtk.vtkSphereSource() glyph.SetRadius(15.0) glypher = vtk.vtkGlyph3D() glypher.SetSourceConnection(glyph.GetOutputPort()) glypher.SetInputConnection(markup.GetCurveWorldConnection()) model = slicer.modules.models.logic().AddModel(glypher.GetOutputPort()) slicer.util.saveNode(model, "c:/tmp/something.stl")
