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







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

