# Offset curve to get a new surface

**URL:** <https://forum.dynamobim.com/t/offset-curve-to-get-a-new-surface/81077>\
**Category:** Geometry\
**Created:** [September 15, 2022, 4:01pm UTC](https://forum.dynamobim.com/t/offset-curve-to-get-a-new-surface/81077 "2022-09-15T16:01:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [September 15, 2022, 4:14pm UTC](https://forum.dynamobim.com/t/offset-curve-to-get-a-new-surface/81077/2 "2022-09-15T16:14:14Z")

</div>

hello  
look here answer by M. Vikram

> [@Variable offset](https://forum.dynamobim.com/t/variable-offset/78320/5):
>
> As a design script function. def unEqOffset (pgn,dst:var[]..[]) { crv = List.ShiftIndices(pgn.Explode().Offset(dst),[1,0]); cr1 = crv[0].ExtendEnd(crv[0].Length\*10); cr2 = crv[1].ExtendStart(crv[1].Length\*10); pnt = List.Flatten(cr1.Intersect(cr2),-1); return Polygon.ByPoints(pnt); }; [UnequalOffset.dyn](https://forum.dynamobim.com/uploads/short-url/9CvtypvbeEmav6NMuadChHhy7YJ.dyn) (8.9 KB)

cordially  
christian.stan

---

_[View the full topic](https://forum.dynamobim.com/t/offset-curve-to-get-a-new-surface/81077)._
