# Scripting BlendSrf

**URL:** <https://discourse.mcneel.com/t/scripting-blendsrf/24635>\
**Category:** Rhino Developer\
**Created:** [September 9, 2015, 3:42pm UTC](https://discourse.mcneel.com/t/scripting-blendsrf/24635 "2015-09-09T15:42:43Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![clement](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/clement/32/772979_2.png) [@clement](https://discourse.mcneel.com/u/clement)\
**Post date:** [March 28, 2016, 9:35pm UTC](https://discourse.mcneel.com/t/scripting-blendsrf/24635/9 "2016-03-28T21:35:13Z")

</div>

@NikWillmore,

to reverse the blend direction, you have the True/False toggles for each end.

> [@NikWillmore](#):
>
> Changing the brep edge closed curve seam point doesn’t seems to work.

You would either use `_SplitEdge` and `_MergeEdge` so the seam is close to the one of the spherical brep or alternatively untrim the patch first, change the seam point of the trim curve and re-trim. Below is one example using a patch surface similar like yours.

[RH6\_BlendSrf.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/6/0/60f8f28827f18f4688edfca90e306a854e9524ad.gh) (6.6 KB)  
[RH6\_BlendSrf.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/7/a/7ad8ee183692b0632693c5e088a5ea620b0e206d.3dm) (123.5 KB)

I guess doing the seam alignment programmatically is more challenging 🙂

- 

c.

---

_[View the full topic](https://discourse.mcneel.com/t/scripting-blendsrf/24635)._
