# The coordinates of points in stl model after voxelization

**URL:** <https://discourse.slicer.org/t/the-coordinates-of-points-in-stl-model-after-voxelization/17515>\
**Category:** Support\
**Created:** [May 8, 2021, 2:58am UTC](https://discourse.slicer.org/t/the-coordinates-of-points-in-stl-model-after-voxelization/17515 "2021-05-08T02:58:29Z")\
**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:** [May 13, 2021, 5:02am UTC](https://discourse.slicer.org/t/the-coordinates-of-points-in-stl-model-after-voxelization/17515/2 "2021-05-13T05:02:13Z")

</div>

You can use IntersectWithLine function in VTK - see this [post](https://discourse.slicer.org/t/intersection-between-markups-closed-curve-node-on-the-plane-and-a-line/11281/5). There are many examples in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html) to show how you can set up a locator.

You can do much more sophisticated analysis of the pedicle screw trajectory, for example analyze bone density traversed by the screw (not just a line but an actual screw shape), as it is done in [Pedicle screw simulator extension](https://github.com/lassoan/PedicleScrewSimulator).

---

_[View the full topic](https://discourse.slicer.org/t/the-coordinates-of-points-in-stl-model-after-voxelization/17515)._
