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/cn/partwarehouse/doc/resources/img/img_477f50b3bc5a44f097670469b79f5526.png)
![Feature algorithms [Attribute algorithms] dialog box](https://webapi.partcommunity.com/service/help/latest/pages/cn/partwarehouse/doc/resources/img/img_73c42c8cc7dc40c28752c03084429be2.png)
![Fixed plane 1 - Point of impact [Base point]](https://webapi.partcommunity.com/service/help/latest/pages/cn/partwarehouse/doc/resources/img/img_e802e82109a14528aee497db10113bfb.png)







![Extrusion body [Extrusion solid]](https://webapi.partcommunity.com/service/help/latest/pages/cn/partwarehouse/doc/resources/img/img_c6c10a8a5e774be3a50dbde260f3d6ef.png)

