# Polycurve/nurbscurve offset

**URL:** <https://forum.dynamobim.com/t/polycurve-nurbscurve-offset/3600>\
**Category:** Packages\
**Created:** [April 1, 2016, 5:35am UTC](https://forum.dynamobim.com/t/polycurve-nurbscurve-offset/3600 "2016-04-01T05:35:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [April 1, 2016, 5:35am UTC](https://forum.dynamobim.com/t/polycurve-nurbscurve-offset/3600/1 "2016-04-01T05:35:08Z")

</div>

Hi all,

I know this has been discussed before. But I’ve been through some of the other threads and I’m still struggling to achieve what I want.

I just want to offset a curve by a global X,Y or Z. I managed to do it by excel link (See below) but it’s a bit long winded. Plus if I need to do this a couple of times the script becomes huge.

Thanks in advance.

&nbsp;

[ 

![offset](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/7/7a8528798ea24d5e9f1457301ea7dd992652b83d.png)

 ](http://dynamobim.org/wp-content/uploads/forum-assets/j_washbournehotmail-com/04/01/offset.png)

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [April 1, 2016, 6:48am UTC](https://forum.dynamobim.com/t/polycurve-nurbscurve-offset/3600/2 "2016-04-01T06:48:57Z")

</div>

Hi James,

&nbsp;

Maybe i don’t get your problem but it seems to me that you just need to translate your geometries. Maybe the following node can do what you want :

![translate](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/8/871eaca317dd6b3ccc81c16a591ecae7ef1018b6.png)

&nbsp;

---

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [April 4, 2016, 7:33am UTC](https://forum.dynamobim.com/t/polycurve-nurbscurve-offset/3600/3 "2016-04-04T07:33:52Z")

</div>

Hi Mostafa,

This is very useful, I can lsee myself using this in the future. But the problem with this is, its offsets the line based on the plane of line itself not base level if you not what I mean. Maybe if I want a co-ordinates X,Y say to have different z at that given point maybe I should look in to math sides of things. For example. say I had point (5,5,5) and wanted the another point to have the same x and Y but different Z say in crease by 10 (5,5,15) would there be a quick way doing this Math type node?

Thanks in adavnce

Regards

---

<div class="post-metadata">

**Author:** ![James\_Washbourne](https://avatars.discourse-cdn.com/v4/letter/j/e19adc/32.png) [@James\_Washbourne](https://forum.dynamobim.com/u/James_Washbourne)\
**Post date:** [April 4, 2016, 7:45am UTC](https://forum.dynamobim.com/t/polycurve-nurbscurve-offset/3600/4 "2016-04-04T07:45:34Z")

</div>

Hi Mostafa,

I’ve managed to do the Z offset with a simple adding calc in the codeblock :). Sorry for asking a very simple question.

Sorted now thank you for your help. I think ill definitely be using that translate for other parts of this experiment.

Cheers
