# Help with pedicle screw planning module

**URL:** <https://discourse.slicer.org/t/help-with-pedicle-screw-planning-module/15322>\
**Category:** Development\
**Created:** [January 3, 2021, 3:41pm UTC](https://discourse.slicer.org/t/help-with-pedicle-screw-planning-module/15322 "2021-01-03T15:41:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drvarunagarwal](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/drvarunagarwal/32/8914_2.png) [@drvarunagarwal](https://discourse.slicer.org/u/drvarunagarwal)\
**Post date:** [January 3, 2021, 3:41pm UTC](https://discourse.slicer.org/t/help-with-pedicle-screw-planning-module/15322/1 "2021-01-03T15:41:29Z")

</div>

Hi,

I am trying to develop a pedicle screw planning extension based on pedicle screw simulator.

attached is a video of what we have been able to achieve.

[![](https://img.youtube.com/vi/gcJ8p43PiS8/maxresdefault.jpg "pedicle screw planning extension slicer") ](https://www.youtube.com/watch?v=gcJ8p43PiS8)

As you can see from the above we have made sliders to change orientation of screw.  
and there is a large fiducial that can be dragged out.

My queries:

1. How can we do in such a way that instead of only the fiducial the screw can be dragged from anywhere?
2. How to make the screw can rotated like in the video below. can these arrows for rotations etc be placed alongside the screw like in the video.

[![](https://img.youtube.com/vi/aJzVry0bww0/maxresdefault.jpg "ExcelsiusGPS Spine11 TLIF") ](https://www.youtube.com/watch?v=aJzVry0bww0)

[![](https://img.youtube.com/vi/skL79NupiPc/hqdefault.jpg "Understand how the Mazor X Stealth Edition ™ is transforming spinal workflow with an expert surgeon.") ](https://www.youtube.com/watch?v=skL79NupiPc)

Please guide and advise

many thanks

---

<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:** [January 3, 2021, 4:49pm UTC](https://discourse.slicer.org/t/help-with-pedicle-screw-planning-module/15322/2 "2021-01-03T16:49:18Z")

</div>

You can create a markups plane widget. Markups can be interactively moved and rotated in slice and 3D views. If you add an observer to the markups node then you can copy its position and orientation to the screw model.

---

<div class="post-metadata">

**Author:** ![Prathamesh\_Vishnudas](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/prathamesh_vishnudas/32/6139_2.png) [@Prathamesh\_Vishnudas](https://discourse.slicer.org/u/Prathamesh_Vishnudas)\
**Post date:** [September 21, 2023, 8:58pm UTC](https://discourse.slicer.org/t/help-with-pedicle-screw-planning-module/15322/3 "2023-09-21T20:58:31Z")

</div>

Hello, I am working on a similar project. Can you explain how to create a markups plane widget, add an observer to the markups node, and copy its position and orientation to the screw model?
