# 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:** 1\
**Showing post:** 2

<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")

---

_[View the full topic](https://discourse.slicer.org/t/transform-markups-to-stl/26326)._
