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







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

