# How to change the degree of the curve in rhino python

**URL:** <https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355>\
**Category:** Scripting\
**Created:** [December 5, 2013, 12:17am UTC](https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355 "2013-12-05T00:17:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liu\_Xiang](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/liu_xiang/32/607190_2.png) [@Liu\_Xiang](https://discourse.mcneel.com/u/Liu_Xiang)\
**Post date:** [December 5, 2013, 12:17am UTC](https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355/1 "2013-12-05T00:17:24Z")

</div>

I trying to use. But when I change the degree to 30 or 40. the curve did’t change.  
rs.AddCurve( ( Pt1,Pt2,Pt3 ), degree)  
Any idea how to change the degree of the curve in Rhino Python

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [December 5, 2013, 12:26am UTC](https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355/2 "2013-12-05T00:26:16Z")

</div>

Hi Liu-Xiang- I think the maximum degree that Rhino allows is 11. What is it you are trying to accomplish with setting the degree?

-Pascal

---

<div class="post-metadata">

**Author:** ![Liu\_Xiang](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/liu_xiang/32/607190_2.png) [@Liu\_Xiang](https://discourse.mcneel.com/u/Liu_Xiang)\
**Post date:** [December 5, 2013, 12:33am UTC](https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355/3 "2013-12-05T00:33:51Z")

</div>

HI Pascal,  
If I change degree to 4 or 5. They still don’t change

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [December 5, 2013, 12:49am UTC](https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355/4 "2013-12-05T00:49:28Z")

</div>

Hi Liu-Xiang - Keep in mind that the maximum degree of any curve, apart from the degree 11 limit, for a given set of control points is number of points-1.

-Pascal

---

<div class="post-metadata">

**Author:** ![Liu\_Xiang](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/liu_xiang/32/607190_2.png) [@Liu\_Xiang](https://discourse.mcneel.com/u/Liu_Xiang)\
**Post date:** [December 5, 2013, 12:55am UTC](https://discourse.mcneel.com/t/how-to-change-the-degree-of-the-curve-in-rhino-python/4355/5 "2013-12-05T00:55:36Z")

</div>

I c, now I understand why.  
Thanks
