# How to change the curvature of the markups plane

**URL:** https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995
**Category:** Support
**Created:** [August 30, 2022, 7:52am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995 "2022-08-30T07:52:00Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![1023185654](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/1023185654/32/15829_2.png) [@1023185654](https://discourse.slicer.org/u/1023185654)
#### Post date: [August 30, 2022, 7:52am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/1 "2022-08-30T07:52:00Z")

</div>

Hello, everyone. Recently, i used markups plane, Then I found out that Plan has rotation and translate functions, but i want that plane also can change the curvature and retaining the translation and rotation functions.

---

<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 30, 2022, 8:14pm UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/2 "2022-08-30T20:14:12Z")

</div>

What do you mean you want to change the _curvature_ of a plane. Would you like to create a curved surface from a plane or just change its orientation?

---

<div class="post-metadata">

### Author: ![1023185654](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/1023185654/32/15829_2.png) [@1023185654](https://discourse.slicer.org/u/1023185654)
#### Post date: [August 31, 2022, 1:52am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/3 "2022-08-31T01:52:47Z")

</div>

I want to generate a plane that can interactively adjust the curvature in a 3D window, similar to markupsPlane’s rotation and translation function

---

<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 31, 2022, 2:18am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/4 "2022-08-31T02:18:11Z")

</div>

You cannot adjust a markup plane’s curvature. Do you mean adjusting the orientation?

---

<div class="post-metadata">

### Author: ![1023185654](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/1023185654/32/15829_2.png) [@1023185654](https://discourse.slicer.org/u/1023185654)
#### Post date: [August 31, 2022, 2:46am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/5 "2022-08-31T02:46:36Z")

</div>

I want to create a plane that can adjust the curvature, that can rotate, that can translate

---

<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 31, 2022, 2:50am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/6 "2022-08-31T02:50:39Z")

</div>

A plane has 0 curvature. You cannot adjust this curvature because then it would not be a plane anymore.

You can use the markup plane for displaying and interactively rotate and translate a plane node. It seems that you are already aware of this, so I’m not sure what do you need help with. Would you like to know how to add a new markup plane using Python scripting?

---

<div class="post-metadata">

### Author: ![1023185654](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/1023185654/32/15829_2.png) [@1023185654](https://discourse.slicer.org/u/1023185654)
#### Post date: [August 31, 2022, 3:00am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/7 "2022-08-31T03:00:20Z")

</div>

i know that, Maybe I didn’t make myself clear, Or can a curveNode be made into a rectangle shape

---

<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 31, 2022, 3:07am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/8 "2022-08-31T03:07:56Z")

</div>

If you want to fit a shape, such as a rectangle, to a point cloud then you can use an optimizer to compute the unknown parameters of the shape (for example, corners of the rectangle). See [this example](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#specify-a-sphere-by-multiple-control-points) for fitting a sphere to a point cloud using `scipy.optimize`.

---

<div class="post-metadata">

### Author: ![1023185654](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/1023185654/32/15829_2.png) [@1023185654](https://discourse.slicer.org/u/1023185654)
#### Post date: [August 31, 2022, 3:10am UTC](https://discourse.slicer.org/t/how-to-change-the-curvature-of-the-markups-plane/24995/9 "2022-08-31T03:10:29Z")

</div>

Thanks for reply, lasson 😀
