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







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

