In the variable manager [Variable Manager], add the variables SAX, SAY (start side) and EAX, EAY (end side) for entering the mitre angle ; also SDX, SDY, EDX, EDY with status [Status] feature algorithms [Attribute algorithms] as auxiliary variables for calculating the distance plane [Distance plane] (see figure below).
The "End" connection points are created in the same way as described above.


![Variable manager [Variable Manager]](https://webapi.partcommunity.com/service/help/latest/pages/en/partsolutions_user/doc/resources/img/img_ffc02f33a0f44813b9737bcfd2b9dfdc.png)
![Feature algorithms [Attribute algorithms] dialog box](https://webapi.partcommunity.com/service/help/latest/pages/en/partsolutions_user/doc/resources/img/img_81626637dd9c43daba7c07d878552717.png)
![Fixed plane 1 - Point of impact [Base point]](https://webapi.partcommunity.com/service/help/latest/pages/en/partsolutions_user/doc/resources/img/img_8592cdf01ff94a4aa9064a2b978364f4.png)







![Extrusion body [Extrusion solid]](https://webapi.partcommunity.com/service/help/latest/pages/en/partsolutions_user/doc/resources/img/img_f322ca50b5c748e38960fd9564ed6dc3.png)

