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







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

