# How to install pedicle screws simulator extension?

**URL:** https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073
**Category:** Support
**Tags:** extensions-manager
**Created:** [September 18, 2017, 1:08am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073 "2017-09-18T01:08:42Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 18, 2017, 1:08am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/1 "2017-09-18T01:08:42Z")

</div>

Operating system:mac  
Slicer version:4.7  
Expected behavior: a new downloaded extension for pedicle screws simulator ,I saw the video about that on youtube, and expected it work in 3d slicer.  
Actual behavior:i found the extension in GitHub,and download the zip file directly.but it can’t be loaded into 3d slicer as an extension,the tip is as the follow:No extension description found in archive ‘/Users/gujiyong/Desktop/PedicleScrewSimulator-master.zip’.what is wrong with that and what should I do ?appreciate for your help! thank you!

---

<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: [September 18, 2017, 1:24am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/2 "2017-09-18T01:24:02Z")

</div>

I’ve invited [Stewart McLachlin](https://uwaterloo.ca/mechanical-mechatronics-engineering/about/people/s2mclach), the author of the [pedicle screw simulator module](https://github.com/smclach/PedicleScrewSimulator), to answer this question here. I hope we’ll hear from him soon.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 18, 2017, 3:37am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/3 "2017-09-18T03:37:16Z")

</div>

It’s very kind of you to reply so soon,thank you professor lassoan.  
and the video link is : [https://youtu.be/XN3Tp8jaYdQ](https://youtu.be/XN3Tp8jaYdQ)  
It is amazing,isn’t it?

---

<div class="post-metadata">

### Author: ![smclachlin](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@smclachlin](https://discourse.slicer.org/u/smclachlin)
#### Post date: [September 18, 2017, 1:38pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/4 "2017-09-18T13:38:01Z")

</div>

Thanks for your interest in this project. We are currently working towards getting this project ready for the Extension Manager and should have something available for you to use soon. There have been many improvements since the video of the Slicer 4.2 version was posted on youtube in 2014. This is the main reason why the module no longer works since there have been a number of big changes (vtk, markups, etc.) since 4.2 was released.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 18, 2017, 2:11pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/5 "2017-09-18T14:11:01Z")

</div>

oh, that is it. thanks for your reply,professor smclashlin,and I am looking forward your new project because that is very very amazing and wonderful!

---

<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: [September 18, 2017, 7:34pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/6 "2017-09-18T19:34:11Z")

</div>

I’ve fixed trivial issues in my fork and converted the module to a full extension that works with latest version of Slicer.

If you merge [this pull request] ([https://github.com/smclach/PedicleScrewSimulator/pull/4](https://github.com/smclach/PedicleScrewSimulator/pull/4)) and update the icon and description of the extension then I can submit it to the extension manager.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 19, 2017, 12:43am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/7 "2017-09-19T00:43:32Z")

</div>

thank you for your help. however I download your fixed extension,but the problem is not solved.maybe my work step is not right, can you help me with that? I downloaded your zip file in GitHub,and open 3d slicer—extension manager–install extension from file–the downloaded zip file, but the same problem appeared:No extension description found in archive ‘/Users/gujiyong/Desktop/PedicleScrewSimulator-master.zip.shall I downloaded other extension first?thank you!

---

<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: [September 19, 2017, 12:58am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/8 "2017-09-19T00:58:22Z")

</div>

Extension package is not generated yet - it needs merging of pull request and improving icon and documentation. It is not a lot of work, so I hope it’ll be done soon.

In the meantime, if you want a preview of how the extension will work then you can download all the files (clone the repository; or download as a zip and unzip to a local folder) and in `Application settings` / `Modules` add the directory that contains [PedicleScrewSimulator.py](http://PedicleScrewSimulator.py) to `Additional module paths`.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 19, 2017, 5:08am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/9 "2017-09-19T05:08:01Z")

</div>

got it, i will try to do it.thank you.best wish to you,i hope the extension will be done and used soon.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 23, 2017, 5:25am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/10 "2017-09-23T05:25:13Z")

</div>

hello professor smclachlin, i saw the files about this extension have been updated in GitHub，does it mean that I can use it in 3d-slicer? thank you

---

<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: [September 23, 2017, 6:59pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/11 "2017-09-23T18:59:24Z")

</div>

It’ll be improved but you can use it already. For now you have to download and add the extension to the module paths as described above.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 24, 2017, 3:25am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/12 "2017-09-24T03:25:48Z")

</div>

yeah,it works! it is incredible to me! thank you both!  
however, what should I do if I need some other screws with different scales? for example screws with length 30mm.35mm.40mm.45mm,and width 50mm,55mm,60mm,65mm,70mm,75mm.  
further more,i appreciate if add some size of screws for cervical vertebra.thank you very much!

---

<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: [September 24, 2017, 4:33am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/13 "2017-09-24T04:33:27Z")

</div>

You have the full source code of the module. Feel free to edit it and add the models you need. If you make any improvements to the module, please consider contributing back those by sending pull requests.

---

<div class="post-metadata">

### Author: ![kevincool98](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kevincool98](https://discourse.slicer.org/u/kevincool98)
#### Post date: [September 24, 2017, 6:22am UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/14 "2017-09-24T06:22:21Z")

</div>

ok, i see,thank you again.😁😀

---

<div class="post-metadata">

### Author: ![ezproxy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ezproxy/32/2033_2.png) [@ezproxy](https://discourse.slicer.org/u/ezproxy)
#### Post date: [August 12, 2018, 5:43pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/15 "2018-08-12T17:43:06Z")

</div>

It is very good for us.

Thanks,everyone. ![PedicleScrewSimulator](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/6/96f7847b118fb041268418a884113d8fe1200bf7.gif)

---

<div class="post-metadata">

### Author: ![Saha\_Saha](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Saha\_Saha](https://discourse.slicer.org/u/Saha_Saha)
#### Post date: [August 14, 2018, 5:14pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/16 "2018-08-14T17:14:30Z")

</div>

Could someone tell me what this module is not working properly in my PC? When I try to load screw it is giving me the error message attached below. I can’t load screw. What Shoul I do?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/b/9b8edb2bf723dc6d987344446abe39ddb16ecb63.png)

---

<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: [August 14, 2018, 10:54pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/17 "2018-08-14T22:54:36Z")

</div>

I’ve fixed the issue, see the updated extension here: [https://github.com/lassoan/PedicleScrewSimulator](https://github.com/lassoan/PedicleScrewSimulator)

I’ve also submitted it to the extension manager, so it may be available in the extension manager from tomorrow.

---

<div class="post-metadata">

### Author: ![Saha\_Saha](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Saha\_Saha](https://discourse.slicer.org/u/Saha_Saha)
#### Post date: [August 15, 2018, 3:25pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/18 "2018-08-15T15:25:06Z")

</div>

Thank you very much.

I am still getting error to load sample CT. Inaddition, it is loading screw in opposite direction (from anterior to the direction of posterior). Please find attached picture for your consideration.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/8/e8a876179439a83a48554a73f3b37092b5e7869d.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/4/e4b4af1e6db0a9caffe8f2113c9efd009facfc96.png)

---

<div class="post-metadata">

### Author: ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)
#### Post date: [August 15, 2018, 5:57pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/19 "2018-08-15T17:57:42Z")

</div>

> [@Saha\_Saha](#):
>
> I still getting error to load sample CT.

It could be the download was incomplete or corrupted - try deleting the file (path is in the python output) and trying again.

---

<div class="post-metadata">

### Author: ![JoeCrozier](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@JoeCrozier](https://discourse.slicer.org/u/JoeCrozier)
#### Post date: [August 17, 2018, 3:47pm UTC](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073/20 "2018-08-17T15:47:30Z")

</div>

I know you just said this two days ago, but I’m eager to install this and I can’t find it in the extension manager yet. I also tried downloading it from the git, then going to application settings-\>modules-\>add module path to do it that way but Slicer just won’t seem to recognize that there is anything there. Any idea what I might be doing wrong?

Running slicer 4.9.0

[Next page](https://discourse.slicer.org/t/how-to-install-pedicle-screws-simulator-extension/1073.md?page=2)
