# Centerline tangentiel reinforcement

**URL:** <https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066>\
**Category:** Revit\
**Created:** [October 14, 2022, 2:03pm UTC](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066 "2022-10-14T14:03:53Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![REDO10](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@REDO10](https://forum.dynamobim.com/u/REDO10)\
**Post date:** [November 1, 2022, 4:08pm UTC](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066/21 "2022-11-01T16:08:39Z")

</div>

Thank you @c.poupin for doing most of the job for me

> [@c.poupin](#):
>
> I would have preferred that you try something

I would have preferred too but I’m a new Dynamo user and I never worked with python and at the same time I would appriciate it if you gave me some links or examples where I can learn to use it.

I tried your script…it working perfectly but there is a mistake in position of the first rebar at right side (cover at right side=0 and should be =0.108m as in the left side).

 ![cover](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/7/57131629d3cfbdd82b30d279b62b78c9f817a6b0.png)

I’ll ask you for one more thing…I want to enter the correct overlap length which is equal to lr= 50 \* d (d is the barre diameter)

 ![overlap](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/8/9890fcbce47ede93b8b11a4df2f365b11cd2c33b.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![REDO10](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@REDO10](https://forum.dynamobim.com/u/REDO10)\
**Post date:** [November 1, 2022, 6:02pm UTC](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066/22 "2022-11-01T18:02:00Z")

</div>

@c.poupin

I discovered the error for the cover and I solved it (you have put for spacing : **lstOffset = [0] + IN[1]** and it should equal to: **lstOffset = IN[1]**

Please help me to enter my correct overlap length as I indicate above.

Thanks.

---

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [November 2, 2022, 11:29am UTC](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066/23 "2022-11-02T11:29:07Z")

</div>

> [@REDO10](#):
>
> for doing most of the job for me

Please read the forum rules ([How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)) and the community guidelines ([https://forum.dynamobim.com/faq](https://forum.dynamobim.com/faq))

> [@REDO10](#):
>
> I’ll ask you for one more thing…I want to enter the correct overlap length which is equal to lr= 50 \* d (d is the barre diameter)

you can try to replace the value **1** (in red below) with your calculated value.  
_you will need to add an input to the python script_

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/9/8914f3ea27cd11bd90ba749471e076ec7a974164.png)

---

<div class="post-metadata">

**Author:** ![REDO10](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@REDO10](https://forum.dynamobim.com/u/REDO10)\
**Post date:** [November 2, 2022, 12:18pm UTC](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066/24 "2022-11-02T12:18:39Z")

</div>

@c.poupin

> [@c.poupin](#):
>
> you can try to replace the value **0.02** (in red below) with your calculated value.  
> _you will need to add an input to the python script_

precisely I’ve change this value to 0 because there was an offset in the vertical direction between the curves then between my rebars (I think there is an error in vector direction)

Thanks for your guideline how to enter the calculated overlap length in the python script (just for correction the calculated value should be entered in **margin-overlap= IN[3]**)

Thanks.

---

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [November 2, 2022, 2:46pm UTC](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066/25 "2022-11-02T14:46:19Z")

</div>

In a rush I made the wrong line, see my previous post modified

> [@Centerline tangentiel reinforcement](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066/23):
>
> Please read the forum rules ([How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677)) and the community guidelines ([https://forum.dynamobim.com/faq](https://forum.dynamobim.com/faq)) you can try to replace the value 1 (in red below) with your calculated value. you will need to add an input to the python script [image]

[Previous page](https://forum.dynamobim.com/t/centerline-tangentiel-reinforcement/82066.md?page=1)
