# How to elicit a ray and tangent to the ROI region (use a python script if possible)

**URL:** <https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954>\
**Category:** Development\
**Created:** [October 31, 2024, 11:33am UTC](https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954 "2024-10-31T11:33:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hewanglan](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@hewanglan](https://discourse.slicer.org/u/hewanglan)\
**Post date:** [October 31, 2024, 11:33am UTC](https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954/1 "2024-10-31T11:33:56Z")

</div>

Operating system:windows 64 bit  
Slicer version:5.7.0  
Expected behavior:  
Actual behavior:

---

<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:** [October 31, 2024, 11:34am UTC](https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954/2 "2024-10-31T11:34:54Z")

</div>

Could you please provide a bit more details and perhaps a picture illustrating what you would like to achieve?

---

<div class="post-metadata">

**Author:** ![hewanglan](https://avatars.discourse-cdn.com/v4/letter/h/f05b48/32.png) [@hewanglan](https://discourse.slicer.org/u/hewanglan)\
**Post date:** [October 31, 2024, 11:55am UTC](https://discourse.slicer.org/t/how-to-elicit-a-ray-and-tangent-to-the-roi-region-use-a-python-script-if-possible/39954/3 "2024-10-31T11:55:51Z")

</div>

![3d slicer](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/7/572e6521c7ba7d8d1cf5eef5e86b6b7a84a55a90.png)  
Maybe like this,but please note that the point might not be on the same plane as this graph，and the graph may even be a 3D graph.How can I achieve it?
